Skip to content

Commit ff651f1

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

2 files changed

Lines changed: 90 additions & 71 deletions

File tree

assets/scss/_styles_project.scss

Lines changed: 76 additions & 60 deletions
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,25 +1086,22 @@ 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 {
10981101
background-color: #d7d7d9;
10991102
}
11001103

11011104
.horizontalheaders * .nav-tabs .nav-link.active, .horizontalheaders * .nav-tabs .nav-link.active:hover {
1102-
background-color: white;
11031105
border-top: unset;
11041106
border-bottom: 1px solid white;
11051107
}
@@ -1108,25 +1110,22 @@ td > ul, td > ol {
11081110
border: 0px;
11091111
border-style: solid;
11101112
border-radius: 0;
1111-
border-left: 1px solid rgb(209, 213, 219);
1112-
border-right: 1px solid rgb(209, 213, 219);
1113-
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);
1113+
padding: 0.25rem 0 0.25rem 0;
1114+
margin-right: 2rem;
1115+
color: #7A7C80;
11181116
}
11191117

11201118
.horizontalheaders .nav-tabs .nav-link, .horizontalheaders .nav-tabs .nav-link:hover {
11211119
padding: 0.5rem 1.5rem;
1120+
margin-right: 0;
11221121
}
11231122

1124-
.nav-tabs .nav-link {
1125-
background-color: rgb(251, 251, 252);
1123+
.nav-tabs .nav-link:hover {
1124+
background-color: rgb(247, 247, 248);
11261125
}
11271126

1128-
.nav-tabs .nav-link:hover {
1129-
background-color: rgb(241, 241, 244);
1127+
.nav-tabs .nav-link.active, .nav-tabs .nav-link.active:hover {
1128+
background-color: inherit !important;
11301129
}
11311130

11321131
.horizontalheaders * .nav-tabs .nav-link, .horizontalheaders * .nav-tabs .nav-link:hover {
@@ -1137,10 +1136,6 @@ td > ul, td > ol {
11371136
border-right: 1px solid rgb(209, 213, 219);
11381137
}
11391138

1140-
.nav-tabs .nav-item {
1141-
margin-bottom: 0.5rem;
1142-
}
1143-
11441139
.horizontalheaders * .nav-tabs > .nav-item, .horizontalheaders > .nav-tabs > .nav-item {
11451140
margin-bottom: 0rem;
11461141
}
@@ -1153,10 +1148,6 @@ td > ul, td > ol {
11531148
text-align: center;
11541149
}
11551150

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

11661157
.horizontalheaders * .tab-content, .horizontalheaders > .tab-content {
11671158
border: 1px solid rgb(215, 215, 217);
1159+
border-radius: 4px;
11681160
}
11691161

11701162
/* TAB CSS consistency END */
11711163

11721164
/* scroll to top and github styling START */
11731165

11741166
.docsbutton {
1175-
border: 1px solid black;
1167+
border: 1px solid #E4E4E6;
1168+
border-radius: 4px !important;
11761169
color: black;
11771170
border-radius: 0;
1178-
background-color: whitesmoke;
1171+
background-color: #FBFBFC;
11791172
margin: 0.5rem;
11801173
padding: 1rem 1.25rem;
11811174
i {
@@ -1209,12 +1202,12 @@ td > ul, td > ol {
12091202
width: 60px;
12101203
opacity: 1;
12111204
transition: opacity 0.5s;
1212-
background-color: #000000;
1213-
color: white;
1205+
background-color: #FBFBFC;
1206+
color: black;
12141207
}
12151208

12161209
#scrollButton > i, #chatButton > i {
1217-
color: white;
1210+
color: black;
12181211
}
12191212

12201213
#scrollButton {
@@ -1261,7 +1254,8 @@ td > ul, td > ol {
12611254
}
12621255

12631256
.embed-responsive.embed-responsive-16by9 {
1264-
border: 1px solid black;
1257+
border: 1px solid #E4E4E6;
1258+
border-radius: 4px;
12651259
}
12661260

12671261
img.embed-responsive.embed-responsive-16by9 {
@@ -1293,7 +1287,7 @@ img.embed-responsive.embed-responsive-16by9 {
12931287
}
12941288

12951289
img.frame {
1296-
border: 1px solid black;
1290+
border: 1px solid #E4E4E6;
12971291
}
12981292

12991293
.td-content > video {
@@ -1331,7 +1325,8 @@ img.frame {
13311325
.feedback--response {
13321326
display: none;
13331327
margin-top: 1em;
1334-
border: 1px solid black;
1328+
border: 1px solid #E4E4E6;
1329+
border-radius: 4px;
13351330
padding: 1rem;
13361331
max-width: 400px;
13371332
margin: auto;
@@ -1753,9 +1748,9 @@ ul.sectionlist > li:hover {
17531748
color: black;
17541749
padding: 0.2rem 1rem;
17551750
margin: 0.2rem;
1756-
border: 1px solid black;
1757-
border-radius: 0px;
1758-
-moz-border-radius: 0px;
1751+
border: 1px solid #E4E4E6;
1752+
border-radius: 4px;
1753+
-moz-border-radius: 4px;
17591754
}
17601755

17611756
#platformarea-list .filterbutton {
@@ -1838,7 +1833,8 @@ ul.sectionlist > li:hover {
18381833

18391834
.search-facets {
18401835
width: 540px;
1841-
border: 1px solid black;
1836+
border: 1px solid #E4E4E6;
1837+
border-radius: 4px;
18421838
margin: 0.2rem;
18431839
padding: 0.2rem;
18441840
position: absolute;
@@ -1871,7 +1867,8 @@ ul.sectionlist > li:hover {
18711867

18721868
.search-facets * input {
18731869
padding: 0.1rem 0.25rem;
1874-
border: 1px solid black;
1870+
border: 1px solid #E4E4E6;
1871+
border-radius: 4px;
18751872
margin: 0.1rem;
18761873
font-size: 0.833rem !important;
18771874
font-weight: 400 !important;
@@ -1924,7 +1921,8 @@ span.ais-Pagination-link {
19241921
text-decoration: none;
19251922
color: black;
19261923
padding: 0.2rem 1rem;
1927-
border: 1px solid black;
1924+
border: 1px solid #E4E4E6;
1925+
border-radius: 4px;
19281926
}
19291927

19301928
a.ais-Pagination-link:hover {
@@ -2018,6 +2016,7 @@ a.ais-Pagination-link:hover {
20182016
.searchhitsbox {
20192017
margin-bottom: 1rem;
20202018
border: 1px solid rgb(209, 213, 219);
2019+
border-radius: 4px;
20212020
display: flex;
20222021
flex-direction: column;
20232022
justify-content: space-between;
@@ -2108,8 +2107,8 @@ a.ais-Pagination-link:hover {
21082107
}
21092108

21102109
.ais-SearchBox-input {
2111-
border: 1px solid black;
2112-
border-radius: 0;
2110+
border: 1px solid #E4E4E6;
2111+
border-radius: 4px;
21132112
background-color: white;
21142113
outline-offset: 0px;
21152114
padding: 0.25rem 0.75rem;
@@ -2148,7 +2147,8 @@ input[type=search]::-webkit-search-cancel-button {
21482147
.changelog .colorbox, .changelog .datebox {
21492148
text-transform: uppercase;
21502149
padding: 0.1rem 0.25rem;
2151-
border: 1px solid black;
2150+
border: 1px solid #E4E4E6;
2151+
border-radius: 4px;
21522152
font-size: 1rem;
21532153
font-weight: 500;
21542154
line-height: 1.0;
@@ -2193,7 +2193,8 @@ input[type=search]::-webkit-search-cancel-button {
21932193
color: black;
21942194
padding: 0.2rem 1rem;
21952195
margin: 0.2rem;
2196-
border: 1px solid black;
2196+
border: 1px solid #E4E4E6;
2197+
border-radius: 4px;
21972198
}
21982199

21992200
#added-button.active, #added-button:hover {
@@ -2299,9 +2300,9 @@ h3.body-header[style] {
22992300
};
23002301

23012302
.actions .hs-button.primary.large {
2302-
border: 1px solid black;
2303+
border: 1px solid #E4E4E6;
23032304
color: black;
2304-
border-radius: 0;
2305+
border-radius: 4px;
23052306
background-color: whitesmoke;
23062307
padding: 0.25rem 0.5rem;
23072308
i {
@@ -2463,6 +2464,7 @@ hr {
24632464
display: flex;
24642465
flex-direction: column;
24652466
border: 1px solid #d7d7d9;
2467+
border-radius: 4px;
24662468
margin-right: -1px;
24672469
}
24682470

@@ -2737,7 +2739,7 @@ nav {
27372739
padding: 0;
27382740
padding-left: 1.25rem;
27392741
margin: 0;
2740-
border-left: 1px solid black;
2742+
border-left: 1px solid #E4E4E6;
27412743
}
27422744

27432745
.td-topbar-sections > ul > li {
@@ -3101,3 +3103,17 @@ li.active-path.tutorial-heading > a {
31013103
}
31023104

31033105
// Platform landing pages END
3106+
3107+
// Table styling START
3108+
3109+
.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) {
3110+
background-color: unset;
3111+
}
3112+
3113+
.table th, .td-content>table th, .td-box .row.section>table th, .table td, .td-content>table td, .td-box .row.section>table td {
3114+
border-right: 1px solid #E4E4E6;
3115+
border-left: 1px solid #E4E4E6;
3116+
border-bottom: 1px solid #E4E4E6;
3117+
}
3118+
3119+
// Table styling END

0 commit comments

Comments
 (0)