12
12
13
13
.navbar-color {
14
14
background-color : $primary ;
15
- background-image : linear-gradient (transparent 90% , rgba (0 ,0 ,0 ,0.01 )),linear-gradient (173deg , #3AAACA , #2389B1 );
15
+ background-image : linear-gradient (transparent 90% , rgba (0 , 0 , 0 , 0.01 )),
16
+ linear-gradient (173deg , #3aaaca , #2389b1 );
16
17
color : $text-invert ;
17
18
18
19
.navbar--title .logo-title {
19
20
color : $text-invert ;
20
- & :hover , & :focus {color : $text-invert }
21
+ & :hover ,
22
+ & :focus {
23
+ color : $text-invert ;
24
+ }
21
25
}
22
26
23
27
.navbar--navigation .link {
24
- color : white ;
25
- border-bottom-color : white ;
26
- & :focus ,
27
- & :hover {
28
- color : inherit ;
29
- }
28
+ color : white ;
29
+ border-bottom-color : white ;
30
+ & :focus ,
31
+ & :hover {
32
+ color : inherit ;
33
+ }
30
34
}
31
-
32
35
}
33
36
34
37
.navbar-fixed-top {
35
38
top : 0 ;
36
- position : fixed ;
39
+ position : static ; /* TODO: Remove after promo? */
37
40
right : 0 ;
38
41
left : 0 ;
39
42
z-index : 1030 ;
54
57
border-bottom : none ;
55
58
margin-left : 1rem ;
56
59
}
57
- a :focus {
60
+ a :focus {
58
61
border-bottom : none ;
59
62
}
60
63
.logo {
61
- background : url (" ../images/logo.png" ) no-repeat center center ;
62
- background-size : contain ;
63
- width : 17px ;
64
- vertical-align : middle ;
65
- display : table-cell ;
66
- position :relative ;
67
- top : -1px ;
64
+ background : url (" ../images/logo.png" ) no-repeat center center ;
65
+ background-size : contain ;
66
+ width : 17px ;
67
+ vertical-align : middle ;
68
+ display : table-cell ;
69
+ position : relative ;
70
+ top : -1px ;
68
71
}
69
72
.github {
70
- background : url (" ../images/GitHub-Mark-32px.png" ) no-repeat center center ;
71
- display : inline-block ;
72
- background-size : contain ;
73
- height : 21px ;
74
- width : 21px ;
75
- vertical-align : middle ;
73
+ background : url (" ../images/GitHub-Mark-32px.png" ) no-repeat center center ;
74
+ display : inline-block ;
75
+ background-size : contain ;
76
+ height : 21px ;
77
+ width : 21px ;
78
+ vertical-align : middle ;
76
79
}
77
80
78
81
.logo-title {
@@ -92,50 +95,49 @@ $navbar-search-results-width: 32%px;
92
95
transform : translateX (-50% );
93
96
94
97
input {
95
- padding : 0.1rem 0.5rem ;
96
- border : 1px solid $primary ;
98
+ padding : 0.1rem 0.5rem ;
99
+ border : 1px solid $primary ;
97
100
}
98
101
99
102
.search .results {
100
- width : $navbar-search-results-width ;
101
- left : ($navbar-search-width - $navbar-search-results-width ) / 2.0 ;
103
+ width : $navbar-search-results-width ;
104
+ left : ($navbar-search-width - $navbar-search-results-width ) / 2 ;
102
105
}
103
106
}
104
- button .rstudio-navbutton {
105
- padding :5px ;
106
- padding-bottom :0px ;
107
- background-color : transparent ;
108
- color : $primary ;
107
+ button .rstudio-navbutton {
108
+ padding : 5px ;
109
+ padding-bottom : 0px ;
110
+ background-color : transparent ;
111
+ color : $primary ;
109
112
}
110
113
111
- @media (max-width : 670px ){
112
- .navbar--navigation.largescreen {
114
+ @media (max-width : 670px ) {
115
+ .navbar--navigation.largescreen {
113
116
display : none ;
114
117
}
115
- .navbar--title.largescreen {
118
+ .navbar--title.largescreen {
116
119
display : none ;
117
120
}
118
- .logo-title.largescreen {
121
+ .logo-title.largescreen {
119
122
display : none ;
120
123
}
121
- .navbar--search {
124
+ .navbar--search {
122
125
width : 50% ;
123
126
transform : translateX (0% );
124
127
left : 47% ;
125
128
}
126
129
}
127
- @media (max-width : 402px ){
128
- .navbar--title .logo-title {
130
+ @media (max-width : 402px ) {
131
+ .navbar--title .logo-title {
129
132
display : none ;
130
133
}
131
- .navbar--search {
134
+ .navbar--search {
132
135
width : 70% ;
133
136
transform : translateX (0% );
134
137
left : 28% ;
135
138
}
136
139
}
137
140
138
-
139
141
.navbar--navigation {
140
142
@extend ul .inline ;
141
143
display : inline-block ;
0 commit comments