| 1 |
:root { |
| 2 |
--e-is-device-mode: 0; |
| 3 |
} |
| 4 |
|
| 5 |
.e-is-device-mode { |
| 6 |
--e-is-device-mode: 1; |
| 7 |
} |
| 8 |
|
| 9 |
#elementor-responsive-bar { |
| 10 |
position: sticky; |
| 11 |
height: calc(40px * var(--e-is-device-mode)); |
| 12 |
align-self: stretch; |
| 13 |
flex-shrink: 0; |
| 14 |
transition: height 0.2s ease-in-out, opacity 0.1s; |
| 15 |
left: 0; |
| 16 |
top: 0; |
| 17 |
z-index: 100; |
| 18 |
opacity: var(--e-is-device-mode); |
| 19 |
box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.33), 0 0 2px 1px rgba(0, 0, 0, 0.25), 0 0 6px -3px rgba(255, 255, 255, 0.5); |
| 20 |
} |
| 21 |
#elementor-responsive-bar:before { |
| 22 |
content: ""; |
| 23 |
position: absolute; |
| 24 |
inset: 0; |
| 25 |
z-index: -1; |
| 26 |
transform: scaleX(var(--e-preview-scale, 1)); |
| 27 |
} |
| 28 |
|
| 29 |
.e-responsive-bar-switcher__option { |
| 30 |
cursor: pointer; |
| 31 |
text-align: center; |
| 32 |
width: 22px; |
| 33 |
height: 22px; |
| 34 |
margin: 0 4px; |
| 35 |
line-height: 22px; |
| 36 |
border-radius: 3px; |
| 37 |
font-size: 16px; |
| 38 |
transition: var(--e-a-transition-hover); |
| 39 |
} |
| 40 |
.e-responsive-bar-switcher__option:hover { |
| 41 |
color: var(--e-a-color-primary-bold); |
| 42 |
background-color: #310132; |
| 43 |
} |
| 44 |
.e-responsive-bar-switcher__option[aria-selected=true] { |
| 45 |
background-color: #3f444b; |
| 46 |
color: #F9FAFA; |
| 47 |
} |
| 48 |
.e-responsive-bar-switcher__option input { |
| 49 |
display: none; |
| 50 |
} |
| 51 |
.e-responsive-bar-switcher__option:not(:last-child) { |
| 52 |
margin-inline-end: 6px; |
| 53 |
} |
| 54 |
.e-responsive-bar__button { |
| 55 |
-webkit-appearance: none; |
| 56 |
-moz-appearance: none; |
| 57 |
appearance: none; |
| 58 |
background: none; |
| 59 |
border: 0 none; |
| 60 |
cursor: pointer; |
| 61 |
color: inherit; |
| 62 |
} |
| 63 |
.e-responsive-bar__button:focus:not(:focus-visible) { |
| 64 |
outline: none; |
| 65 |
} |
| 66 |
.e-responsive-bar__button:hover { |
| 67 |
color: #F1F2F3; |
| 68 |
background-color: #3f444b; |
| 69 |
} |
| 70 |
.e-responsive-bar--pipe { |
| 71 |
position: relative; |
| 72 |
} |
| 73 |
.e-responsive-bar--pipe::before { |
| 74 |
content: ""; |
| 75 |
display: block; |
| 76 |
height: 20px; |
| 77 |
width: 1px; |
| 78 |
background-color: #BABFC5; |
| 79 |
position: absolute; |
| 80 |
inset-inline-end: -5px; |
| 81 |
top: calc(50% - 10px); |
| 82 |
} |
| 83 |
.e-responsive-bar__input-size { |
| 84 |
background-color: transparent; |
| 85 |
color: #BABFC5; |
| 86 |
border: 1px solid #BABFC5; |
| 87 |
padding: 0 3px; |
| 88 |
width: 60px; |
| 89 |
font-size: 12px; |
| 90 |
line-height: 16px; |
| 91 |
height: 18px; |
| 92 |
margin: auto 8px auto 4px; |
| 93 |
text-align: center; |
| 94 |
} |
| 95 |
.e-responsive-bar__input-size-separator { |
| 96 |
color: #BABFC5; |
| 97 |
} |
| 98 |
.e-responsive-bar__input-size[disabled] { |
| 99 |
background-color: transparent; |
| 100 |
color: #818A96; |
| 101 |
cursor: default; |
| 102 |
-moz-appearance: none; |
| 103 |
appearance: none; |
| 104 |
-webkit-appearance: none; |
| 105 |
} |
| 106 |
|
| 107 |
#e-responsive-bar { |
| 108 |
width: 100%; |
| 109 |
margin-block-start: calc(-40px + 40px * var(--e-is-device-mode)); |
| 110 |
z-index: 1; |
| 111 |
transition: margin-block-start 0.2s ease-in-out; |
| 112 |
display: grid; |
| 113 |
grid-template-columns: auto 1fr; |
| 114 |
align-items: center; |
| 115 |
justify-content: space-between; |
| 116 |
color: #BABFC5; |
| 117 |
background-color: #1f2124; |
| 118 |
} |
| 119 |
#e-responsive-bar__center, #e-responsive-bar__end, #e-responsive-bar-scale, #e-responsive-bar-switcher { |
| 120 |
display: flex; |
| 121 |
justify-content: center; |
| 122 |
align-items: center; |
| 123 |
font-size: 13px; |
| 124 |
background-color: #1f2124; |
| 125 |
padding: 2px 0; |
| 126 |
} |
| 127 |
#e-responsive-bar__end { |
| 128 |
justify-self: end; |
| 129 |
} |
| 130 |
@media (min-width: 1400px) { |
| 131 |
#e-responsive-bar { |
| 132 |
grid-template-columns: 1fr auto 1fr; |
| 133 |
} |
| 134 |
#e-responsive-bar::before { |
| 135 |
content: ""; |
| 136 |
} |
| 137 |
} |
| 138 |
#e-responsive-bar__close-button, #e-responsive-bar__settings-button { |
| 139 |
width: 22px; |
| 140 |
height: 22px; |
| 141 |
border-radius: 3px; |
| 142 |
margin: 7px 5px; |
| 143 |
font-size: 16px; |
| 144 |
} |
| 145 |
#e-responsive-bar__size-inputs-wrapper { |
| 146 |
display: flex; |
| 147 |
align-items: center; |
| 148 |
margin-inline-end: 8px; |
| 149 |
color: #BABFC5; |
| 150 |
} |
| 151 |
#e-responsive-bar-switcher { |
| 152 |
padding: 0 20px; |
| 153 |
} |
| 154 |
#e-responsive-bar-scale { |
| 155 |
padding: 0 20px; |
| 156 |
} |
| 157 |
#e-responsive-bar-scale__value-wrapper { |
| 158 |
margin: 0 14px; |
| 159 |
min-width: 32px; |
| 160 |
text-align: center; |
| 161 |
} |
| 162 |
#e-responsive-bar-scale__plus, #e-responsive-bar-scale__minus, #e-responsive-bar-scale__reset { |
| 163 |
cursor: pointer; |
| 164 |
width: 20px; |
| 165 |
height: 20px; |
| 166 |
display: flex; |
| 167 |
align-items: center; |
| 168 |
justify-content: center; |
| 169 |
border-radius: 3px; |
| 170 |
transition: all 0.3s; |
| 171 |
} |
| 172 |
#e-responsive-bar-scale__plus:hover, #e-responsive-bar-scale__minus:hover, #e-responsive-bar-scale__reset:hover { |
| 173 |
color: #F1F2F3; |
| 174 |
background-color: #3f444b; |
| 175 |
} |
| 176 |
#e-responsive-bar-scale__minus:before { |
| 177 |
content: ""; |
| 178 |
display: block; |
| 179 |
width: 13px; |
| 180 |
height: 2px; |
| 181 |
background-color: #BABFC5; |
| 182 |
border-radius: 3px; |
| 183 |
} |
| 184 |
#e-responsive-bar-scale__minus:hover:before { |
| 185 |
background-color: #F1F2F3; |
| 186 |
} |
| 187 |
#e-responsive-bar-scale__reset { |
| 188 |
margin: 0 8px; |
| 189 |
} |
| 190 |
/*# sourceMappingURL=responsive-bar.css.map */ |