1234567891011121314151617181920212223242526272829 |
- /*
- * jsCalendar v1.4.2
- *
- *
- * MIT License
- *
- * Copyright (c) 2018 Grammatopoulos Athanasios-Vasileios
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- *
- */
- .jsCalendar *{padding:0;margin:0}.jsCalendar table,.jsCalendar table td,.jsCalendar table th{border:0}.jsCalendar table{color:#000;background-color:#fff;border-collapse:collapse;font-family:Tahoma,Geneva,sans-serif;margin:5px;box-shadow:0 0 2px rgba(0,0,0,.4);border-radius:4px}.jsCalendar thead .jsCalendar-title{height:40px;line-height:40px}.jsCalendar thead .jsCalendar-title-left{float:left}.jsCalendar thead .jsCalendar-title-right{float:right}.jsCalendar thead .jsCalendar-nav-left,.jsCalendar thead .jsCalendar-nav-right{font-family:"Courier New",Courier,monospace;font-size:12px;font-weight:700;height:20px;width:20px;margin:10px 8px;text-align:center;line-height:20px;cursor:pointer;color:#999;border-radius:10px;transition:color .2s,background-color .2s}.jsCalendar thead .jsCalendar-nav-left:hover,.jsCalendar thead .jsCalendar-nav-right:hover{background-color:#e2e2e2;color:#000}.jsCalendar thead .jsCalendar-nav-left{float:left}.jsCalendar thead .jsCalendar-nav-right{float:right}.jsCalendar thead .jsCalendar-title-name{font-size:18px;font-weight:lighter;float:left;padding:0 20px;cursor:default}.jsCalendar thead .jsCalendar-nav-left:after{content:"<"}.jsCalendar thead .jsCalendar-nav-right:after{content:">"}.jsCalendar thead .jsCalendar-week-days th{text-shadow:0 0 1px rgba(0,0,0,.2)}.jsCalendar tbody td,.jsCalendar thead .jsCalendar-week-days th{display:inline-block;height:36px;width:36px;margin:1px 2px;line-height:36px;text-align:center;font-size:12px;font-weight:lighter;cursor:default;transition:color .1s,background-color .2s;border-radius:18px}.jsCalendar tbody td:hover{background-color:#e6e6e6}.jsCalendar tbody td.jsCalendar-selected{border:2px solid #e6e6e6;background-color:#fff;height:32px;width:32px;line-height:32px}.jsCalendar tbody td.jsCalendar-current{background-color:#52c9ff;border-radius:18px;color:#fff}.jsCalendar.classic-theme table,.jsCalendar.classic-theme tbody td,.jsCalendar.classic-theme tbody td.jsCalendar-current,.jsCalendar.classic-theme thead .jsCalendar-nav-left,.jsCalendar.classic-theme thead .jsCalendar-nav-right,.jsCalendar.classic-theme thead .jsCalendar-week-days th,.jsCalendar.material-theme table{border-radius:0}.jsCalendar tbody td.jsCalendar-next,.jsCalendar tbody td.jsCalendar-previous{color:#cacaca}.jsCalendar tbody td.jsCalendar-next:hover,.jsCalendar tbody td.jsCalendar-previous:hover{color:#fff}.jsCalendar thead{display:block;margin:4px 4px 0}.jsCalendar tbody{display:block;margin:0 4px 4px}.jsCalendar ::selection{background:#83d8ff}.jsCalendar ::-moz-selection{background:#83d8ff}.jsCalendar.yellow tbody td.jsCalendar-current{background-color:#ffe31b}.jsCalendar.yellow ::selection{background:#FDE74C}.jsCalendar.yellow ::-moz-selection{background:#FDE74C}.jsCalendar.orange tbody td.jsCalendar-current{background-color:#FFB400}.jsCalendar.orange ::selection{background:#FFB400}.jsCalendar.orange ::-moz-selection{background:#FFB400}.jsCalendar.red tbody td.jsCalendar-current{background-color:#F6511D}.jsCalendar.red ::selection{background:#F6511D}.jsCalendar.red ::-moz-selection{background:#F6511D}.jsCalendar.green tbody td.jsCalendar-current{background-color:#7FB800}.jsCalendar.green ::selection{background:#7FB800}.jsCalendar.green ::-moz-selection{background:#7FB800}.jsCalendar.material-theme thead{margin:0;padding:4px 4px 0;background-color:#52c9ff;color:#fff}.jsCalendar.material-theme thead .jsCalendar-title{display:block;position:relative}.jsCalendar.material-theme thead .jsCalendar-title-name{color:#fff;text-align:center;position:absolute;left:15px;right:15px;font-size:16px;border-bottom:1px solid rgba(255,255,255,.4)}.jsCalendar.material-theme thead .jsCalendar-title-left,.jsCalendar.material-theme thead .jsCalendar-title-right{position:absolute;z-index:1}.jsCalendar.material-theme thead .jsCalendar-nav-left,.jsCalendar.material-theme thead .jsCalendar-nav-right{color:#fff}.jsCalendar.material-theme thead .jsCalendar-nav-left:hover,.jsCalendar.material-theme thead .jsCalendar-nav-right:hover{background-color:#03A9F4}.jsCalendar.material-theme thead .jsCalendar-title-right{right:0}.jsCalendar.material-theme thead .jsCalendar-week-days th{font-size:14px;text-shadow:none}.jsCalendar.material-theme.yellow thead{background-color:#ffe31b}.jsCalendar.material-theme.yellow thead .jsCalendar-nav-left:hover,.jsCalendar.material-theme.yellow thead .jsCalendar-nav-right:hover{background-color:#e2ca23}.jsCalendar.material-theme.orange thead{background-color:#FFB400}.jsCalendar.material-theme.orange thead .jsCalendar-nav-left:hover,.jsCalendar.material-theme.orange thead .jsCalendar-nav-right:hover{background-color:#d49600}.jsCalendar.material-theme.red thead{background-color:#F6511D}.jsCalendar.material-theme.red thead .jsCalendar-nav-left:hover,.jsCalendar.material-theme.red thead .jsCalendar-nav-right:hover{background-color:#bb3d16}.jsCalendar.material-theme.green thead{background-color:#7FB800}.jsCalendar.material-theme.green thead .jsCalendar-nav-left:hover,.jsCalendar.material-theme.green thead .jsCalendar-nav-right:hover{background-color:#639000}.jsCalendar.classic-theme thead{margin:0;background-color:#52c9ff;padding:4px 4px 0}.jsCalendar.classic-theme thead .jsCalendar-title,.jsCalendar.classic-theme thead .jsCalendar-title-row{display:block;width:100%}.jsCalendar.classic-theme thead .jsCalendar-title{position:relative}.jsCalendar.classic-theme thead .jsCalendar-title-name{font-size:16px;color:#fff;text-shadow:none;text-align:center;position:absolute;left:41px;right:41px}.jsCalendar.classic-theme thead .jsCalendar-title-left,.jsCalendar.classic-theme thead .jsCalendar-title-right{position:absolute;z-index:1}.jsCalendar.classic-theme thead .jsCalendar-title-right{right:0}.jsCalendar.classic-theme thead .jsCalendar-nav-left,.jsCalendar.classic-theme thead .jsCalendar-nav-right{color:#fff;text-shadow:none}.jsCalendar.classic-theme thead .jsCalendar-nav-left:hover,.jsCalendar.classic-theme thead .jsCalendar-nav-right:hover{background-color:#03A9F4}.jsCalendar.classic-theme thead .jsCalendar-week-days{background-color:#fff;display:block;margin:0 -4px}.jsCalendar.classic-theme thead .jsCalendar-week-days th{height:20px;line-height:20px;font-size:10px;text-shadow:none}.jsCalendar.classic-theme tbody td{padding:1px 1px 0;margin:-1px 0 0 -1px;border-top:1px solid #dadada;border-left:1px solid #dadada;width:38px}.jsCalendar.classic-theme tbody{margin:0}.jsCalendar.classic-theme tbody td.jsCalendar-selected{border-top:1px solid #dadada;border-left:1px solid #dadada;border-right:0;border-bottom:0;height:36px;line-height:36px;background-color:#ccefff}.jsCalendar.classic-theme tbody td.jsCalendar-current.jsCalendar-selected{background-color:#52c9ff;text-shadow:0 0 3px #000}.jsCalendar.classic-theme.yellow thead{background-color:#ffe31b}.jsCalendar.classic-theme.yellow thead .jsCalendar-nav-left:hover,.jsCalendar.classic-theme.yellow thead .jsCalendar-nav-right:hover{background-color:#e2ca23}.jsCalendar.classic-theme.orange thead{background-color:#FFB400}.jsCalendar.classic-theme.orange thead .jsCalendar-nav-left:hover,.jsCalendar.classic-theme.orange thead .jsCalendar-nav-right:hover{background-color:#d49600}.jsCalendar.classic-theme.red thead{background-color:#F6511D}.jsCalendar.classic-theme.red thead .jsCalendar-nav-left:hover,.jsCalendar.classic-theme.red thead .jsCalendar-nav-right:hover{background-color:#bb3d16}.jsCalendar.classic-theme.green thead{background-color:#7FB800}.jsCalendar.classic-theme.green thead .jsCalendar-nav-left:hover,.jsCalendar.classic-theme.green thead .jsCalendar-nav-right:hover{background-color:#639000}
|