Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 760 | blopes | 1 | .layout-config { |
| 2 | position: fixed; |
||
| 3 | padding: 0; |
||
| 4 | top: 0; |
||
| 5 | right: 0; |
||
| 6 | width: 250px; |
||
| 7 | z-index: 999; |
||
| 8 | height: 100%; |
||
| 9 | transform: translate3d(250px, 0px, 0px); |
||
| 10 | @include transition(transform $transitionDuration); |
||
| 11 | background-color:lighten($contentBgColor, 2%); |
||
| 12 | box-shadow: 0 24px 64px -2px rgba(0, 0, 0, 0.02), 0 6px 16px -2px rgba(0, 0, 0, 0.06), 0 2px 6px -2px rgba(0, 0, 0, 0.08); |
||
| 13 | |||
| 14 | &.layout-config-active { |
||
| 15 | transform: translate3d(0px, 0px, 0px); |
||
| 16 | |||
| 17 | .layout-config-content { |
||
| 18 | .layout-config-button { |
||
| 19 | i { |
||
| 20 | @include rotate(360deg); |
||
| 21 | } |
||
| 22 | } |
||
| 23 | } |
||
| 24 | } |
||
| 25 | |||
| 26 | .layout-config-content { |
||
| 27 | position: relative; |
||
| 28 | height: 100%; |
||
| 29 | |||
| 30 | > form { |
||
| 31 | height: 100%; |
||
| 32 | } |
||
| 33 | |||
| 34 | .layout-config-form { |
||
| 35 | overflow: auto; |
||
| 36 | overflow-x: hidden; |
||
| 37 | } |
||
| 38 | |||
| 39 | .layout-config-button { |
||
| 40 | display: block; |
||
| 41 | position: absolute; |
||
| 42 | width: 52px; |
||
| 43 | height: 52px; |
||
| 44 | line-height: 52px; |
||
| 45 | background-color: #2c84d8; |
||
| 46 | background-color: var(--primary-dark-color, #2c84d8); |
||
| 47 | text-align: center; |
||
| 48 | top: 230px; |
||
| 49 | left: -51px; |
||
| 50 | z-index: -1; |
||
| 51 | cursor: pointer; |
||
| 52 | color: #ffffff; |
||
| 53 | @include transition(background-color $transitionDuration); |
||
| 54 | |||
| 55 | i { |
||
| 56 | font-size: 32px; |
||
| 57 | line-height: inherit; |
||
| 58 | cursor: pointer; |
||
| 59 | @include rotate(0deg); |
||
| 60 | @include transition(transform 1s); |
||
| 61 | } |
||
| 62 | |||
| 63 | &:hover { |
||
| 64 | background-color: #2873D3; |
||
| 65 | background-color: var(--primary-color, #2873D3); |
||
| 66 | } |
||
| 67 | } |
||
| 68 | |||
| 69 | .layout-config-header { |
||
| 70 | padding: 18px 12px; |
||
| 71 | margin-bottom: 12px; |
||
| 72 | color: #ffffff; |
||
| 73 | background-image: linear-gradient(180deg, #2873D3 10%, #2c84d8 100%); |
||
| 74 | background-image: linear-gradient(180deg, var(--primary-dark-color, #2873D3) 10%, var(--primary-color, #2c84d8) 100%); |
||
| 75 | |||
| 76 | > span { |
||
| 77 | font-size: 12px; |
||
| 78 | display: block; |
||
| 79 | color: #ffffff; |
||
| 80 | color: var(--primary-color-text, #ffffff); |
||
| 81 | } |
||
| 82 | } |
||
| 83 | |||
| 84 | .layout-config-section { |
||
| 85 | padding: 10px 12px; |
||
| 86 | |||
| 87 | .section-name { |
||
| 88 | font-weight: 500; |
||
| 89 | font-size: 12px; |
||
| 90 | display: block; |
||
| 91 | color: $textColor; |
||
| 92 | } |
||
| 93 | |||
| 94 | &.dark { |
||
| 95 | @include flex(); |
||
| 96 | @include flex-align-center(); |
||
| 97 | |||
| 98 | .section-name { |
||
| 99 | margin-right: 18px; |
||
| 100 | } |
||
| 101 | |||
| 102 | .ui-inputswitch { |
||
| 103 | .ui-inputswitch-on, |
||
| 104 | .ui-inputswitch-off { |
||
| 105 | padding: 0; |
||
| 106 | } |
||
| 107 | } |
||
| 108 | } |
||
| 109 | |||
| 110 | &.colors { |
||
| 111 | .layout-config-colors { |
||
| 112 | padding: 0 10px; |
||
| 113 | margin-top: 3px; |
||
| 114 | |||
| 115 | .p-col-fixed { |
||
| 116 | padding: .5em; |
||
| 117 | } |
||
| 118 | } |
||
| 119 | } |
||
| 120 | |||
| 121 | &.options { |
||
| 122 | .layout-config-options { |
||
| 123 | margin-top: 3px; |
||
| 124 | .ui-selectoneradio { |
||
| 125 | width: 100%; |
||
| 126 | padding: 0 10px; |
||
| 127 | |||
| 128 | label { |
||
| 129 | font-size: 12px; |
||
| 130 | margin: 0; |
||
| 131 | margin-left: 6px; |
||
| 132 | } |
||
| 133 | } |
||
| 134 | } |
||
| 135 | |||
| 136 | } |
||
| 137 | |||
| 138 | a { |
||
| 139 | @include flex-center(); |
||
| 140 | @include flex-direction-column(); |
||
| 141 | overflow: hidden; |
||
| 142 | @include transition(transform $transitionDuration); |
||
| 143 | position: relative; |
||
| 144 | color:$textColor; |
||
| 145 | text-transform: capitalize; |
||
| 146 | |||
| 147 | |||
| 148 | &:hover { |
||
| 149 | @include scale(1.1); |
||
| 150 | } |
||
| 151 | |||
| 152 | &.layout-config-option { |
||
| 153 | .layout-config-option-text { |
||
| 154 | margin-top: .2em; |
||
| 155 | } |
||
| 156 | |||
| 157 | .layout-config-option-color { |
||
| 158 | width: 24px; |
||
| 159 | height: 24px; |
||
| 160 | @include border-radius(4px); |
||
| 161 | position: relative; |
||
| 162 | overflow: hidden; |
||
| 163 | border: 1px solid rgba(0,0,0,.1); |
||
| 164 | |||
| 165 | .layout-config-option-accentcolor { |
||
| 166 | display: block; |
||
| 167 | width: 18px; |
||
| 168 | height: 28px; |
||
| 169 | position: absolute; |
||
| 170 | bottom: -10px; |
||
| 171 | right: -7px; |
||
| 172 | transform: rotate(45deg); |
||
| 173 | } |
||
| 174 | } |
||
| 175 | |||
| 176 | .layout-config-option-check-mask { |
||
| 177 | position: absolute; |
||
| 178 | top: 0; |
||
| 179 | left: 0; |
||
| 180 | width: 100%; |
||
| 181 | height: 100%; |
||
| 182 | pointer-events: none; |
||
| 183 | @include flex-center(); |
||
| 184 | |||
| 185 | i { |
||
| 186 | @include flex-center(); |
||
| 187 | font-size: 12px; |
||
| 188 | color: $primaryColor; |
||
| 189 | @include border-radius(50%); |
||
| 190 | background-color: #ffffff; |
||
| 191 | width: 16px; |
||
| 192 | height: 16px; |
||
| 193 | box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24); |
||
| 194 | z-index: 1; |
||
| 195 | } |
||
| 196 | } |
||
| 197 | } |
||
| 198 | } |
||
| 199 | } |
||
| 200 | |||
| 201 | |||
| 202 | } |
||
| 203 | } |
||
| 204 | |||
| 205 | .blocked-scroll-config{ |
||
| 206 | overflow: hidden; |
||
| 207 | } |
||
| 208 | |||
| 209 | .layout-rtl { |
||
| 210 | .layout-config { |
||
| 211 | right: auto; |
||
| 212 | left: 0; |
||
| 213 | transform: translate3d(-250px, 0px, 0px); |
||
| 214 | |||
| 215 | &.layout-config-active { |
||
| 216 | transform: translate3d(0px, 0px, 0px); |
||
| 217 | |||
| 218 | .layout-config-content { |
||
| 219 | .layout-config-button { |
||
| 220 | i { |
||
| 221 | @include rotate(360deg); |
||
| 222 | } |
||
| 223 | } |
||
| 224 | } |
||
| 225 | } |
||
| 226 | |||
| 227 | .layout-config-content { |
||
| 228 | .layout-config-button { |
||
| 229 | left: auto; |
||
| 230 | right: -51px; |
||
| 231 | } |
||
| 232 | .layout-config-section { |
||
| 233 | &.dark { |
||
| 234 | .section-name { |
||
| 235 | margin-right: 0px; |
||
| 236 | margin-left: 18px; |
||
| 237 | } |
||
| 238 | } |
||
| 239 | &.options { |
||
| 240 | .layout-config-options { |
||
| 241 | .ui-selectoneradio { |
||
| 242 | label { |
||
| 243 | margin-left: 0px; |
||
| 244 | margin-right: 6px; |
||
| 245 | } |
||
| 246 | } |
||
| 247 | } |
||
| 248 | |||
| 249 | } |
||
| 250 | } |
||
| 251 | } |
||
| 252 | } |
||
| 253 | } |
||
| 254 | |||
| 255 | @media (max-width: 992px) { |
||
| 256 | .layout-config { |
||
| 257 | height: 100%; |
||
| 258 | width: 70vw; |
||
| 259 | transform: translate3d(70vw, 0px, 0px); |
||
| 260 | |||
| 261 | &.layout-config-active { |
||
| 262 | transform: translate3d(0px, 0px, 0px); |
||
| 263 | } |
||
| 264 | |||
| 265 | .layout-config-button { |
||
| 266 | left: auto; |
||
| 267 | right: -52px; |
||
| 268 | } |
||
| 269 | } |
||
| 270 | |||
| 271 | .layout-rtl { |
||
| 272 | .layout-config { |
||
| 273 | height: 100%; |
||
| 274 | width: 70vw; |
||
| 275 | transform: translate3d(-70vw, 0px, 0px); |
||
| 276 | |||
| 277 | &.layout-config-active { |
||
| 278 | transform: translate3d(0px, 0px, 0px); |
||
| 279 | } |
||
| 280 | } |
||
| 281 | } |
||
| 282 | } |
||
| 283 | |||
| 284 | @media (max-width: 640px) { |
||
| 285 | .layout-config { |
||
| 286 | .ui-tabs.ui-tabs-top { |
||
| 287 | .ui-tabs-panels { |
||
| 288 | .p-grid { |
||
| 289 | @include flex-justify-center(); |
||
| 290 | } |
||
| 291 | |||
| 292 | .layout-config-palette { |
||
| 293 | .layout-config-selected-palette { |
||
| 294 | width: 60px; |
||
| 295 | height: 60px; |
||
| 296 | } |
||
| 297 | } |
||
| 298 | } |
||
| 299 | } |
||
| 300 | } |
||
| 301 | } |
||
| 302 | |||
| 303 |