Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7c40cfe

Browse files
authored
Merge pull request plotly#1359 from plotly/navbar-scss
Navbar scss
2 parents a31dfbc + 8a101cd commit 7c40cfe

File tree

3 files changed

+16
-29
lines changed

3 files changed

+16
-29
lines changed

_data/cache_bust_css.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
c3a9ea1fdf8213e67c433d114fd1d330 ../all_static/css/main.css
1+
237a635fa4eec3f9922f5a2e1e8db22c ../all_static/css/main.css
22
a5765df8bc2358dd61c19edcc0cbef7d ../all_static/css/normalize.css

all_static/css/main.css

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ body {
537537
.header-large--wrap + header.header-main.affix.\--default .\-identity {
538538
color: #447bdc !important; }
539539
.header-large--wrap + header.header-main.\--default a:link, .header-large--wrap + header.header-main.\--default a:visited, .header-large--wrap + header.header-main.\--default a:active {
540-
color: #fff !important; }
540+
color: currentColor !important; }
541541

542542
header .\-identity {
543543
color: #447bdc; }
@@ -587,7 +587,7 @@ header.header-main {
587587
color: currentColor !important;
588588
text-decoration: none !important; }
589589
header.header-main.\--default, .header-large--wrap + header.header-main.\--default.affix {
590-
color: #fff !important;
590+
color: #626262 !important;
591591
background-color: #00004f; }
592592
header.header-main.\--default a:not(.button):link, header.header-main.\--default a:not(.button):visited, header.header-main.\--default a:not(.button):active {
593593
color: currentColor !important; }
@@ -798,22 +798,15 @@ header.header-main {
798798
position: relative;
799799
font-size: 12px !important;
800800
letter-spacing: 0.5px;
801-
font-weight: 400;
802-
opacity: 0.95;
801+
font-weight: 600;
802+
opacity: 1;
803+
background-color: #119dff;
804+
-webkit-border-radius: 4px;
805+
border-radius: 4px;
803806
color: white; }
804-
header.header-main .\--wrap .button::before {
805-
content: '';
806-
position: absolute;
807-
width: 100%;
808-
height: 100%;
809-
left: 0;
810-
top: 0;
811-
border: 1px solid currentColor;
812-
opacity: 0.3;
813-
-webkit-border-radius: 6px;
814-
border-radius: 6px; }
815807
header.header-main .\--wrap .button:hover {
816808
text-decoration: none;
809+
color: white !important;
817810
opacity: 1; }
818811
header.header-main .\--wrap .button:hover::before {
819812
border-color: currentColor !important;

scss/_components/_header.scss

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ header {
208208
}
209209

210210
}
211-
background-color: #fff;
211+
background-color: #00004f;
212212

213213
}
214214
.\--wrap {
@@ -376,23 +376,17 @@ header {
376376
position: relative;
377377
font-size: 12px !important;
378378
letter-spacing: 0.5px;
379-
font-weight: 400;
380-
opacity: 0.95;
381-
color: $blue;
379+
font-weight: 600;
380+
opacity: 1;
381+
background-color: #119dff;
382+
border-radius: 4px;
383+
color: white;
382384
&::before {
383-
content: '';
384-
position: absolute;
385-
width: 100%;
386-
height: 100%;
387-
left: 0;
388-
top: 0;
389-
border: 1px solid currentColor;
390-
opacity: 0.3;
391-
border-radius: 6px;
392385
}
393386

394387
&:hover {
395388
text-decoration: none;
389+
color: white !important;
396390
opacity: 1;
397391
&::before {
398392
border-color: currentColor !important;

0 commit comments

Comments
 (0)