Skip to content

Commit a664d91

Browse files
committed
DOCS-3713: Update CSS
1 parent f2f4ca9 commit a664d91

File tree

1 file changed

+72
-59
lines changed

1 file changed

+72
-59
lines changed

assets/scss/_styles_project.scss

+72-59
Original file line numberDiff line numberDiff line change
@@ -387,6 +387,7 @@ END MARKETING CSS
387387
border: 1px solid black;
388388
margin-right: 5px;
389389
padding: 1rem 1.25rem;
390+
border-radius: 4px;
390391

391392
@each $color, $value in $theme-colors {
392393
&-#{$color} {
@@ -413,7 +414,6 @@ END MARKETING CSS
413414
.alert-heading { // left margin for h4 in alerts
414415
margin-left: 0;
415416
letter-spacing: 0.0625em;
416-
text-transform: uppercase;
417417
}
418418
.alert-heading::after { // blocks display h4 rules in alerts
419419
content:' ';
@@ -459,22 +459,18 @@ END MARKETING CSS
459459

460460
.alert.alert-warning {
461461
border-color: red;
462-
border-left: 3px solid red;
463462
background-color: rgb(249, 237, 234);
464463
}
465-
.alert.alert-note {
466-
border-color: blue;
467-
border-left: 3px solid blue;
468-
background-color: rgb(229, 242, 254);
464+
.alert.alert-note, .alert.alert-info {
465+
border-color: #E4E4E6;
466+
background-color: #FBFBFC;
469467
}
470468
.alert.alert-caution {
471469
border-color: #f0b93f;
472-
border-left: 3px solid #f0b93f;
473470
background-color: rgb(252, 244, 225);
474471
}
475-
.alert.alert-tip, .alert.alert-info {
476-
border-color: #1be020;
477-
border-left: 3px solid #1be020;
472+
.alert.alert-tip {
473+
border-color: #E4E4E6;
478474
background-color: rgb(229, 249, 228);
479475
}
480476

@@ -489,8 +485,11 @@ END MARKETING CSS
489485
/* START CSS FOR EXPANDER */
490486

491487
.expand-label {
492-
background-color: whitesmoke;
493-
border: #d9d9d9 solid 1px;
488+
background-color: #F7F7F8;
489+
color: #4E4F52;
490+
font-weight: 300;
491+
border: 1px solid #E4E4E6;
492+
border-radius: 4px;
494493
padding: 0.5rem 1rem 0.5rem 1rem;
495494
i {
496495
font-size: inherit !important;
@@ -503,13 +502,15 @@ END MARKETING CSS
503502
display: inline;
504503
font-family: Public Sans,system-ui;
505504
font-size: 0.938rem !important;
505+
font-weight: 300;
506506
}
507507

508508
.expand-content {
509509
border-top: #d9d9d9 solid 0px;
510510
border-left: #d9d9d9 solid 1px;
511511
border-right: #d9d9d9 solid 1px;
512512
border-bottom: #d9d9d9 solid 1px;
513+
border-radius: 4px;
513514
background: whitesmoke;
514515
padding: 1rem;
515516
overflow: hidden;
@@ -686,7 +687,7 @@ details summary::-webkit-details-marker {
686687

687688
.hover-card > a, .hover-card > .hovercardcontainer {
688689
border: 1px solid #dee2e6;
689-
border-radius: 2px;
690+
border-radius: 4px;
690691
padding: 1rem;
691692
margin: 0px;
692693
transition: all .2s;
@@ -786,6 +787,7 @@ details summary::-webkit-details-marker {
786787
// For some reason video elements don't calculate the height correctly. This adjusts for that.
787788
.hover-card-video {
788789
border: 1px solid white;
790+
border-radius: 4px;
789791
margin-bottom: 0.5rem;
790792
}
791793

@@ -799,7 +801,8 @@ details summary::-webkit-details-marker {
799801
max-width: 100%;
800802
aspect-ratio: 4 / 3;
801803
margin-bottom: 0 !important;
802-
border: 1px solid black;
804+
border: 1px solid #E4E4E6;
805+
border-radius: 4px;
803806
}
804807

805808
.fit-contain.hover-card * img, .fit-contain.hover-card * video {
@@ -976,7 +979,8 @@ details summary::-webkit-details-marker {
976979
.hover-card * .pill {
977980
background-color: whitesmoke;
978981
padding: 0.1rem 0.25rem;
979-
border: 1px solid black;
982+
border: 1px solid #E4E4E6;
983+
border-radius: 4px;
980984
margin: 0.1rem;
981985
font-size: 0.833rem !important;
982986
font-weight: 400 !important;
@@ -1073,6 +1077,7 @@ td > ul, td > ol {
10731077
gap: 1px;
10741078
display: flex;
10751079
flex-direction: row;
1080+
border-bottom: 1px solid #E4E4E6;
10761081
}
10771082

10781083
.horizontalheaders > .nav-tabs, .horizontalheaders * .nav-tabs {
@@ -1081,17 +1086,15 @@ td > ul, td > ol {
10811086
}
10821087

10831088
.nav-tabs .nav-link.active, .nav-tabs .nav-link.active:hover {
1084-
border-color: rgb(156, 156, 164);
1085-
background-color: rgb(251, 251, 252);
1089+
border-bottom: 1px solid #000000;
1090+
font-weight: 600;
10861091
}
10871092

10881093
.horizontalheaders > .nav-tabs, .horizontalheaders * .nav-tabs {
10891094
background-color: rgb(247, 247, 248);
1090-
border-bottom: 1px solid #d7d7d9;
10911095
}
10921096

10931097
.horizontalheaders > .nav-tabs * .nav-link {
1094-
background-color: rgb(247, 247, 248);
10951098
}
10961099

10971100
.horizontalheaders > .nav-tabs .nav-link:hover {
@@ -1108,25 +1111,19 @@ td > ul, td > ol {
11081111
border: 0px;
11091112
border-style: solid;
11101113
border-radius: 0;
1111-
border-left: 1px solid rgb(209, 213, 219);
1112-
border-right: 1px solid rgb(209, 213, 219);
11131114
margin-right: -1px;
1114-
border-bottom: 1px solid rgb(209, 213, 219);
1115-
border-top: 1px solid rgb(209, 213, 219);
1116-
padding: 0.5rem 1.5rem;
1117-
color: rgb(78, 79, 82);
1115+
padding: 0.25rem 0 0.25rem 0;
1116+
margin-right: 2rem;
1117+
color: #7A7C80;
11181118
}
11191119

11201120
.horizontalheaders .nav-tabs .nav-link, .horizontalheaders .nav-tabs .nav-link:hover {
11211121
padding: 0.5rem 1.5rem;
1122-
}
1123-
1124-
.nav-tabs .nav-link {
1125-
background-color: rgb(251, 251, 252);
1122+
margin-right: 0;
11261123
}
11271124

11281125
.nav-tabs .nav-link:hover {
1129-
background-color: rgb(241, 241, 244);
1126+
background-color: rgb(247, 247, 248);
11301127
}
11311128

11321129
.horizontalheaders * .nav-tabs .nav-link, .horizontalheaders * .nav-tabs .nav-link:hover {
@@ -1137,10 +1134,6 @@ td > ul, td > ol {
11371134
border-right: 1px solid rgb(209, 213, 219);
11381135
}
11391136

1140-
.nav-tabs .nav-item {
1141-
margin-bottom: 0.5rem;
1142-
}
1143-
11441137
.horizontalheaders * .nav-tabs > .nav-item, .horizontalheaders > .nav-tabs > .nav-item {
11451138
margin-bottom: 0rem;
11461139
}
@@ -1153,10 +1146,6 @@ td > ul, td > ol {
11531146
text-align: center;
11541147
}
11551148

1156-
.nav-tabs > .nav-item:last-child {
1157-
border-right: 1px solid rgb(209, 213, 219);
1158-
}
1159-
11601149
.tab-content {
11611150
padding: .7rem;
11621151
background-color: white;
@@ -1165,17 +1154,19 @@ td > ul, td > ol {
11651154

11661155
.horizontalheaders * .tab-content, .horizontalheaders > .tab-content {
11671156
border: 1px solid rgb(215, 215, 217);
1157+
border-radius: 4px;
11681158
}
11691159

11701160
/* TAB CSS consistency END */
11711161

11721162
/* scroll to top and github styling START */
11731163

11741164
.docsbutton {
1175-
border: 1px solid black;
1165+
border: 1px solid #E4E4E6;
1166+
border-radius: 4px !important;
11761167
color: black;
11771168
border-radius: 0;
1178-
background-color: whitesmoke;
1169+
background-color: #FBFBFC;
11791170
margin: 0.5rem;
11801171
padding: 1rem 1.25rem;
11811172
i {
@@ -1209,12 +1200,12 @@ td > ul, td > ol {
12091200
width: 60px;
12101201
opacity: 1;
12111202
transition: opacity 0.5s;
1212-
background-color: #000000;
1213-
color: white;
1203+
background-color: #FBFBFC;
1204+
color: black;
12141205
}
12151206

12161207
#scrollButton > i, #chatButton > i {
1217-
color: white;
1208+
color: black;
12181209
}
12191210

12201211
#scrollButton {
@@ -1261,7 +1252,8 @@ td > ul, td > ol {
12611252
}
12621253

12631254
.embed-responsive.embed-responsive-16by9 {
1264-
border: 1px solid black;
1255+
border: 1px solid #E4E4E6;
1256+
border-radius: 4px;
12651257
}
12661258

12671259
img.embed-responsive.embed-responsive-16by9 {
@@ -1293,7 +1285,7 @@ img.embed-responsive.embed-responsive-16by9 {
12931285
}
12941286

12951287
img.frame {
1296-
border: 1px solid black;
1288+
border: 1px solid #E4E4E6;
12971289
}
12981290

12991291
.td-content > video {
@@ -1331,7 +1323,8 @@ img.frame {
13311323
.feedback--response {
13321324
display: none;
13331325
margin-top: 1em;
1334-
border: 1px solid black;
1326+
border: 1px solid #E4E4E6;
1327+
border-radius: 4px;
13351328
padding: 1rem;
13361329
max-width: 400px;
13371330
margin: auto;
@@ -1753,9 +1746,9 @@ ul.sectionlist > li:hover {
17531746
color: black;
17541747
padding: 0.2rem 1rem;
17551748
margin: 0.2rem;
1756-
border: 1px solid black;
1757-
border-radius: 0px;
1758-
-moz-border-radius: 0px;
1749+
border: 1px solid #E4E4E6;
1750+
border-radius: 4px;
1751+
-moz-border-radius: 4px;
17591752
}
17601753

17611754
#platformarea-list .filterbutton {
@@ -1838,7 +1831,8 @@ ul.sectionlist > li:hover {
18381831

18391832
.search-facets {
18401833
width: 540px;
1841-
border: 1px solid black;
1834+
border: 1px solid #E4E4E6;
1835+
border-radius: 4px;
18421836
margin: 0.2rem;
18431837
padding: 0.2rem;
18441838
position: absolute;
@@ -1871,7 +1865,8 @@ ul.sectionlist > li:hover {
18711865

18721866
.search-facets * input {
18731867
padding: 0.1rem 0.25rem;
1874-
border: 1px solid black;
1868+
border: 1px solid #E4E4E6;
1869+
border-radius: 4px;
18751870
margin: 0.1rem;
18761871
font-size: 0.833rem !important;
18771872
font-weight: 400 !important;
@@ -1924,7 +1919,8 @@ span.ais-Pagination-link {
19241919
text-decoration: none;
19251920
color: black;
19261921
padding: 0.2rem 1rem;
1927-
border: 1px solid black;
1922+
border: 1px solid #E4E4E6;
1923+
border-radius: 4px;
19281924
}
19291925

19301926
a.ais-Pagination-link:hover {
@@ -2018,6 +2014,7 @@ a.ais-Pagination-link:hover {
20182014
.searchhitsbox {
20192015
margin-bottom: 1rem;
20202016
border: 1px solid rgb(209, 213, 219);
2017+
border-radius: 4px;
20212018
display: flex;
20222019
flex-direction: column;
20232020
justify-content: space-between;
@@ -2108,8 +2105,8 @@ a.ais-Pagination-link:hover {
21082105
}
21092106

21102107
.ais-SearchBox-input {
2111-
border: 1px solid black;
2112-
border-radius: 0;
2108+
border: 1px solid #E4E4E6;
2109+
border-radius: 4px;
21132110
background-color: white;
21142111
outline-offset: 0px;
21152112
padding: 0.25rem 0.75rem;
@@ -2148,7 +2145,8 @@ input[type=search]::-webkit-search-cancel-button {
21482145
.changelog .colorbox, .changelog .datebox {
21492146
text-transform: uppercase;
21502147
padding: 0.1rem 0.25rem;
2151-
border: 1px solid black;
2148+
border: 1px solid #E4E4E6;
2149+
border-radius: 4px;
21522150
font-size: 1rem;
21532151
font-weight: 500;
21542152
line-height: 1.0;
@@ -2193,7 +2191,8 @@ input[type=search]::-webkit-search-cancel-button {
21932191
color: black;
21942192
padding: 0.2rem 1rem;
21952193
margin: 0.2rem;
2196-
border: 1px solid black;
2194+
border: 1px solid #E4E4E6;
2195+
border-radius: 4px;
21972196
}
21982197

21992198
#added-button.active, #added-button:hover {
@@ -2299,9 +2298,9 @@ h3.body-header[style] {
22992298
};
23002299

23012300
.actions .hs-button.primary.large {
2302-
border: 1px solid black;
2301+
border: 1px solid #E4E4E6;
23032302
color: black;
2304-
border-radius: 0;
2303+
border-radius: 4px;
23052304
background-color: whitesmoke;
23062305
padding: 0.25rem 0.5rem;
23072306
i {
@@ -2463,6 +2462,7 @@ hr {
24632462
display: flex;
24642463
flex-direction: column;
24652464
border: 1px solid #d7d7d9;
2465+
border-radius: 4px;
24662466
margin-right: -1px;
24672467
}
24682468

@@ -2737,7 +2737,7 @@ nav {
27372737
padding: 0;
27382738
padding-left: 1.25rem;
27392739
margin: 0;
2740-
border-left: 1px solid black;
2740+
border-left: 1px solid #E4E4E6;
27412741
}
27422742

27432743
.td-topbar-sections > ul > li {
@@ -3101,3 +3101,16 @@ li.active-path.tutorial-heading > a {
31013101
}
31023102

31033103
// Platform landing pages END
3104+
3105+
// Table styling START
3106+
3107+
.table-striped tbody tr:nth-of-type(odd), .td-content>table tbody tr:nth-of-type(odd), .td-box .row.section>table tbody tr:nth-of-type(odd) {
3108+
background-color: unset;
3109+
}
3110+
3111+
.table th, .td-content>table th, .td-box .row.section>table th, .table td, .td-content>table td, .td-box .row.section>table td {
3112+
border-right: 1px solid #E4E4E6;
3113+
border-left: 1px solid #E4E4E6;
3114+
}
3115+
3116+
// Table styling END

0 commit comments

Comments
 (0)