| 1 |
/* |
| 2 |
* jQuery UI CSS Framework 1.8.16 |
| 3 |
* |
| 4 |
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) |
| 5 |
* Dual licensed under the MIT or GPL Version 2 licenses. |
| 6 |
* http://jquery.org/license |
| 7 |
* |
| 8 |
* http://docs.jquery.com/UI/Theming/API |
| 9 |
* |
| 10 |
* WordPress Styles adopted from "jQuery UI Datepicker CSS for WordPress" |
| 11 |
* https://github.com/stuttter/wp-datepicker-styling |
| 12 |
* |
| 13 |
*/ |
| 14 |
|
| 15 |
* html .cmb2-element.ui-helper-clearfix { |
| 16 |
height:1%; |
| 17 |
} |
| 18 |
|
| 19 |
$weekend: #f4f4f4; |
| 20 |
$freshblue: #00a0d2; |
| 21 |
$freshdark: #32373c; |
| 22 |
$freshdarkblue: #0073aa; |
| 23 |
|
| 24 |
.cmb2-element.ui-datepicker, .cmb2-element .ui-datepicker { |
| 25 |
padding: 0; |
| 26 |
margin: 0; |
| 27 |
-webkit-border-radius: 0; |
| 28 |
-moz-border-radius: 0; |
| 29 |
border-radius: 0; |
| 30 |
background-color: #fff; |
| 31 |
border: 1px solid #dfdfdf; |
| 32 |
border-top: none; |
| 33 |
-webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.075); |
| 34 |
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.075); |
| 35 |
min-width: 17em; |
| 36 |
width: auto; |
| 37 |
|
| 38 |
* { |
| 39 |
padding: 0; |
| 40 |
font-family: "Open Sans", sans-serif; |
| 41 |
-webkit-border-radius: 0; |
| 42 |
-moz-border-radius: 0; |
| 43 |
border-radius: 0; |
| 44 |
} |
| 45 |
|
| 46 |
table { |
| 47 |
font-size: 13px; |
| 48 |
margin: 0; |
| 49 |
border: none; |
| 50 |
border-collapse: collapse; |
| 51 |
} |
| 52 |
|
| 53 |
.ui-widget-header, |
| 54 |
.ui-datepicker-header { |
| 55 |
background-image: none; |
| 56 |
border: none; |
| 57 |
color: #fff; |
| 58 |
font-weight: normal; |
| 59 |
} |
| 60 |
|
| 61 |
.ui-datepicker-header .ui-state-hover { |
| 62 |
background: transparent; |
| 63 |
border-color: transparent; |
| 64 |
cursor: pointer; |
| 65 |
} |
| 66 |
|
| 67 |
.ui-datepicker-title { |
| 68 |
margin: 0; |
| 69 |
padding: 10px 0; |
| 70 |
color: #fff; |
| 71 |
font-size: 14px; |
| 72 |
line-height: 14px; |
| 73 |
text-align: center; |
| 74 |
|
| 75 |
select { |
| 76 |
margin-top: -8px; |
| 77 |
margin-bottom: -8px; |
| 78 |
} |
| 79 |
} |
| 80 |
|
| 81 |
.ui-datepicker-prev, |
| 82 |
.ui-datepicker-next { |
| 83 |
position: relative; |
| 84 |
top: 0; |
| 85 |
height: 34px; |
| 86 |
width: 34px; |
| 87 |
} |
| 88 |
|
| 89 |
.ui-state-hover.ui-datepicker-prev, |
| 90 |
.ui-state-hover.ui-datepicker-next { |
| 91 |
border: none; |
| 92 |
} |
| 93 |
|
| 94 |
.ui-datepicker-prev, |
| 95 |
.ui-datepicker-prev-hover { |
| 96 |
left: 0; |
| 97 |
} |
| 98 |
|
| 99 |
.ui-datepicker-next, |
| 100 |
.ui-datepicker-next-hover { |
| 101 |
right: 0; |
| 102 |
} |
| 103 |
|
| 104 |
.ui-datepicker-next span, |
| 105 |
.ui-datepicker-prev span { |
| 106 |
display: none; |
| 107 |
} |
| 108 |
|
| 109 |
.ui-datepicker-prev { |
| 110 |
float: left; |
| 111 |
} |
| 112 |
|
| 113 |
.ui-datepicker-next { |
| 114 |
float: right; |
| 115 |
} |
| 116 |
|
| 117 |
.ui-datepicker-prev:before, |
| 118 |
.ui-datepicker-next:before { |
| 119 |
font: normal 20px/34px 'dashicons'; |
| 120 |
padding-left: 7px; |
| 121 |
color: #fff; |
| 122 |
speak: none; |
| 123 |
-webkit-font-smoothing: antialiased; |
| 124 |
-moz-osx-font-smoothing: grayscale; |
| 125 |
width: 34px; |
| 126 |
height: 34px; |
| 127 |
} |
| 128 |
|
| 129 |
.ui-datepicker-prev:before { |
| 130 |
content: '\f341'; |
| 131 |
} |
| 132 |
|
| 133 |
.ui-datepicker-next:before { |
| 134 |
content: '\f345'; |
| 135 |
} |
| 136 |
|
| 137 |
.ui-datepicker-prev-hover:before, |
| 138 |
.ui-datepicker-next-hover:before { |
| 139 |
opacity: 0.7; |
| 140 |
} |
| 141 |
|
| 142 |
select.ui-datepicker-month, |
| 143 |
select.ui-datepicker-year { |
| 144 |
width: 33%; |
| 145 |
background: transparent; |
| 146 |
border-color: transparent; |
| 147 |
box-shadow: none; |
| 148 |
color: #fff; |
| 149 |
option { |
| 150 |
color: #333; |
| 151 |
} |
| 152 |
} |
| 153 |
|
| 154 |
thead { |
| 155 |
color: #fff; |
| 156 |
font-weight: 600; |
| 157 |
th { |
| 158 |
font-weight: normal; |
| 159 |
} |
| 160 |
} |
| 161 |
|
| 162 |
th { |
| 163 |
padding: 10px; |
| 164 |
} |
| 165 |
|
| 166 |
td { |
| 167 |
padding: 0; |
| 168 |
border: 1px solid $weekend; |
| 169 |
} |
| 170 |
|
| 171 |
td.ui-datepicker-other-month { |
| 172 |
border: transparent; |
| 173 |
} |
| 174 |
|
| 175 |
td.ui-datepicker-week-end { |
| 176 |
background-color: $weekend; |
| 177 |
border: 1px solid $weekend; |
| 178 |
&.ui-datepicker-today { |
| 179 |
-webkit-box-shadow: inset 0px 0px 1px 0px rgba(0, 0, 0, 0.1); |
| 180 |
-moz-box-shadow: inset 0px 0px 1px 0px rgba(0, 0, 0, 0.1); |
| 181 |
box-shadow: inset 0px 0px 1px 0px rgba(0, 0, 0, 0.1); |
| 182 |
} |
| 183 |
} |
| 184 |
|
| 185 |
td.ui-datepicker-today { |
| 186 |
background-color: #f0f0c0; |
| 187 |
} |
| 188 |
|
| 189 |
td.ui-datepicker-current-day { |
| 190 |
background: #bbdd88; |
| 191 |
} |
| 192 |
|
| 193 |
td .ui-state-default { |
| 194 |
background: transparent; |
| 195 |
border: none; |
| 196 |
text-align: center; |
| 197 |
text-decoration: none; |
| 198 |
width: auto; |
| 199 |
display: block; |
| 200 |
padding: 5px 10px; |
| 201 |
font-weight: normal; |
| 202 |
color: #444; |
| 203 |
} |
| 204 |
|
| 205 |
td.ui-state-disabled .ui-state-default { |
| 206 |
opacity: 0.5; |
| 207 |
} |
| 208 |
|
| 209 |
/* Default Color Scheme */ |
| 210 |
.ui-widget-header, |
| 211 |
.ui-datepicker-header { |
| 212 |
background: $freshblue; |
| 213 |
} |
| 214 |
|
| 215 |
thead { |
| 216 |
background: $freshdark; |
| 217 |
} |
| 218 |
|
| 219 |
td .ui-state-hover, td .ui-state-active { |
| 220 |
background: $freshdarkblue; |
| 221 |
color: #fff; |
| 222 |
} |
| 223 |
|
| 224 |
.ui-timepicker-div { |
| 225 |
font-size: 14px; |
| 226 |
dl { |
| 227 |
text-align: left; |
| 228 |
padding: 0 .6em; |
| 229 |
dt { |
| 230 |
float: left; |
| 231 |
clear:left; |
| 232 |
padding: 0 0 0 5px; |
| 233 |
} |
| 234 |
dd { |
| 235 |
margin: 0 10px 10px 40%; |
| 236 |
select { |
| 237 |
width: 100%; |
| 238 |
} |
| 239 |
} |
| 240 |
} |
| 241 |
|
| 242 |
+ .ui-datepicker-buttonpane { |
| 243 |
padding: .6em; |
| 244 |
text-align: left; |
| 245 |
|
| 246 |
.button-primary, .button-secondary { |
| 247 |
padding: 0 10px 1px; |
| 248 |
-webkit-border-radius: 3px; |
| 249 |
-moz-border-radius: 3px; |
| 250 |
border-radius: 3px; |
| 251 |
margin: 0 .6em .4em .4em; |
| 252 |
} |
| 253 |
|
| 254 |
} |
| 255 |
} |
| 256 |
|
| 257 |
} |
| 258 |
.admin-color-fresh { |
| 259 |
.cmb2-element.ui-datepicker, .cmb2-element .ui-datepicker { |
| 260 |
.ui-widget-header, |
| 261 |
.ui-datepicker-header { |
| 262 |
background: $freshblue; |
| 263 |
} |
| 264 |
|
| 265 |
thead { |
| 266 |
background: $freshdark; |
| 267 |
} |
| 268 |
|
| 269 |
td .ui-state-hover { |
| 270 |
background: $freshdarkblue; |
| 271 |
color: #fff; |
| 272 |
} |
| 273 |
} |
| 274 |
} |
| 275 |
.admin-color-blue { |
| 276 |
.cmb2-element.ui-datepicker, .cmb2-element .ui-datepicker { |
| 277 |
.ui-widget-header, |
| 278 |
.ui-datepicker-header { |
| 279 |
background: #52accc; |
| 280 |
} |
| 281 |
|
| 282 |
thead { |
| 283 |
background: #4796b3; |
| 284 |
} |
| 285 |
|
| 286 |
// td .ui-state-hover { |
| 287 |
// background: #096484; |
| 288 |
// } |
| 289 |
|
| 290 |
td { |
| 291 |
.ui-state-hover, .ui-state-active { |
| 292 |
background: #096484; |
| 293 |
color: #fff; |
| 294 |
} |
| 295 |
|
| 296 |
&.ui-datepicker-today { |
| 297 |
background: #eee; |
| 298 |
} |
| 299 |
} |
| 300 |
|
| 301 |
} |
| 302 |
} |
| 303 |
.admin-color-coffee { |
| 304 |
.cmb2-element.ui-datepicker, .cmb2-element .ui-datepicker { |
| 305 |
.ui-widget-header, |
| 306 |
.ui-datepicker-header { |
| 307 |
background: #59524c; |
| 308 |
} |
| 309 |
|
| 310 |
thead { |
| 311 |
background: #46403c; |
| 312 |
} |
| 313 |
|
| 314 |
td .ui-state-hover { |
| 315 |
background: #c7a589; |
| 316 |
color: #fff; |
| 317 |
} |
| 318 |
} |
| 319 |
} |
| 320 |
.admin-color-ectoplasm { |
| 321 |
.cmb2-element.ui-datepicker, .cmb2-element .ui-datepicker { |
| 322 |
.ui-widget-header, |
| 323 |
.ui-datepicker-header { |
| 324 |
background: #523f6d; |
| 325 |
} |
| 326 |
|
| 327 |
thead { |
| 328 |
background: #413256; |
| 329 |
} |
| 330 |
|
| 331 |
td .ui-state-hover { |
| 332 |
background: #a3b745; |
| 333 |
color: #fff; |
| 334 |
} |
| 335 |
} |
| 336 |
} |
| 337 |
.admin-color-midnight { |
| 338 |
.cmb2-element.ui-datepicker, .cmb2-element .ui-datepicker { |
| 339 |
.ui-widget-header, |
| 340 |
.ui-datepicker-header { |
| 341 |
background: #363b3f; |
| 342 |
} |
| 343 |
|
| 344 |
thead { |
| 345 |
background: #26292c; |
| 346 |
} |
| 347 |
|
| 348 |
td .ui-state-hover { |
| 349 |
background: #e14d43; |
| 350 |
color: #fff; |
| 351 |
} |
| 352 |
} |
| 353 |
} |
| 354 |
.admin-color-ocean { |
| 355 |
.cmb2-element.ui-datepicker, .cmb2-element .ui-datepicker { |
| 356 |
.ui-widget-header, |
| 357 |
.ui-datepicker-header { |
| 358 |
background: #738e96; |
| 359 |
} |
| 360 |
|
| 361 |
thead { |
| 362 |
background: #627c83; |
| 363 |
} |
| 364 |
|
| 365 |
td .ui-state-hover { |
| 366 |
background: #9ebaa0; |
| 367 |
color: #fff; |
| 368 |
} |
| 369 |
} |
| 370 |
} |
| 371 |
.admin-color-sunrise { |
| 372 |
.cmb2-element.ui-datepicker, .cmb2-element .ui-datepicker { |
| 373 |
.ui-widget-header, |
| 374 |
.ui-datepicker-header, |
| 375 |
.ui-datepicker-header .ui-state-hover { |
| 376 |
background: #cf4944; |
| 377 |
} |
| 378 |
|
| 379 |
th { |
| 380 |
border-color: #be3631; |
| 381 |
background: #be3631; |
| 382 |
} |
| 383 |
|
| 384 |
td .ui-state-hover { |
| 385 |
background: #dd823b; |
| 386 |
color: #fff; |
| 387 |
} |
| 388 |
} |
| 389 |
} |
| 390 |
.admin-color-light { |
| 391 |
.cmb2-element.ui-datepicker, .cmb2-element .ui-datepicker { |
| 392 |
.ui-widget-header, |
| 393 |
.ui-datepicker-header { |
| 394 |
background: #e5e5e5; |
| 395 |
} |
| 396 |
|
| 397 |
select.ui-datepicker-month, |
| 398 |
select.ui-datepicker-year { |
| 399 |
color: #555; |
| 400 |
} |
| 401 |
|
| 402 |
thead { |
| 403 |
background: #888; |
| 404 |
} |
| 405 |
|
| 406 |
.ui-datepicker-title, |
| 407 |
td .ui-state-default, |
| 408 |
.ui-datepicker-prev:before, |
| 409 |
.ui-datepicker-next:before { |
| 410 |
color: #555; |
| 411 |
} |
| 412 |
|
| 413 |
td { |
| 414 |
.ui-state-hover, .ui-state-active { |
| 415 |
background: #ccc; |
| 416 |
} |
| 417 |
|
| 418 |
&.ui-datepicker-today { |
| 419 |
background: #eee; |
| 420 |
} |
| 421 |
} |
| 422 |
} |
| 423 |
} |
| 424 |
.admin-color-bbp-evergreen { |
| 425 |
.cmb2-element.ui-datepicker, .cmb2-element .ui-datepicker { |
| 426 |
.ui-widget-header, |
| 427 |
.ui-datepicker-header { |
| 428 |
background: #56b274; |
| 429 |
} |
| 430 |
|
| 431 |
thead { |
| 432 |
background: #36533f; |
| 433 |
} |
| 434 |
|
| 435 |
td .ui-state-hover { |
| 436 |
background: #446950; |
| 437 |
color: #fff; |
| 438 |
} |
| 439 |
} |
| 440 |
} |
| 441 |
.admin-color-bbp-mint { |
| 442 |
.cmb2-element.ui-datepicker, .cmb2-element .ui-datepicker { |
| 443 |
.ui-widget-header, |
| 444 |
.ui-datepicker-header { |
| 445 |
background: #4ca26a; |
| 446 |
} |
| 447 |
|
| 448 |
thead { |
| 449 |
background: #4f6d59; |
| 450 |
} |
| 451 |
|
| 452 |
td .ui-state-hover { |
| 453 |
background: #5fb37c; |
| 454 |
color: #fff; |
| 455 |
} |
| 456 |
} |
| 457 |
} |
| 458 |
|