| 1 |
/** |
| 2 |
* All of the CSS for your admin-specific functionality should be |
| 3 |
* included in this file. |
| 4 |
*/ |
| 5 |
|
| 6 |
.tableberg-hide { |
| 7 |
display: none !important; |
| 8 |
} |
| 9 |
|
| 10 |
/******************************************* |
| 11 |
* Components |
| 12 |
*********************************************/ |
| 13 |
|
| 14 |
/* Slider Switch Input*/ |
| 15 |
|
| 16 |
.tableberg-switch-input input { |
| 17 |
display: none; |
| 18 |
} |
| 19 |
|
| 20 |
.tableberg-switch-input { |
| 21 |
display: inline-block; |
| 22 |
width: 50px; |
| 23 |
height: 20px; |
| 24 |
transform: translateY(0%); |
| 25 |
position: relative; |
| 26 |
} |
| 27 |
|
| 28 |
.tableberg-switch-input-slider { |
| 29 |
position: absolute; |
| 30 |
top: 0; |
| 31 |
bottom: 0; |
| 32 |
left: 0; |
| 33 |
right: 0; |
| 34 |
border-radius: 15px; |
| 35 |
cursor: pointer; |
| 36 |
border: 2px solid transparent; |
| 37 |
overflow: hidden; |
| 38 |
transition: 0.4s; |
| 39 |
background-color: #e2e2e3; |
| 40 |
} |
| 41 |
|
| 42 |
.tableberg-switch-input-slider:before { |
| 43 |
position: absolute; |
| 44 |
content: ""; |
| 45 |
width: 100%; |
| 46 |
height: 100%; |
| 47 |
background: white; |
| 48 |
border-radius: 30px; |
| 49 |
transform: translateX(-30px); |
| 50 |
transition: 0.4s; |
| 51 |
} |
| 52 |
|
| 53 |
input:checked + .tableberg-switch-input-slider:before { |
| 54 |
transform: translateX(30px); |
| 55 |
background: white; |
| 56 |
} |
| 57 |
|
| 58 |
input:checked + .tableberg-switch-input-slider { |
| 59 |
background-color: #f64646; |
| 60 |
} |
| 61 |
|
| 62 |
/******************************************* |
| 63 |
* Main Menu Settings Page |
| 64 |
*********************************************/ |
| 65 |
|
| 66 |
#tableberg__main-menu { |
| 67 |
background: #f8f8f8; |
| 68 |
margin-left: -20px; |
| 69 |
padding-bottom: 40px; |
| 70 |
} |
| 71 |
|
| 72 |
#tableberg__main-menu__header { |
| 73 |
padding: 0; |
| 74 |
background: #fff; |
| 75 |
margin-bottom: 40px; |
| 76 |
box-shadow: 0px 2px 8px #e8e8e8; |
| 77 |
} |
| 78 |
|
| 79 |
.tableberg__header-container { |
| 80 |
display: flex; |
| 81 |
align-items: center; |
| 82 |
justify-content: space-between; |
| 83 |
width: 100%; |
| 84 |
max-width: 960px; |
| 85 |
margin-left: auto; |
| 86 |
margin-right: auto; |
| 87 |
} |
| 88 |
|
| 89 |
.tableberg__header-container img { |
| 90 |
max-height: 80px; |
| 91 |
justify-content: flex-start; |
| 92 |
} |
| 93 |
|
| 94 |
.tableberg__collection { |
| 95 |
display: flex; |
| 96 |
flex-wrap: wrap; |
| 97 |
padding: 15px; |
| 98 |
margin: auto; |
| 99 |
height: 740px; |
| 100 |
width: 100%; |
| 101 |
max-width: 1040px; |
| 102 |
box-sizing: border-box; |
| 103 |
flex-direction: column; |
| 104 |
background: #fff; |
| 105 |
border: 1px solid #e8e8e8; |
| 106 |
} |
| 107 |
|
| 108 |
.tableberg__collection__item { |
| 109 |
border: 1px solid lightgrey; |
| 110 |
padding: 10px; |
| 111 |
margin: 15px 0; |
| 112 |
height: 70px; |
| 113 |
max-width: 50%; |
| 114 |
margin: 10px; |
| 115 |
transition: all 0.5s ease-in-out; |
| 116 |
box-sizing: border-box; |
| 117 |
} |
| 118 |
|
| 119 |
.tableberg__collection__item.active { |
| 120 |
border: 1px solid #f64646; |
| 121 |
} |
| 122 |
|
| 123 |
.tableberg__collection__item__header { |
| 124 |
display: flex; |
| 125 |
justify-content: space-between; |
| 126 |
align-items: center; |
| 127 |
} |
| 128 |
|
| 129 |
.tableberg__collection__item:hover { |
| 130 |
box-shadow: 0 0 10px lightgrey; |
| 131 |
} |
| 132 |
|
| 133 |
.tableberg__collection__item__title { |
| 134 |
font-weight: 300; |
| 135 |
font-size: 16px; |
| 136 |
} |
| 137 |
|
| 138 |
.tableberg_collection_filter { |
| 139 |
justify-content: center; |
| 140 |
margin-right: 20px; |
| 141 |
} |
| 142 |
|
| 143 |
.tableberg_collection_filter .filter-action { |
| 144 |
display: inline-block; |
| 145 |
padding: 5px; |
| 146 |
margin: 0 10px; |
| 147 |
cursor: pointer; |
| 148 |
transition: all 0.5s ease-in-out; |
| 149 |
font-size: 15px; |
| 150 |
} |
| 151 |
|
| 152 |
.tableberg_collection_filter .filter-action.active { |
| 153 |
color: #f64646; |
| 154 |
border-bottom: 2px solid #f64646; |
| 155 |
} |
| 156 |
|
| 157 |
#tableberg__settings_cta { |
| 158 |
display: flex; |
| 159 |
flex-wrap: wrap; |
| 160 |
align-items: center; |
| 161 |
justify-content: center; |
| 162 |
padding: 20px 60px; |
| 163 |
margin: auto; |
| 164 |
height: auto; |
| 165 |
width: 100%; |
| 166 |
max-width: 1040px; |
| 167 |
box-sizing: border-box; |
| 168 |
background: #fff; |
| 169 |
border: 1px solid #e8e8e8; |
| 170 |
margin-top: 20px; |
| 171 |
} |
| 172 |
|
| 173 |
.tableberg__settings_column { |
| 174 |
flex: 50%; |
| 175 |
} |
| 176 |
|
| 177 |
.tableberg__settings_column h3 { |
| 178 |
font-size: 22px; |
| 179 |
margin-left: 15px; |
| 180 |
margin-bottom: 30px; |
| 181 |
} |
| 182 |
|
| 183 |
.tableberg__settings_column ul li { |
| 184 |
position: relative; |
| 185 |
padding-bottom: 10px; |
| 186 |
margin-left: 30px; |
| 187 |
} |
| 188 |
|
| 189 |
.tableberg__settings_column ul { |
| 190 |
list-style: none; |
| 191 |
} |
| 192 |
|
| 193 |
.tableberg__settings_column ul li:before { |
| 194 |
content: ""; |
| 195 |
position: absolute; |
| 196 |
border-right: 2px solid black; |
| 197 |
border-bottom: 2px solid black; |
| 198 |
width: 10px; |
| 199 |
height: 10px; |
| 200 |
top: calc(50% - 6px); |
| 201 |
left: -20px; |
| 202 |
transform: translateY(-50%) rotate(-45deg); |
| 203 |
} |
| 204 |
|
| 205 |
.tableberg__settings_list a { |
| 206 |
color: #f64646; |
| 207 |
font-size: 18px; |
| 208 |
} |
| 209 |
|
| 210 |
#adminmenu .toplevel_page_tableberg-settings .wp-menu-image > img { |
| 211 |
width: 21px !important; |
| 212 |
margin: 5px 9px; |
| 213 |
display: block; |
| 214 |
padding: 0; |
| 215 |
} |
| 216 |
|