-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8f3e836
commit d0fa34b
Showing
2 changed files
with
137 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>jsCalendar</title> | ||
<meta name="description" content="jsCalendar example"> | ||
<meta name="author" content="GramThanos"> | ||
<link rel="stylesheet" type="text/css" href="../source/jsCalendar.css"> | ||
<link rel="stylesheet" type="text/css" href="../themes/jsCalendar.darkseries.css"> | ||
|
||
<!-- jsCalendar --> | ||
<script type="text/javascript" src="../source/jsCalendar.js"></script> | ||
|
||
<!--[if lt IE 9]> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.js"></script> | ||
<![endif]--> | ||
</head> | ||
<body> | ||
<!-- Black theme --> | ||
<div class="auto-jsCalendar black-theme"></div> | ||
<!-- White theme --> | ||
<div class="auto-jsCalendar white-theme"></div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,113 @@ | ||
/* | ||
* jsCalendar theme | ||
* DarkSeries v1.0 | ||
* | ||
* | ||
* MIT License | ||
* | ||
* Copyright (c) 2017 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. | ||
* | ||
*/ | ||
|
||
|
||
/* Black Theme */ | ||
.jsCalendar.black-theme table { | ||
color: #cccccc; | ||
background-color: #000000; | ||
box-shadow: 0px 0px 2px rgba(80, 80, 80, 0.4); | ||
} | ||
.jsCalendar.black-theme thead .jsCalendar-nav-left, | ||
.jsCalendar.black-theme thead .jsCalendar-nav-right { | ||
color: #505050; | ||
} | ||
.jsCalendar.black-theme thead .jsCalendar-nav-left:hover, | ||
.jsCalendar.black-theme thead .jsCalendar-nav-right:hover { | ||
background-color: #252525; | ||
color: #aaaaaa; | ||
} | ||
.jsCalendar.black-theme tbody td:hover { | ||
background-color: #252525; | ||
color: #ffffff; | ||
} | ||
.jsCalendar.black-theme tbody td.jsCalendar-selected { | ||
border: 2px solid #404040; | ||
background-color: #000000; | ||
} | ||
.jsCalendar.black-theme tbody td.jsCalendar-current { | ||
background-color: #252525; | ||
} | ||
.jsCalendar.black-theme tbody td.jsCalendar-previous, | ||
.jsCalendar.black-theme tbody td.jsCalendar-next { | ||
color: #505050; | ||
} | ||
.jsCalendar.black-theme tbody td.jsCalendar-previous:hover, | ||
.jsCalendar.black-theme tbody td.jsCalendar-next:hover { | ||
color: #ffffff; | ||
} | ||
.jsCalendar.black-theme *::selection { | ||
background: #505050; | ||
} | ||
.jsCalendar.black-theme *::-moz-selection { | ||
background: #505050; | ||
} | ||
|
||
|
||
/* White Theme */ | ||
.jsCalendar.white-theme table { | ||
color: #333333; | ||
background-color: #ffffff; | ||
box-shadow: 0px 0px 2px rgba(80, 80, 80, 0.4); | ||
} | ||
.jsCalendar.white-theme thead .jsCalendar-nav-left, | ||
.jsCalendar.white-theme thead .jsCalendar-nav-right { | ||
color: #afafaf; | ||
} | ||
.jsCalendar.white-theme thead .jsCalendar-nav-left:hover, | ||
.jsCalendar.white-theme thead .jsCalendar-nav-right:hover { | ||
background-color: #dadada; | ||
color: #555555; | ||
} | ||
.jsCalendar.white-theme tbody td:hover { | ||
background-color: #dadada; | ||
color: #000000; | ||
} | ||
.jsCalendar.white-theme tbody td.jsCalendar-selected { | ||
border: 2px solid #bfbfbf; | ||
} | ||
.jsCalendar.white-theme tbody td.jsCalendar-current { | ||
background-color: #222222; | ||
} | ||
.jsCalendar.white-theme tbody td.jsCalendar-current:hover { | ||
color: #ffffff; | ||
} | ||
.jsCalendar.white-theme tbody td.jsCalendar-previous, | ||
.jsCalendar.white-theme tbody td.jsCalendar-next { | ||
color: #afafaf; | ||
} | ||
.jsCalendar.white-theme tbody td.jsCalendar-previous:hover, | ||
.jsCalendar.white-theme tbody td.jsCalendar-next:hover { | ||
color: #000000; | ||
} | ||
.jsCalendar.white-theme *::selection { | ||
background: #afafaf; | ||
} | ||
.jsCalendar.white-theme *::-moz-selection { | ||
background: #afafaf; |