| 1 |
/** |
| 2 |
* Attendance Manager Admin Styles CSS |
| 3 |
*/ |
| 4 |
|
| 5 |
/** |
| 6 |
* Today's staff |
| 7 |
*/ |
| 8 |
ul.staff_block { |
| 9 |
margin: 0; |
| 10 |
padding: 0; |
| 11 |
*zoom: 1; |
| 12 |
} |
| 13 |
ul.staff_block:before, |
| 14 |
ul.staff_block:after { |
| 15 |
content: " "; |
| 16 |
display: table; |
| 17 |
} |
| 18 |
ul.staff_block:after { |
| 19 |
clear: both; |
| 20 |
} |
| 21 |
ul.staff_block li { |
| 22 |
float: left; |
| 23 |
width: 100px; |
| 24 |
list-style: none; |
| 25 |
margin: 5px; |
| 26 |
padding: 10px; |
| 27 |
text-align: center; |
| 28 |
border: 1px solid #ddd; |
| 29 |
} |
| 30 |
ul.staff_block li img { |
| 31 |
box-shadow: none; |
| 32 |
} |
| 33 |
ul.staff_block li .post-info { |
| 34 |
font-size: 1em; |
| 35 |
line-height: 1.5em; |
| 36 |
} |
| 37 |
|
| 38 |
/** |
| 39 |
* Weekly schedule |
| 40 |
*/ |
| 41 |
table.attmgr_weekly_all { |
| 42 |
width: 100%; |
| 43 |
border-collapse: collapse !important; |
| 44 |
border: 1px solid #ddd; |
| 45 |
} |
| 46 |
table.attmgr_weekly_all th, |
| 47 |
table.attmgr_weekly_all td { |
| 48 |
width: 12.5%; |
| 49 |
padding: 5px auto; |
| 50 |
vertical-align: middle !important; |
| 51 |
text-align: center; |
| 52 |
border: 1px solid #ddd !important; |
| 53 |
} |
| 54 |
table.attmgr_weekly_all td.portrait img { |
| 55 |
width: 50px; |
| 56 |
margin: 8px; |
| 57 |
} |
| 58 |
table.attmgr_weekly_all .date { |
| 59 |
font-size: 0.9em; |
| 60 |
} |
| 61 |
table.attmgr_weekly_all .dow { |
| 62 |
margin-left: 5px; |
| 63 |
font-size: 0.8em; |
| 64 |
} |
| 65 |
table.attmgr_weekly_all td.working { |
| 66 |
|
| 67 |
} |
| 68 |
table.attmgr_weekly_all td.not_working { |
| 69 |
background-color: #f6f6f6; |
| 70 |
} |
| 71 |
|
| 72 |
/** |
| 73 |
* Weekly personal schedule |
| 74 |
*/ |
| 75 |
table.attmgr_weekly { |
| 76 |
width: 100%; |
| 77 |
border-collapse: collapse !important; |
| 78 |
border: 1px solid #ddd; |
| 79 |
} |
| 80 |
table.attmgr_weekly th, |
| 81 |
table.attmgr_weekly td { |
| 82 |
width: 14.2%; |
| 83 |
padding: 5px auto; |
| 84 |
vertical-align: middle !important; |
| 85 |
text-align: center; |
| 86 |
border: 1px solid #ddd !important; |
| 87 |
} |
| 88 |
table.attmgr_weekly .date { |
| 89 |
font-size: 0.9em; |
| 90 |
} |
| 91 |
table.attmgr_weekly .dow { |
| 92 |
margin-left: 5px; |
| 93 |
font-size: 0.8em; |
| 94 |
} |
| 95 |
table.attmgr_weekly td.working { |
| 96 |
|
| 97 |
} |
| 98 |
table.attmgr_weekly td.not_working { |
| 99 |
background-color: #f6f6f6; |
| 100 |
} |
| 101 |
|
| 102 |
/** |
| 103 |
* Scheduler for admin |
| 104 |
*/ |
| 105 |
form#attmgr_admin_scheduler { |
| 106 |
clear: both; |
| 107 |
} |
| 108 |
form#attmgr_admin_scheduler table.attmgr_admin_scheduler { |
| 109 |
width: 100%; |
| 110 |
border-collapse: collapse !important; |
| 111 |
border: 1px solid #ddd; |
| 112 |
} |
| 113 |
form#attmgr_admin_scheduler table.attmgr_admin_scheduler th, |
| 114 |
form#attmgr_admin_scheduler table.attmgr_admin_scheduler td { |
| 115 |
width: 12.5%; |
| 116 |
padding: 5px auto; |
| 117 |
vertical-align: middle !important; |
| 118 |
text-align: center; |
| 119 |
border: 1px solid #ddd !important; |
| 120 |
line-height: 1.5em; |
| 121 |
} |
| 122 |
form#attmgr_admin_scheduler table.attmgr_admin_scheduler td.portrait img { |
| 123 |
width: 50px; |
| 124 |
margin: 8px; |
| 125 |
} |
| 126 |
form#attmgr_admin_scheduler table.attmgr_admin_scheduler td select { |
| 127 |
margin-bottom: 3px; |
| 128 |
} |
| 129 |
|
| 130 |
/** |
| 131 |
* Scheduler for staff |
| 132 |
*/ |
| 133 |
form#attmgr_staff_scheduler { |
| 134 |
clear: both; |
| 135 |
} |
| 136 |
form#attmgr_staff_scheduler .portrait { |
| 137 |
float: left; |
| 138 |
width: 80px; |
| 139 |
margin-right: 10px; |
| 140 |
} |
| 141 |
form#attmgr_staff_scheduler .portrait img { |
| 142 |
width: 60px; |
| 143 |
margin: 10px; |
| 144 |
} |
| 145 |
form#attmgr_staff_scheduler .profile { |
| 146 |
float: left; |
| 147 |
} |
| 148 |
table.attmgr_staff_scheduler { |
| 149 |
clear: both; |
| 150 |
} |
| 151 |
|
| 152 |
/* |
| 153 |
* Calendar |
| 154 |
*/ |
| 155 |
table.attmgr_calendar { |
| 156 |
width: 100%; |
| 157 |
border-collapse: collapse !important; |
| 158 |
} |
| 159 |
table.attmgr_calendar th, |
| 160 |
table.attmgr_calendar td { |
| 161 |
padding: 0 !important; |
| 162 |
text-align: center; |
| 163 |
border: 1px solid #ddd !important; |
| 164 |
} |
| 165 |
table.attmgr_calendar th.sunday { |
| 166 |
background-color: #ffeef6; |
| 167 |
color: #c06; |
| 168 |
} |
| 169 |
table.attmgr_calendar th.saturday { |
| 170 |
background-color: #eef6ff; |
| 171 |
color: #06c; |
| 172 |
} |
| 173 |
table.attmgr_calendar td.today { |
| 174 |
background-color: #ffeecc; |
| 175 |
} |
| 176 |
table.attmgr_calendar_weekly td .wmonth { |
| 177 |
font-size: x-small; |
| 178 |
color: #999; |
| 179 |
} |
| 180 |
|
| 181 |
/** |
| 182 |
* Monthly schedule |
| 183 |
*/ |
| 184 |
table.attmgr_monthly_schedule { |
| 185 |
background-color: #fff; |
| 186 |
} |
| 187 |
table.attmgr_monthly_schedule th, |
| 188 |
table.attmgr_monthly_schedule td { |
| 189 |
width: 14%; |
| 190 |
} |
| 191 |
table.attmgr_monthly_schedule th { |
| 192 |
|
| 193 |
} |
| 194 |
table.attmgr_monthly_schedule td { |
| 195 |
vertical-align: top; |
| 196 |
} |
| 197 |
table.attmgr_monthly_schedule td:first-child:before { |
| 198 |
display: block; |
| 199 |
float: left; |
| 200 |
height: 42px; |
| 201 |
content: ""; |
| 202 |
} |
| 203 |
|
| 204 |
/* .day */ |
| 205 |
table.attmgr_monthly_schedule td .day { |
| 206 |
text-align: center; |
| 207 |
} |
| 208 |
table.attmgr_monthly_schedule td .day a { |
| 209 |
display: block; |
| 210 |
} |
| 211 |
table.attmgr_monthly_schedule td:hover { |
| 212 |
|
| 213 |
} |
| 214 |
|
| 215 |
/* .info */ |
| 216 |
table.attmgr_monthly_schedule td .info { |
| 217 |
border-top: 1px dotted #ddd; |
| 218 |
} |
| 219 |
table.attmgr_monthly_schedule td .info div { |
| 220 |
text-align: left; |
| 221 |
line-height: 1.3em; |
| 222 |
} |
| 223 |
table.attmgr_monthly_schedule td .info a { |
| 224 |
display: block; |
| 225 |
padding: 3px 10px; |
| 226 |
} |
| 227 |
|
| 228 |
/* .saturday */ |
| 229 |
table.attmgr_monthly_schedule th.saturday { |
| 230 |
background-color: #eef6ff; |
| 231 |
color: #06c; |
| 232 |
} |
| 233 |
|
| 234 |
/* .sunday */ |
| 235 |
table.attmgr_monthly_schedule th.sunday { |
| 236 |
background-color: #ffeef6; |
| 237 |
color: #c06; |
| 238 |
} |
| 239 |
|
| 240 |
/** |
| 241 |
* Weekly guide |
| 242 |
*/ |
| 243 |
table.attmgr_guide_weekly { |
| 244 |
width: 100%; |
| 245 |
margin-bottom: 15px; |
| 246 |
border-collapse: collapse !important; |
| 247 |
border: 1px solid #ddd; |
| 248 |
} |
| 249 |
table.attmgr_guide_weekly td { |
| 250 |
width: 12.5%; |
| 251 |
padding: 5px auto; |
| 252 |
vertical-align: middle !important; |
| 253 |
text-align: center; |
| 254 |
border: 1px solid #ddd !important; |
| 255 |
} |
| 256 |
table.attmgr_guide_weekly td.current { |
| 257 |
background-color: #f0f6ff; |
| 258 |
} |
| 259 |
table.attmgr_guide_weekly td a { |
| 260 |
display: block; |
| 261 |
padding: 8px auto !important; |
| 262 |
text-decoration: none; |
| 263 |
} |
| 264 |
table.attmgr_guide_weekly .date { |
| 265 |
font-size: 0.9em; |
| 266 |
} |
| 267 |
table.attmgr_guide_weekly .dow { |
| 268 |
margin-left: 5px; |
| 269 |
font-size: 0.8em; |
| 270 |
} |
| 271 |
|
| 272 |
/* |
| 273 |
* Page navi |
| 274 |
*/ |
| 275 |
.list_pagenavi { |
| 276 |
display: block; |
| 277 |
height: 1em; |
| 278 |
} |
| 279 |
.list_pagenavi:after { |
| 280 |
content: ""; |
| 281 |
clear: both; |
| 282 |
height: 0; |
| 283 |
display: block; |
| 284 |
visibility: hidden; |
| 285 |
} |
| 286 |
.list_pagenavi .prev_page { |
| 287 |
float: left; |
| 288 |
width: 20%; |
| 289 |
} |
| 290 |
.list_pagenavi .next_page { |
| 291 |
float: right; |
| 292 |
width: 20%; |
| 293 |
text-align: right; |
| 294 |
} |
| 295 |
.list_pagenavi .list_datenavi { |
| 296 |
float: left; |
| 297 |
width: 60%; |
| 298 |
text-align: center; |
| 299 |
} |
| 300 |
.list_pagenavi .list_datenavi a { |
| 301 |
margin: auto 10px; |
| 302 |
} |
| 303 |
.list_pagenavi .back_today { |
| 304 |
font-size: x-small; |
| 305 |
} |
| 306 |
|
| 307 |
/* |
| 308 |
* info box |
| 309 |
*/ |
| 310 |
.alert { |
| 311 |
clear: both; |
| 312 |
padding: 8px 35px 8px 14px; |
| 313 |
margin-top: 10px; |
| 314 |
margin-bottom: 20px; |
| 315 |
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); |
| 316 |
background-color: transparent; |
| 317 |
border: 1px solid #ddd; |
| 318 |
-webkit-border-radius: 4px; |
| 319 |
-moz-border-radius: 4px; |
| 320 |
border-radius: 4px; |
| 321 |
} |
| 322 |
|
| 323 |
.alert h4 { |
| 324 |
margin: 0; |
| 325 |
} |
| 326 |
|
| 327 |
.alert .close { |
| 328 |
position: relative; |
| 329 |
top: -2px; |
| 330 |
right: -21px; |
| 331 |
line-height: 20px; |
| 332 |
} |
| 333 |
|
| 334 |
.alert-caution { |
| 335 |
color: #c09853; |
| 336 |
background-color: #fcf8e3; |
| 337 |
border: 1px solid #fbeed5; |
| 338 |
} |
| 339 |
.alert-caution h4 { |
| 340 |
color: #c09853; |
| 341 |
} |
| 342 |
|
| 343 |
.alert-success { |
| 344 |
color: #468847; |
| 345 |
background-color: #dff0d8; |
| 346 |
border-color: #d6e9c6; |
| 347 |
} |
| 348 |
|
| 349 |
.alert-success h4 { |
| 350 |
color: #468847; |
| 351 |
} |
| 352 |
|
| 353 |
.alert-danger, |
| 354 |
.alert-error { |
| 355 |
color: #b94a48; |
| 356 |
background-color: #f2dede; |
| 357 |
border-color: #eed3d7; |
| 358 |
} |
| 359 |
|
| 360 |
.alert-danger h4, |
| 361 |
.alert-error h4 { |
| 362 |
color: #b94a48; |
| 363 |
} |
| 364 |
|
| 365 |
.alert-info { |
| 366 |
color: #3a87ad; |
| 367 |
background-color: #d9edf7; |
| 368 |
border-color: #bce8f1; |
| 369 |
} |
| 370 |
|
| 371 |
.alert-info h4 { |
| 372 |
color: #3a87ad; |
| 373 |
} |
| 374 |
|
| 375 |
.alert-block { |
| 376 |
padding-top: 14px; |
| 377 |
padding-bottom: 14px; |
| 378 |
} |
| 379 |
|
| 380 |
.alert-block > p, |
| 381 |
.alert-block > ul { |
| 382 |
margin-bottom: 0; |
| 383 |
} |
| 384 |
|
| 385 |
.alert-block p + p { |
| 386 |
margin-top: 5px; |
| 387 |
} |
| 388 |
|
| 389 |
/* |
| 390 |
* Mobile |
| 391 |
*/ |
| 392 |
@media screen and (max-width: 480px) { |
| 393 |
table.attmgr_guide_weekly th, |
| 394 |
table.attmgr_guide_weekly td, |
| 395 |
table.attmgr_monthly_schedule th, |
| 396 |
table.attmgr_monthly_schedule td, |
| 397 |
table.attmgr_admin_scheduler th, |
| 398 |
table.attmgr_admin_scheduler td, |
| 399 |
table.attmgr_weekly th, |
| 400 |
table.attmgr_weekly td, |
| 401 |
table.attmgr_weekly_all th, |
| 402 |
table.attmgr_weekly_all td { |
| 403 |
padding: 3px 0; |
| 404 |
font-size: x-small; |
| 405 |
font-weight: normal; |
| 406 |
} |
| 407 |
table.attmgr_guide_weekly .date, |
| 408 |
table.attmgr_guide_weekly .dow, |
| 409 |
table.attmgr_monthly_schedule .date, |
| 410 |
table.attmgr_monthly_schedule .dow, |
| 411 |
table.attmgr_admin_scheduler .date, |
| 412 |
table.attmgr_admin_scheduler .dow, |
| 413 |
table.attmgr_weekly .date, |
| 414 |
table.attmgr_weekly .dow, |
| 415 |
table.attmgr_weekly_all .date, |
| 416 |
table.attmgr_weekly_all .dow { |
| 417 |
display:block; |
| 418 |
line-height: 1.3em; |
| 419 |
} |
| 420 |
table .portrait img { |
| 421 |
/* |
| 422 |
width: auto !important; |
| 423 |
height: auto !important; |
| 424 |
*/ |
| 425 |
} |
| 426 |
.list_pagenavi, |
| 427 |
.list_datenavi { |
| 428 |
font-size: x-small; |
| 429 |
} |
| 430 |
} |
| 431 |
|
| 432 |
|