| 1 |
/*! = Left Vertical Navigation Bar = */ |
| 2 |
.wpbc_admin { |
| 3 |
--wpbc_ui_left_vert_nav__width_min: 10px; |
| 4 |
--wpbc_ui_left_vert_nav__width_compact: 48px; |
| 5 |
--wpbc_ui_left_vert_nav__width_max: 250px; |
| 6 |
|
| 7 |
--wpbc_ui_left_vert_nav__margin: 0; |
| 8 |
--wpbc_ui_left_vert_nav__background-color: var(--wpbc_ui__gen__panel_background-color); |
| 9 |
--wpbc_ui_left_vert_nav__font-size: var(--wpbc_ui__gen__font-size); |
| 10 |
--wpbc_ui_left_vert_nav__a_color: var(--wpbc_ui__gen__text-color); |
| 11 |
/* Active */ |
| 12 |
--wpbc_ui_left_vert_nav__active_color: var(--wpbc_ui__gen__active-text-color); |
| 13 |
--wpbc_ui_left_vert_nav__active_background-color: var(--wpbc_ui__gen__active-background-color); |
| 14 |
/* Hover */ |
| 15 |
/*--wpbc_ui_left_vert_nav__hover_color: var(--wpbc_ui__gen__hover-color);*/ |
| 16 |
--wpbc_ui_left_vert_nav__hover_background-color: #4651601c; /*var(--wpbc_ui__gen__panel_background-color);*/ |
| 17 |
} |
| 18 |
.wpbc_ui_el__vert_left_bar__wrapper { |
| 19 |
display: flex; |
| 20 |
flex-flow: column nowrap; |
| 21 |
justify-content: stretch; |
| 22 |
align-items: stretch; |
| 23 |
|
| 24 |
width: 100%; |
| 25 |
flex: 0 0 var(--wpbc_ui_left_vert_nav__width_max); |
| 26 |
|
| 27 |
background: var(--wpbc_ui_left_vert_nav__background-color); |
| 28 |
border: 0; |
| 29 |
box-shadow: var(--wpbc_ui__gen__panel_box-shadow); |
| 30 |
transition: all .25s ease-in-out; |
| 31 |
font-size: var(--wpbc_ui_left_vert_nav__font-size); |
| 32 |
border-radius: 0 0 6px; |
| 33 |
padding: 0; |
| 34 |
margin: var(--wpbc_ui_left_vert_nav__margin); |
| 35 |
|
| 36 |
overflow-y: auto; |
| 37 |
scrollbar-width: thin; |
| 38 |
overflow-x: hidden; |
| 39 |
} |
| 40 |
|
| 41 |
/* == Responsive Sizes: < 600px (less top icons), < 782px (no wp left bar), < 960px (wp left bar colapse) =========== */ |
| 42 |
/* By default -- Left Bar Colapsed */ |
| 43 |
.wpbc_ui_el__vert_left_bar__wrapper { |
| 44 |
max-width: var(--wpbc_ui_left_vert_nav__width_min); |
| 45 |
} |
| 46 |
.wpbc_ui_el__vert_left_bar__content { |
| 47 |
display: none; |
| 48 |
} |
| 49 |
/* More than > 782px -- Left Bar Expanded */ |
| 50 |
@media screen and (min-width: 782px) { |
| 51 |
.wpbc_ui_el__vert_left_bar__wrapper { |
| 52 |
max-width: var(--wpbc_ui_left_vert_nav__width_max); |
| 53 |
} |
| 54 |
.wpbc_ui_el__vert_left_bar__content { |
| 55 |
display: block; |
| 56 |
} |
| 57 |
} |
| 58 |
/* -- Sizes --------------------------------------------------------------------------------------------------------- */ |
| 59 |
/* == M I N == */ |
| 60 |
.wpbc_settings_page_wrapper.none .wpbc_ui_el__vert_left_bar__wrapper { |
| 61 |
max-width: 0px; |
| 62 |
} |
| 63 |
.wpbc_settings_page_wrapper.none .wpbc_ui_el__vert_left_bar__content { |
| 64 |
display: none; |
| 65 |
} |
| 66 |
div.wpbc_settings_page_wrapper.none .hide_in_compact_mode { |
| 67 |
display: none; |
| 68 |
} |
| 69 |
/* == M I N == */ |
| 70 |
.wpbc_settings_page_wrapper.min .wpbc_ui_el__vert_left_bar__wrapper { |
| 71 |
max-width: var(--wpbc_ui_left_vert_nav__width_min); |
| 72 |
} |
| 73 |
.wpbc_settings_page_wrapper.min .wpbc_ui_el__vert_left_bar__content { |
| 74 |
display: none; |
| 75 |
} |
| 76 |
div.wpbc_settings_page_wrapper.min .hide_in_compact_mode { |
| 77 |
display: none; |
| 78 |
} |
| 79 |
/* == COMPACT == */ |
| 80 |
.wpbc_settings_page_wrapper.compact .wpbc_ui_el__vert_left_bar__wrapper { |
| 81 |
max-width: var(--wpbc_ui_left_vert_nav__width_compact); |
| 82 |
} |
| 83 |
.wpbc_settings_page_wrapper.compact .wpbc_ui_el__vert_left_bar__content { |
| 84 |
display: block; |
| 85 |
} |
| 86 |
div.wpbc_settings_page_wrapper.compact .hide_in_compact_mode { |
| 87 |
display: none; |
| 88 |
} |
| 89 |
/* == M A X == */ |
| 90 |
.wpbc_settings_page_wrapper.max .wpbc_ui_el__vert_left_bar__wrapper { |
| 91 |
max-width: var(--wpbc_ui_left_vert_nav__width_max); |
| 92 |
} |
| 93 |
.wpbc_settings_page_wrapper.max .wpbc_ui_el__vert_left_bar__content { |
| 94 |
display: block; |
| 95 |
} |
| 96 |
.wpbc_settings_page_wrapper.max .hide_in_compact_mode { |
| 97 |
display: block; |
| 98 |
} |
| 99 |
|
| 100 |
/* Make compact size, on hover of minimized panel*/ |
| 101 |
.wpbc_settings_page_wrapper.min .wpbc_ui_el__vert_left_bar__wrapper:hover { max-width: calc( var(--wpbc_ui_left_vert_nav__width_min) + 15px ); } |
| 102 |
/* -- End Sizes ----------------------------------------------------------------------------------------------------- */ |
| 103 |
/* Navigation elements */ |
| 104 |
.wpbc_ui_el__vert_left_bar__content{ |
| 105 |
|
| 106 |
} |
| 107 |
.wpbc_ui_el__vert_nav_item{ |
| 108 |
|
| 109 |
} |
| 110 |
|
| 111 |
/* A */ |
| 112 |
.wpbc_ui_el__vert_nav_item a { |
| 113 |
flex: 1 1 100%; |
| 114 |
margin: 2px 0px 2px 7px; |
| 115 |
padding: 9px 8px; |
| 116 |
border: none; |
| 117 |
border-radius: var(--wpbc_ui__gen__border-radius) 0 0 var(--wpbc_ui__gen__border-radius); |
| 118 |
text-shadow: none; |
| 119 |
font-size: var(--wpbc_ui_left_vert_nav__font-size); |
| 120 |
font-weight: 600; |
| 121 |
text-transform: capitalize; |
| 122 |
text-decoration: none; |
| 123 |
outline: none; |
| 124 |
color: var(--wpbc_ui_left_vert_nav__a_color); |
| 125 |
|
| 126 |
display: flex; |
| 127 |
flex-flow: row; |
| 128 |
justify-content: flex-start; |
| 129 |
align-items: center; |
| 130 |
} |
| 131 |
/* Sub item */ |
| 132 |
.wpbc_ui_el__vert_nav_item_sub.wpbc_ui_el__vert_nav_item a{ |
| 133 |
margin: 2px -0.2px 2px 40px; |
| 134 |
padding: 7px 8px 7px 10px; |
| 135 |
} |
| 136 |
.wpbc_ui_el__vert_nav_item_sub.wpbc_ui_el__vert_nav_item.sub_right a{ |
| 137 |
margin-left: 50px; |
| 138 |
} |
| 139 |
.wpbc_ui_el__vert_nav_item_sub.wpbc_ui_el__vert_nav_item.sub_bold a, |
| 140 |
.wpbc_ui_el__vert_nav_item_sub.wpbc_ui_el__vert_nav_item.sub_bold .wpbc_ui_el__vert_nav_title { |
| 141 |
font-weight: 600; |
| 142 |
} |
| 143 |
/* == COMPACT == */ |
| 144 |
.wpbc_settings_page_wrapper.compact .wpbc_ui_el__vert_nav_item_sub.wpbc_ui_el__vert_nav_item a{ |
| 145 |
margin: 2px 0 2px 7px; |
| 146 |
} |
| 147 |
/*Hover, focus*/ |
| 148 |
.wpbc_ui_el__vert_nav_item a:hover, |
| 149 |
.wpbc_ui_el__vert_nav_item a:focus { |
| 150 |
/*color: var(--wpbc_ui_left_vert_nav__hover_color);*/ |
| 151 |
background-color: var(--wpbc_ui_left_vert_nav__hover_background-color); |
| 152 |
box-shadow: none; |
| 153 |
outline:0; |
| 154 |
} |
| 155 |
/* Active */ |
| 156 |
.wpbc_ui_el__vert_nav_item.active a, |
| 157 |
.wpbc_ui_el__vert_nav_item.active a:hover { |
| 158 |
color: var(--wpbc_ui_left_vert_nav__active_color); |
| 159 |
background-color: var(--wpbc_ui_left_vert_nav__active_background-color); |
| 160 |
box-shadow: none; |
| 161 |
outline:0; |
| 162 |
} |
| 163 |
/* Icons */ |
| 164 |
.wpbc_ui_el__vert_nav_item a .wpbc_ui_el__vert_nav_icon{ |
| 165 |
margin:0; |
| 166 |
} |
| 167 |
.wpbc_settings_page_wrapper .wpbc_ui_el__vert_left_bar__wrapper .wpbc_ui_el__vert_nav_item a .wpbc_ui_el__vert_nav_icon{ |
| 168 |
margin: 0 13px 0 0; |
| 169 |
} |
| 170 |
.wpbc_settings_page_wrapper.compact .wpbc_ui_el__vert_left_bar__wrapper .wpbc_ui_el__vert_nav_item a .wpbc_ui_el__vert_nav_icon{ |
| 171 |
margin-right: 20px; |
| 172 |
} |
| 173 |
.wpbc_ui_el__vert_nav_item a .wpbc_ui_el__vert_nav_icon::before { |
| 174 |
font-size: 16px; |
| 175 |
line-height: 20px; |
| 176 |
} |
| 177 |
/* Icons in Sub elements */ |
| 178 |
.wpbc_ui_el__vert_nav_item.wpbc_ui_el__vert_nav_item_sub a .wpbc_ui_el__vert_nav_icon::before { |
| 179 |
font-size: 14px; |
| 180 |
} |
| 181 |
/* == Colapsed == */ |
| 182 |
.wpbc_settings_page_wrapper.compact .wpbc_ui_el__level__folder.expanded .wpbc_ui_el__vert_nav_item:not(.wpbc_ui_el__vert_nav_item_sub) a { |
| 183 |
border-bottom: 1px solid #0000001c; |
| 184 |
} |
| 185 |
.wpbc_settings_page_wrapper.compact .wpbc_ui_el__level__folder.expanded .wpbc_ui_el__vert_nav_item_sub { |
| 186 |
margin-left: 5px; |
| 187 |
} |
| 188 |
.wpbc_settings_page_wrapper.compact .wpbc_ui_el__level__folder.expanded .wpbc_ui_el__vert_nav_item_sub .wpbc_ui_el__vert_nav_icon::before { |
| 189 |
font-size: 11px; |
| 190 |
} |
| 191 |
/* Text */ |
| 192 |
.wpbc_ui_el__vert_nav_item a span { |
| 193 |
} |
| 194 |
|
| 195 |
/* -- Vertical Menu items ---------------------------------------------------------------------------------------- */ |
| 196 |
/* Root menu elements */ |
| 197 |
/* Right arrow in root mennu */ |
| 198 |
.wpbc_settings_page_wrapper .wpbc_ui_el__vert_left_bar__wrapper .wpbc_ui_el__vert_nav_item_root a .wpbc_ui_el__vert_nav_icon.wpbc_ui_el__vert_nav_icon_arrow { |
| 199 |
margin: 0; |
| 200 |
margin-left: auto; |
| 201 |
} |
| 202 |
/* Section header */ |
| 203 |
.wpbc_ui_el__section_header { |
| 204 |
font-size: 13px; |
| 205 |
font-weight: 600; |
| 206 |
color: var(--wpbc_ui__gen__text-color); |
| 207 |
/*text-transform: uppercase;*/ |
| 208 |
letter-spacing: 0px; |
| 209 |
margin: 0 0 0 15px; |
| 210 |
} |
| 211 |
a > .wpbc_ui_el__section_header { |
| 212 |
color: #2271b1; |
| 213 |
font-weight: 400; |
| 214 |
font-size: 12px; |
| 215 |
font-weight: 400; |
| 216 |
letter-spacing: 0; |
| 217 |
margin: 0 0 0px 5px; |
| 218 |
text-transform: none; |
| 219 |
letter-spacing: 0px; |
| 220 |
} |
| 221 |
.wpbc_settings_page_wrapper .wpbc_ui_el__vert_left_bar__content .wpbc_ui_el__go_back { |
| 222 |
width: auto; |
| 223 |
display: flex; |
| 224 |
flex-flow: row nowrap; |
| 225 |
justify-content: flex-start; |
| 226 |
align-items: center; |
| 227 |
margin: 0 0 0 10px; |
| 228 |
text-decoration: none; |
| 229 |
} |
| 230 |
/* Animation */ |
| 231 |
.wpbc_ui_el__vert_left_bar__section { |
| 232 |
animation: wpbc_ui_el__slide_to_left 200ms ease-in-out forwards; |
| 233 |
transform-origin: left center; |
| 234 |
transform: translateX(0%); |
| 235 |
|
| 236 |
display: flex; |
| 237 |
flex-flow: column nowrap; |
| 238 |
align-items: stretch; |
| 239 |
justify-content: flex-start; |
| 240 |
} |
| 241 |
.wpbc_ui_el__vert_left_bar__section.wpbc_ui__hide { |
| 242 |
transform: translateX(-100%); |
| 243 |
} |
| 244 |
/* -- Items -------------------------------------------------------------------------------------------------------- */ |
| 245 |
/* Default order */ |
| 246 |
.wpbc_ui_el__level__folder, |
| 247 |
.wpbc_ui_el__level__folder .wpbc_ui_el__vert_nav_item, |
| 248 |
.wpbc_ui_el__level__folder .wpbc_ui_el__vert_nav_item_sub { |
| 249 |
order: 100; |
| 250 |
} |
| 251 |
|
| 252 |
/* Folder Block - Default order */ |
| 253 |
.wpbc_ui_el__level__folder { |
| 254 |
display: flex; |
| 255 |
flex-flow: column nowrap; |
| 256 |
justify-content: flex-start; |
| 257 |
align-items: stretch; |
| 258 |
} |
| 259 |
.wpbc_ui_el__level__folder.expanded{ |
| 260 |
|
| 261 |
} |
| 262 |
/* In folder Item */ |
| 263 |
.wpbc_ui_el__level__folder .wpbc_ui_el__vert_nav_item { |
| 264 |
|
| 265 |
} |
| 266 |
/* Folder */ |
| 267 |
.wpbc_ui_el__level__folder .wpbc_ui_el__vert_nav_item a.wpbc_ui_el__vert_nav_item__folder{ |
| 268 |
|
| 269 |
} |
| 270 |
/* Hide or show folder icons on expanded/colapsed blocks */ |
| 271 |
.wpbc_ui_el__level__folder.expanded .wpbc_ui_el__vert_nav_icon_collapsed { |
| 272 |
display: none; |
| 273 |
} |
| 274 |
.wpbc_ui_el__level__folder:not(.expanded) .wpbc_ui_el__vert_nav_icon_expanded { |
| 275 |
display: none; |
| 276 |
} |
| 277 |
/* Single A */ |
| 278 |
.wpbc_ui_el__level__folder .wpbc_ui_el__vert_nav_item a.wpbc_ui_el__vert_nav_item__single{ |
| 279 |
|
| 280 |
} |
| 281 |
/* Item Sub*/ |
| 282 |
.wpbc_ui_el__level__folder .wpbc_ui_el__vert_nav_item.wpbc_ui_el__vert_nav_item_sub{ |
| 283 |
|
| 284 |
} |
| 285 |
/* Sub - Single A */ |
| 286 |
.wpbc_ui_el__level__folder .wpbc_ui_el__vert_nav_item_sub a.wpbc_ui_el__vert_nav_item__single{ |
| 287 |
|
| 288 |
} |
| 289 |
/* Set animation for colapsed / expanded sub sections */ |
| 290 |
.wpbc_ui_el__level__folder.expanded .wpbc_ui_el__vert_nav_item_sub{ |
| 291 |
display:block; |
| 292 |
height:auto; |
| 293 |
animation: wpbc_ui_el__dropdown_menu__anim__grow_down 400ms ease-in-out forwards; |
| 294 |
transform-origin: top center; |
| 295 |
} |
| 296 |
/* Hide Colapsed sub section */ |
| 297 |
.wpbc_ui_el__level__folder:not(.expanded) .wpbc_ui_el__vert_nav_item_sub{ |
| 298 |
display:none; |
| 299 |
height:0; |
| 300 |
animation: wpbc_ui_el__dropdown_menu__anim__grow_down 400ms ease-in-out forwards; |
| 301 |
transform-origin: top center; |
| 302 |
} |
| 303 |
/* Item A --------------------------------------------------- */ |
| 304 |
.wpbc_ui_el__vert_nav_item__a { |
| 305 |
|
| 306 |
} |
| 307 |
.wpbc_ui_el__vert_nav_item__a *{ |
| 308 |
flex: 0 1 auto; |
| 309 |
} |
| 310 |
/* Left Icon */ |
| 311 |
.wpbc_ui_el__vert_nav_item__a .wpbc_ui_el__vert_nav_icon{ |
| 312 |
|
| 313 |
} |
| 314 |
/* Title in Parent single element */ |
| 315 |
.wpbc_ui_el__vert_nav_item .wpbc_ui_el__vert_nav_item__a .wpbc_ui_el__vert_nav_title { |
| 316 |
flex: 1 1 100%; |
| 317 |
display: flex; |
| 318 |
flex-flow: row wrap; |
| 319 |
justify-content: flex-start; |
| 320 |
align-items: center; |
| 321 |
} |
| 322 |
/* Sub title */ |
| 323 |
.wpbc_settings_page_wrapper .wpbc_ui_el__vert_nav_item_sub .wpbc_ui_el__vert_nav_title { |
| 324 |
font-weight: 400; |
| 325 |
font-size: 12px; |
| 326 |
line-height: 1.5; |
| 327 |
flex: 1 1 100%; |
| 328 |
display: flex; |
| 329 |
flex-flow: row wrap; |
| 330 |
justify-content: flex-start; |
| 331 |
align-items: center; |
| 332 |
} |
| 333 |
/* Right Icon */ |
| 334 |
.wpbc_ui_el__vert_nav_item__a .wpbc_ui_el__vert_nav_icon_right{ |
| 335 |
margin-left:auto; |
| 336 |
} |
| 337 |
/* Radio button icons */ |
| 338 |
.wpbc_ui_el__vert_nav_item.active .wpbc_ui_el__vert_nav_icon_right.wpbc-bi-toggle2-on { |
| 339 |
color: var(--wpbc_ui_left_vert_nav__active_color) !important; |
| 340 |
} |
| 341 |
.wpbc_ui_el__vert_nav_item.active .wpbc_ui_el__vert_nav_icon_right.wpbc-bi-toggle2-off { |
| 342 |
color: #b4b4b4 !important; |
| 343 |
} |
| 344 |
.wpbc_ui_el__vert_nav_item__single .wpbc-bi-toggle2-on::before, |
| 345 |
.wpbc_ui_el__vert_nav_item__single .wpbc-bi-toggle2-off::before{ |
| 346 |
font-size:95%; |
| 347 |
} |
| 348 |
/* -- End Items ---------------------------------------------------------------------------------------------------- */ |
| 349 |
|
| 350 |
|
| 351 |
|
| 352 |
/* Row for header and buttons */ |
| 353 |
.wpbc_ui_el__expand_colapse_btns{ |
| 354 |
margin: 10px 0 5px; |
| 355 |
padding:0; |
| 356 |
} |
| 357 |
.wpbc_ui_el__expand_colapse_btns a, |
| 358 |
.wpbc_ui_el__expand_colapse_btns a:focus, |
| 359 |
.wpbc_ui_el__expand_colapse_btns a:hover { |
| 360 |
box-shadow: none; |
| 361 |
outline: 0; |
| 362 |
} |
| 363 |
.wpbc_ui_el__expand_colapse_btns .wpbc_ui_el__a{ |
| 364 |
margin-left: auto; |
| 365 |
padding:0 8px; |
| 366 |
} |
| 367 |
.wpbc_settings_page_wrapper.compact .wpbc_ui_el__expand_colapse_btns { |
| 368 |
justify-content: center; |
| 369 |
} |
| 370 |
.wpbc_settings_page_wrapper.compact .wpbc_ui_el__expand_colapse_btns .wpbc_ui_el__a{ |
| 371 |
margin-left:0; |
| 372 |
padding:0; |
| 373 |
} |
| 374 |
|