Skip to content

Commit fd229a8

Browse files
author
Vivek Vishal
authored
styles for feature partial
Signed-off-by: GitHub <[email protected]>
1 parent de83668 commit fd229a8

File tree

1 file changed

+81
-60
lines changed

1 file changed

+81
-60
lines changed

assets/scss/_styles_project.scss

Lines changed: 81 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,10 @@
3737
.nav-link.active {
3838
border-width: 1px;
3939
border-style: solid;
40-
border-image: linear-gradient(
41-
to bottom,
40+
border-image: linear-gradient(to bottom,
4241
rgba($dark, 0.2) 30%,
4342
rgba($primary, 0.3) 60%,
44-
$primary 90% 100%
45-
)
46-
1;
43+
$primary 90% 100%) 1;
4744
padding-bottom: 0.3rem;
4845
align-items: center;
4946
justify-content: center;
@@ -83,7 +80,7 @@ body {
8380

8481
// Inline code
8582
p code,
86-
li > code,
83+
li>code,
8784
table code {
8885
color: inherit;
8986
padding: 0.2em 0.4em;
@@ -104,7 +101,7 @@ body {
104101
background-color: $gray-900;
105102
padding: $spacer;
106103

107-
> code {
104+
>code {
108105
background-color: inherit !important;
109106
padding: 0;
110107
margin: 0;
@@ -205,14 +202,12 @@ a:not([href]):not([class]):hover {
205202
}
206203

207204
.td-sidebar {
208-
background-image: linear-gradient(
209-
to top,
210-
#1e2117,
211-
#1d1912,
212-
#18120e,
213-
#0f0a09,
214-
#000000
215-
);
205+
background-image: linear-gradient(to top,
206+
#1e2117,
207+
#1d1912,
208+
#18120e,
209+
#0f0a09,
210+
#000000);
216211
position: sticky;
217212
height: calc(100vh - 5.5rem);
218213
top: 5.5rem;
@@ -282,20 +277,14 @@ a:not([href]):not([class]):hover {
282277
&.active:not(.tree-root) {
283278
border-width: 1px;
284279
border-style: solid;
285-
border-image: linear-gradient(
286-
to left,
280+
border-image: linear-gradient(to left,
287281
rgba($dark, 0) 30%,
288282
rgba($primary, 0.3) 60%,
289-
$primary 90% 100%
290-
)
291-
1;
292-
background-image: linear-gradient(
293-
to left,
283+
$primary 90% 100%) 1;
284+
background-image: linear-gradient(to left,
294285
rgba($dark, 0.2) 30%,
295286
rgba($primary, 0.3) 60%,
296-
$primary 90% 100%
297-
)
298-
1;
287+
$primary 90% 100%) 1;
299288
padding: 0.25rem;
300289
padding-left: 0.5rem !important;
301290
// background-image: linear-gradient(to left, rgba($dark,.33),rgba($dark,.5),rgba($dark,.75),#1e2117, #31412b, #3b6447, #378b6d, #00b39f);
@@ -317,14 +306,12 @@ a:not([href]):not([class]):hover {
317306
.td-sidebar-toc {
318307
line-height: 1.25rem;
319308
border-left: 1px solid $border-color;
320-
background-image: linear-gradient(
321-
to top,
322-
#1e2117,
323-
#1d1912,
324-
#18120e,
325-
#0f0a09,
326-
#000000
327-
);
309+
background-image: linear-gradient(to top,
310+
#1e2117,
311+
#1d1912,
312+
#18120e,
313+
#0f0a09,
314+
#000000);
328315

329316
@supports (position: sticky) {
330317
position: sticky;
@@ -381,6 +368,50 @@ a:not([href]):not([class]):hover {
381368
border-color: #00b39f;
382369
}
383370

371+
// front-matter
372+
.matterinfo {
373+
font-weight: $font-weight-medium;
374+
background: $black;
375+
font-family: "Open Sans";
376+
border-style: solid;
377+
margin: 2rem auto;
378+
padding: 1rem;
379+
border-color: #00b39f;
380+
border-radius: 10px;
381+
}
382+
383+
.heading {
384+
font-size: 1.2rem;
385+
color: #00b39f;
386+
}
387+
388+
.matterheader {
389+
font-size: 1.2rem;
390+
color: #00b39f;
391+
}
392+
393+
.matterinfo .plan-support {
394+
display: flex;
395+
align-items: center;
396+
}
397+
398+
.matterinfo .plan-support .support-icon {
399+
width: 20px;
400+
height: 20px;
401+
margin-right: 10px;
402+
}
403+
404+
.plan-icon {
405+
display: inline-block;
406+
}
407+
408+
.tier {
409+
color: #00b39f;
410+
font-weight: bold;
411+
padding: 0 5px;
412+
}
413+
414+
384415
// Style alert boxes.
385416

386417
.alert {
@@ -407,12 +438,12 @@ a:not([href]):not([class]):hover {
407438
transition: color 0.8s;
408439
transition: background-color 0.8s;
409440

410-
> img {
441+
>img {
411442
width: 2rem;
412443
margin-right: 0.5rem;
413444
}
414445

415-
> img:hover {
446+
>img:hover {
416447
filter: brightness(0) invert(1);
417448
}
418449

@@ -426,21 +457,15 @@ a:not([href]):not([class]):hover {
426457
margin-bottom: 4rem;
427458
font-size: 5rem;
428459
text-align: left;
429-
background: linear-gradient(
430-
217deg,
460+
background: linear-gradient(217deg,
431461
rgba(249, 245, 13, 0.26),
432-
rgba(223, 255, 219, 0.57) 9.03%
433-
),
434-
linear-gradient(
435-
127deg,
462+
rgba(223, 255, 219, 0.57) 9.03%),
463+
linear-gradient(127deg,
436464
rgba(249, 245, 13, 0.7),
437-
rgba(223, 225, 199, 0.1) 41.12%
438-
),
439-
linear-gradient(
440-
336deg,
465+
rgba(223, 225, 199, 0.1) 41.12%),
466+
linear-gradient(336deg,
441467
rgba(249, 245, 13, 0.1),
442-
rgba(239, 239, 251, 0.81) 0%
443-
);
468+
rgba(239, 239, 251, 0.81) 0%);
444469
background-position:
445470
0% 0%,
446471
0% 0%;
@@ -465,11 +490,9 @@ a:not([href]):not([class]):hover {
465490
transform: rotate(-55.68deg);
466491
flex-shrink: 0;
467492
overflow: hidden;
468-
background-image: linear-gradient(
469-
180deg,
470-
rgba(0, 179, 115, 0) 0%,
471-
rgba(0, 179, 159, 0.3) 100%
472-
);
493+
background-image: linear-gradient(180deg,
494+
rgba(0, 179, 115, 0) 0%,
495+
rgba(0, 179, 159, 0.3) 100%);
473496
position: absolute;
474497
top: -18rem;
475498
right: -32rem;
@@ -498,15 +521,13 @@ a:not([href]):not([class]):hover {
498521
left: -24rem;
499522
overflow: hidden;
500523

501-
> .dash-ircle {
524+
>.dash-ircle {
502525
width: 74.125rem;
503526
height: 74.125rem;
504527
flex-shrink: 0;
505-
background: radial-gradient(
506-
50% 50% at 50% 50%,
507-
rgba(0, 179, 159, 0.2) 0%,
508-
rgba(0, 179, 159, 0) 100%
509-
);
528+
background: radial-gradient(50% 50% at 50% 50%,
529+
rgba(0, 179, 159, 0.2) 0%,
530+
rgba(0, 179, 159, 0) 100%);
510531
position: absolute;
511532
overflow: hidden;
512533
background-clip: border-box;
@@ -643,7 +664,7 @@ a:not([href]):not([class]):hover {
643664
gap: 3rem;
644665
}
645666

646-
.tab-content > .active {
667+
.tab-content>.active {
647668
display: flex;
648669
}
649670

@@ -653,4 +674,4 @@ a:not([href]):not([class]):hover {
653674

654675
.csvtable {
655676
width: 100%;
656-
}
677+
}

0 commit comments

Comments
 (0)