File tree Expand file tree Collapse file tree 2 files changed +39
-17
lines changed
app/assets/stylesheets/formadmin Expand file tree Collapse file tree 2 files changed +39
-17
lines changed Original file line number Diff line number Diff line change 39
39
}
40
40
}
41
41
42
-
43
42
@at-root .opened-menu & {
44
43
i {
45
44
background-color : transparent ;
Original file line number Diff line number Diff line change 1
1
.header {
2
+ align-items : center ;
2
3
background-color : rgba ($primary-color , 0.95 );
3
4
backdrop-filter : blur (3px );
4
- display : table ;
5
+ display : flex ;
5
6
color : $white ;
6
7
height : 50px ;
7
8
position : fixed ;
12
13
z-index : 10 ;
13
14
14
15
.site_title {
15
- display : table-cell ;
16
16
font-weight : bold ;
17
17
margin : 0 20px 0 0 ;
18
18
padding : 0 30px ;
19
- vertical-align : middle ;
20
19
}
21
20
22
21
#site_title_image {
25
24
}
26
25
27
26
.header-item {
28
- display : table-cell ;
29
- vertical-align : middle ;
30
-
31
27
& ,
32
28
ul {
33
29
margin : 0 ;
145
141
146
142
#utility_nav {
147
143
color : $silver ;
148
- display : table-cell ;
149
144
margin : 0 ;
150
145
padding : 0 20px 0 0 ;
151
146
text-align : right ;
171
166
172
167
// Medias
173
168
@media #{$largest-phone-screen } {
174
- .site_title {
175
- padding : 0 15px ;
176
- }
177
-
178
169
#tabs ,
179
170
#utility_nav {
180
171
display : none ;
181
172
left : 0 ;
182
173
position : absolute ;
174
+ right : 0 ;
183
175
top : 50px ;
184
- width : 100% ;
176
+ }
177
+
178
+ .site_title {
179
+ padding : 0 15px ;
185
180
}
186
181
187
182
.menu-button {
188
183
display : block ;
189
- position : relative ;
190
- right : -23 px ;
191
- top : 13 px ;
184
+ margin-left : auto ;
185
+ margin- right : 15 px ;
186
+ margin- top : -5 px ;
192
187
}
193
188
194
- .opened-menu & {
189
+ @at-root .opened-menu & {
195
190
#tabs ,
196
191
#utility_nav {
197
192
display : block ;
198
193
}
199
194
}
195
+
196
+ // display: block;
197
+ // .site_title {
198
+ // padding: 0 15px;
199
+ // }
200
+ //
201
+ // #tabs,
202
+ // #utility_nav {
203
+ // display: none;
204
+ // left: 0;
205
+ // position: absolute;
206
+ // top: 50px;
207
+ // width: 100%;
208
+ // }
209
+ //
210
+ // .menu-button {
211
+ // float: left;
212
+ // margin-right: 15px;
213
+ // position: relative;
214
+ // top: 13px;
215
+ // }
216
+ //
217
+ // .opened-menu & {
218
+ // #tabs,
219
+ // #utility_nav {
220
+ // display: block;
221
+ // }
222
+ // }
200
223
}
201
224
}
You can’t perform that action at this time.
0 commit comments