-
Notifications
You must be signed in to change notification settings - Fork 4k
/
style.scss
75 lines (64 loc) · 1.56 KB
/
style.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
.edit-site-navigation-panel {
animation: edit-site-navigation-panel__slide-in 0.1s linear;
height: 100%;
position: relative;
width: $nav-sidebar-width;
@include reduce-motion("animation");
@keyframes edit-site-navigation-panel__slide-in {
from {
transform: translateX(-100%);
}
to {
transform: translateX(0%);
}
}
.components-navigation {
height: 100%;
}
.components-navigation__item {
position: relative;
.edit-site-template-switcher__label-home-icon svg path {
color: inherit;
}
&.is-active {
.edit-site-template-switcher__label-customized-dot {
background: #fff;
}
}
}
.edit-site-template-switcher__label-home-icon {
top: 50%;
transform: translateY(-50%);
}
.edit-site-template-switcher__label-customized-dot {
right: 8px;
}
}
.edit-site-navigation-panel__back-to-dashboard.components-button.is-tertiary {
border-radius: 0;
border-bottom: $border-width solid $gray-700;
height: auto;
margin-left: -6px; // +2px to display the focus box-shadow
margin-top: 2px; // +2px to display the focus box-shadow
padding: $grid-unit $grid-unit-20;
width: calc(100% + #{$grid-unit-15});
&:focus:not(:disabled) {
border-bottom-color: transparent;
}
}
.edit-site-navigation-panel__preview {
display: none;
border: $border-width solid $gray-400;
width: $nav-sidebar-width;
padding: $grid-unit-20;
background: $white;
box-shadow: $shadow-popover;
border-radius: $radius-block-ui;
position: absolute;
top: $grid-unit-15;
left: calc(100% + #{$grid-unit-15});
color: $gray-900;
@include break-medium {
display: block;
}
}