Ajax Loader
HTML
<!DOCTYPE html>
1
<!DOCTYPE html>
2
<!--[if lt IE 7]> <html class="lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
3
<!--[if IE 7]> <html class="lt-ie9 lt-ie8" lang="en"> <![endif]-->
4
<!--[if IE 8]> <html class="lt-ie9" lang="en"> <![endif]-->
5
<!--[if gt IE 8]><!--> <html lang="en"> <!--<![endif]-->
6
<head>
7
  <meta charset="utf-8">
8
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
9
  <title>Calendar</title>
10
  <!--[if lt IE 9]><script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
11
</head>
12
<body>
13
  <table class="cal">
14
    <caption>
15
      <span class="prev"><a href="#">&larr;</a></span>
16
      <span class="next"><a href="#">&rarr;</a></span>
17
      January 2012
18
    </caption>
19
    <thead>
20
      <tr>
21
        <th>Mon</th>
22
        <th>Tue</th>
23
        <th>Wed</th>
24
        <th>Thu</th>
25
        <th>Fri</th>
26
        <th>Sat</th>
27
        <th>Sun</th>
28
      </tr>
29
    </thead>
30
    <tbody>
31
      <tr>
32
        <td class="off"><a href="#">26</a></td>
33
        <td class="off"><a href="#">27</a></td>
34
        <td class="off"><a href="#">28</a></td>
35
        <td class="off"><a href="#">29</a></td>
36
        <td class="off"><a href="#">30</a></td>
37
        <td class="off"><a href="#">31</a></td>
38
        <td><a href="#">1</a></td>
39
      </tr>
40
      <tr>
41
        <td><a href="#">2</a></td>
42
        <td><a href="#">3</a></td>
43
        <td><a href="#">4</a></td>
44
        <td><a href="#">5</a></td>
45
        <td><a href="#">6</a></td>
46
        <td><a href="#">7</a></td>
47
        <td><a href="#">8</a></td>
48
      </tr>
49
      <tr>
50
        <td><a href="#">9</a></td>
51
        <td><a href="#">10</a></td>
52
        <td><a href="#">11</a></td>
53
        <td><a href="#">12</a></td>
54
        <td><a href="#">13</a></td>
55
        <td><a href="#">14</a></td>
56
        <td><a href="#">15</a></td>
57
      </tr>
58
      <tr>
59
        <td><a href="#">16</a></td>
60
        <td><a href="#">17</a></td>
61
        <td><a href="#">18</a></td>
62
        <td><a href="#">19</a></td>
63
        <td><a href="#">20</a></td>
64
        <td><a href="#">21</a></td>
65
        <td><a href="#">22</a></td>
66
      </tr>
67
      <tr>
68
        <td><a href="#">23</a></td>
69
        <td><a href="#">24</a></td>
70
        <td><a href="#">25</a></td>
71
        <td><a href="#">26</a></td>
72
        <td><a href="#">27</a></td>
73
        <td class="active"><a href="#">28</a></td>
74
        <td><a href="#">29</a></td>
75
      </tr>
76
      <tr>
77
        <td><a href="#">30</a></td>
78
        <td><a href="#">31</a></td>
79
        <td class="off"><a href="#">1</a></td>
80
        <td class="off"><a href="#">2</a></td>
81
        <td class="off"><a href="#">3</a></td>
82
        <td class="off"><a href="#">4</a></td>
83
        <td class="off"><a href="#">5</a></td>
84
      </tr>
85
    </tbody>
86
  </table>
87
</body>
88
</html>
89
 
 
CSS
/*
1
/*
2
 * Copyright (c) 2012 Thibaut Courouble
3
 * http://www.cssflow.com
4
 *
5
 * Licensed under the MIT License:
6
 * http://www.opensource.org/licenses/mit-license.php
7
 *
8
 * View the Sass/SCSS source at:
9
 * http://www.cssflow.com/snippets/little-calendar/demo/scss
10
 *
11
 * Original PSD by Orman Clark: http://goo.gl/5vBbm
12
 */
13
 
