| 1 |
/*! = Left Horisontal Navigation Bar = */ |
| 2 |
.wpbc_admin { |
| 3 |
--wpbc_ui_horis_top_nav__font-size: 16px; |
| 4 |
--wpbc_ui_horis_top_nav__margin: 10px 0 20px; |
| 5 |
--wpbc_ui_horis_top_nav__background-color: transparent; |
| 6 |
|
| 7 |
--wpbc_ui_horis_top_nav__a_color: var(--wpbc_ui__gen__text-color); |
| 8 |
--wpbc_ui_horis_top_nav__border-width: 2px; |
| 9 |
/* Default */ |
| 10 |
--wpbc_ui_horis_top_nav__normal_color: #ccc; |
| 11 |
/* Hover */ |
| 12 |
--wpbc_ui_horis_top_nav__hover_color: #d54e21; |
| 13 |
/* Active */ |
| 14 |
--wpbc_ui_horis_top_nav__active_color: #64aa45; |
| 15 |
} |
| 16 |
.wpbc_ui_el__horis_top_bar__wrapper { |
| 17 |
display: flex; |
| 18 |
flex-flow: row wrap; |
| 19 |
justify-content: flex-start; |
| 20 |
align-items: baseline; |
| 21 |
|
| 22 |
width: 100%; |
| 23 |
max-width: 100%; |
| 24 |
|
| 25 |
background: var(--wpbc_ui_horis_top_nav__background-color); |
| 26 |
border: 0; |
| 27 |
box-shadow: none; |
| 28 |
transition: all .25s ease-in-out; |
| 29 |
font-size: var(--wpbc_ui_horis_top_nav__font-size); |
| 30 |
line-height: 1.2; |
| 31 |
border-radius: 0; |
| 32 |
padding: 0; |
| 33 |
margin: var(--wpbc_ui_horis_top_nav__margin); |
| 34 |
box-sizing: border-box; |
| 35 |
|
| 36 |
overflow: visible; |
| 37 |
/*box-shadow: var(--wpbc_ui__gen__panel_box-shadow);*/ |
| 38 |
} |
| 39 |
.wpbc_ui_el__horis_top_bar__content { |
| 40 |
flex: 1 1 100%; |
| 41 |
display: flex; |
| 42 |
flex-flow: row wrap; |
| 43 |
justify-content: flex-start; |
| 44 |
align-items: center; |
| 45 |
border-bottom: 1px solid var(--wpbc_ui_horis_top_nav__normal_color); |
| 46 |
} |
| 47 |
/* -- Responsive Sizes: < 600px (less top icons), < 782px (no wp left bar), < 960px (wp left bar colapse) ----------- */ |
| 48 |
/* More than > 782px -- Left Bar Expanded */ |
| 49 |
@media screen and (max-width: 782px) { |
| 50 |
.wpbc_ui_el__horis_top_bar__wrapper .wpbc_ui_el__horis_nav_title { |
| 51 |
display:none; |
| 52 |
} |
| 53 |
div.wpbc_settings_page_wrapper .wpbc_ui_el__horis_top_bar__wrapper .wpbc_ui_el__horis_nav_item a .wpbc_ui_el__horis_nav_icon { |
| 54 |
margin: 0 8px; |
| 55 |
} |
| 56 |
} |
| 57 |
/* -- End Responsive Sizes ------------------------------------------------------------------------------------------ */ |
| 58 |
|
| 59 |
/* A */ |
| 60 |
.wpbc_ui_el__horis_nav_item a { |
| 61 |
flex: 1 1 100%; |
| 62 |
margin: 0 5px -1px 0; |
| 63 |
padding: 10px 15px; |
| 64 |
border: none; |
| 65 |
border-radius: 0; |
| 66 |
text-shadow: none; |
| 67 |
font-size: var(--wpbc_ui_horis_top_nav__font-size); |
| 68 |
font-weight: 600; |
| 69 |
text-transform: capitalize; |
| 70 |
text-decoration: none; |
| 71 |
outline: none; |
| 72 |
color: var(--wpbc_ui_horis_top_nav__a_color); |
| 73 |
|
| 74 |
display: flex; |
| 75 |
flex-flow: row; |
| 76 |
justify-content: flex-start; |
| 77 |
align-items: center; |
| 78 |
|
| 79 |
border-bottom: var(--wpbc_ui_horis_top_nav__border-width) solid transparent; |
| 80 |
box-shadow: none; |
| 81 |
} |
| 82 |
/*Hover, focus*/ |
| 83 |
.wpbc_ui_el__horis_nav_item a:hover, |
| 84 |
.wpbc_ui_el__horis_nav_item a:focus, |
| 85 |
.wpbc_ui_el__horis_nav_item.active a:hover, |
| 86 |
.wpbc_ui_el__horis_nav_item.active a:focus { |
| 87 |
color: var(--wpbc_ui_horis_top_nav__hover_color); |
| 88 |
border-bottom-color: var(--wpbc_ui_horis_top_nav__hover_color); |
| 89 |
box-shadow: none; |
| 90 |
outline:0; |
| 91 |
} |
| 92 |
/* Active */ |
| 93 |
.wpbc_ui_el__horis_nav_item a[aria-selected="true"], |
| 94 |
.wpbc_ui_el__horis_nav_item.active a{ |
| 95 |
border-bottom-color: var(--wpbc_ui_horis_top_nav__active_color); |
| 96 |
box-shadow: none; |
| 97 |
outline:0; |
| 98 |
} |
| 99 |
/* Right side */ |
| 100 |
.wpbc_ui_el__horis_nav_item.align_right { |
| 101 |
margin-left: auto; |
| 102 |
} |
| 103 |
/* Debug tab */ |
| 104 |
.wpbc_ui_el__horis_nav_item.small_debug_tab a.wpbc_ui_el__horis_nav_item__a { |
| 105 |
font-size: 10px; |
| 106 |
line-height: 19px; |
| 107 |
} |
| 108 |
/* Icons */ |
| 109 |
.wpbc_ui_el__horis_nav_item a .wpbc_ui_el__horis_nav_icon{ |
| 110 |
margin:0; |
| 111 |
} |
| 112 |
.wpbc_settings_page_wrapper .wpbc_ui_el__horis_top_bar__wrapper .wpbc_ui_el__horis_nav_item a .wpbc_ui_el__horis_nav_icon{ |
| 113 |
margin: 0 8px 0 0; |
| 114 |
} |
| 115 |
.wpbc_ui_el__horis_nav_item a .wpbc_ui_el__horis_nav_icon::before { |
| 116 |
font-size: 16px; |
| 117 |
line-height: 17px; |
| 118 |
} |
| 119 |
/* Icons in Sub elements */ |
| 120 |
.wpbc_ui_el__horis_nav_item.wpbc_ui_el__horis_nav_item_sub a .wpbc_ui_el__horis_nav_icon::before { |
| 121 |
font-size: 14px; |
| 122 |
} |
| 123 |
/* Text */ |
| 124 |
.wpbc_ui_el__horis_nav_item a span { |
| 125 |
} |
| 126 |
|
| 127 |
/* -- Horisontal Menu items ---------------------------------------------------------------------------------------- */ |
| 128 |
/* -- Items -------------------------------------------------------------------------------------------------------- */ |
| 129 |
.wpbc_ui_el__horis_nav_item__a { |
| 130 |
|
| 131 |
} |
| 132 |
.wpbc_ui_el__horis_nav_item__a *{ |
| 133 |
flex: 0 1 auto; |
| 134 |
} |
| 135 |
/* Left Icon */ |
| 136 |
.wpbc_ui_el__horis_nav_item__a .wpbc_ui_el__horis_nav_icon{ |
| 137 |
|
| 138 |
} |
| 139 |
/* title */ |
| 140 |
.wpbc_ui_el__horis_nav_item__a .wpbc_ui_el__horis_nav_title{ |
| 141 |
|
| 142 |
} |
| 143 |
/* Right Icon */ |
| 144 |
.wpbc_ui_el__horis_nav_item__a .wpbc_ui_el__horis_nav_icon_right{ |
| 145 |
margin-left:auto; |
| 146 |
} |
| 147 |
/* -- End Items ---------------------------------------------------------------------------------------------------- */ |