14
@import "http://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.css";
15
 
16
body {
17
  font: 13px/20px "Lucida Grande", Tahoma, Verdana, sans-serif;
18
  color: #404040;
19
  background: #46484C;
20
}
21
 
22
.cal {
23
  display: block;
24
  width: 216px;
25
  margin: 50px auto;
26
  -webkit-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
27
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
28
}
29
 
30
.cal a {
31
  text-decoration: none;
32
}
33
 
34
.cal caption {
35
  display: block;
36
  line-height: 32px;
37
  font-weight: bold;
38
  color: #e2e2e2;
39
  text-align: center;
40
  text-shadow: 0 -1px black;
41
  background: #333;
42
  background: rgba(0, 0, 0, 0.35);
43
  border-top: 1px solid #333;
44
  border-bottom: 1px solid #313131;
45
  -webkit-box-shadow: inset 0 1px rgba(255, 255, 255, 0.04);
46
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04);
47
}
48
 
49
.cal caption a {
50
  display: block;
51
  line-height: 32px;
52
  padding: 0 10px;
53
  font-size: 15px;
54
  color: #e2e2e2;
55
}
56
 
57
.cal caption a:hover {
58
  color: white;
59
}
60
 
61
.cal caption .prev {
62
  float: left;
63
}
64
 
65
.cal caption .next {
66
  float: right;
67
}
68
 
69
.cal th, .cal td {
70
  width: 30px;
71
  text-align: center;
72
  text-shadow: 0 1px rgba(255, 255, 255, 0.8);
73
}
74
 
75
.cal th:first-child, .cal td:first-child {
76
  border-left: 0;
77
}
78
 
79
.cal th {
80
  line-height: 20px;
81
  font-size: 8px;
82
  color: #696969;
83
  text-transform: uppercase;
84
  background: #f3f3f3;
85
  border-left: 1px solid #f3f3f3;
86
}
87
 
88
.cal td {
89
  font-size: 11px;
90
  font-weight: bold;
91
  border-top: 1px solid #c2c2c2;
92
  border-left: 1px solid #c2c2c2;
93
}
94
 
95
.cal td a {
96
  clear: both;
97
  display: block;
98
  position: relative;
99
  width: 30px;
100
  line-height: 28px;
101
  color: #666;
102
  background-image: -webkit-linear-gradient(top, #eaeaea 0%, #e5e5e5 60%, #d9d9d9 100%);
103
  background-image: -moz-linear-gradient(top, #eaeaea 0%, #e5e5e5 60%, #d9d9d9 100%);
104
  background-image: -o-linear-gradient(top, #eaeaea 0%, #e5e5e5 60%, #d9d9d9 100%);
105
  background-image: linear-gradient(to bottom, #eaeaea 0%, #e5e5e5 60%, #d9d9d9 100%);
106
  -webkit-box-shadow: inset 1px 1px rgba(255, 255, 255, 0.5);
107
  box-shadow: inset 1px 1px rgba(255, 255, 255, 0.5);
108
}
109
 
110
.cal td a:hover, .cal td.off a {
111
  background: #f3f3f3;
112
}
113
 
114
.cal td.off a {
115
  color: #b3b3b3;
116
}
117
 
118
.cal td.active a, .cal td a:active {
119
  margin: -1px;
120
  color: #f3f3f3;
121
  text-shadow: 0 1px rgba(0, 0, 0, 0.3);
122
  background: #6dafbf;
123
  border: 1px solid #598b94;
124
  -webkit-box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);
125
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);
126
}
127
 
128
.cal td.active:first-child a, .cal td:first-child a:active {
129
  border-left: 0;
130
  margin-left: 0;
131
}
132
 
133
.cal td.active:last-child a, .cal td:last-child a:active {
134
  border-right: 0;
135
  margin-right: 0;
136
}
137
 
138
.cal tr:last-child td.active a, .cal tr:last-child td a:active {
139
  border-bottom: 0;
140
  margin-bottom: 0;
141
}
142
 
 

Little Calendar

CSSDeck G+