blob: 1fb4414ca0bb1395a80f509d7d743ccad3c6b856 [file] [log] [blame]
Anand Doshieaaf6512012-02-24 15:29:07 +05301/* Sprite CSS */
Anand Doshieaaf6512012-02-24 15:29:07 +05302
3.case-border {
4 border-radius: 10px;
Anand Doshi0e140962012-03-01 12:16:02 +05305 -moz-border-radius: 10px;
6 -webkit-border-radius: 10px;
Rushabh Mehta946e6d42012-12-21 15:00:29 +05307 width: 32px;
8 height: 32px;
9 padding: 12px;
10 border: 2px solid white;
Rushabh Mehta9b1afe12012-03-20 14:37:44 +053011 box-shadow: 0 0 4px 1px black;
12 -moz-box-shadow: 0 0 4px 1px black;
13 -webkit-box-shadow: 0 0 4px 1px black;
14 -o-box-shadow: 0 0 4px 1px black;
Anand Doshieaaf6512012-02-24 15:29:07 +053015 margin: auto;
16}
17
18.case-wrapper {
19 margin: 24px;
20 float: left;
21 width: 100px;
22 height: 100px;
23}
24
Rushabh Mehta946e6d42012-12-21 15:00:29 +053025.case-wrapper i {
26 font-size: 32px;
27 color: #f8f8f8;
Rushabh Mehta946e6d42012-12-21 15:00:29 +053028}
29
Anand Doshieaaf6512012-02-24 15:29:07 +053030.case-label {
31 color: white;
Anand Doshieaaf6512012-02-24 15:29:07 +053032 padding-top: 10px;
33 text-align: center;
Rushabh Mehta3f466962012-03-22 11:37:08 +053034 text-shadow: 1px 1px 2px #000, 1px 1px 2px #000, 1px 1px 2px #000, 0px 0px 2px #000;
Anand Doshieaaf6512012-02-24 15:29:07 +053035}
36
37/* Hover and click effects */
Anand Doshi7854f812012-03-14 12:01:13 +053038.case-border:hover, .circle:hover, .hover-effect {
Rushabh Mehta9b1afe12012-03-20 14:37:44 +053039 box-shadow: 0 0 2px 0px black, 0 0 4px 1px white !important;
40 -moz-box-shadow: 0 0 2px 0px black, 0 0 4px 1px white !important;
41 -webkit-box-shadow: 0 0 2px 0px black, 0 0 4px 1px white !important;
Anand Doshi7854f812012-03-14 12:01:13 +053042 -o-box-shadow: 0 0 2px 0px black, 0 0 10px 1px white !important;
Anand Doshieaaf6512012-02-24 15:29:07 +053043}
44
Anand Doshi7854f812012-03-14 12:01:13 +053045.case-border:active, .case-border:focus, .case-border-click {
Anand Doshiac144122012-02-27 19:16:24 +053046 transform: scale(0.98, 0.98);
47 -ms-transform: scale(0.98, 0.98); /* IE 9 */
48 -webkit-transform: scale(0.98, 0.98); /* Safari and Chrome */
49 -o-transform: scale(0.98, 0.98); /* Opera */
50 -moz-transform: scale(0.98, 0.98); /* Firefox */
Anand Doshieaaf6512012-02-24 15:29:07 +053051}
52
Anand Doshi7854f812012-03-14 12:01:13 +053053.circle:active, .circle:focus, .circle-click {
54 transform: scale(1, 1);
55 -ms-transform: scale(1, 1); /* IE 9 */
56 -webkit-transform: scale(1, 1); /* Safari and Chrome */
57 -o-transform: scale(1, 1); /* Opera */
58 -moz-transform: scale(1, 1); /* Firefox */
59}
60
Anand Doshidb628762012-02-24 17:56:00 +053061.circle {
Anand Doshi08c8edb2012-03-01 14:53:05 +053062 border-radius: 30px;
63 -moz-border-radius: 30px;
64 -webkit-border-radius: 30px;
Anand Doshidb628762012-02-24 17:56:00 +053065 height: 15px;
Anand Doshi08c8edb2012-03-01 14:53:05 +053066 line-height: 12px;
Anand Doshidb628762012-02-24 17:56:00 +053067 min-width: 15px;
68 background: #B00D07;
69 padding: 3px;
Anand Doshidb628762012-02-24 17:56:00 +053070 float: right;
Anand Doshi7854f812012-03-14 12:01:13 +053071 margin-top: -74px;
Anand Doshidb628762012-02-24 17:56:00 +053072 margin-right: 10px;
73 border: 2px solid white;
Rushabh Mehta9b1afe12012-03-20 14:37:44 +053074 box-shadow: 0 0 4px 1px black;
75 -moz-box-shadow: 0 0 4px 1px black;
76 -webkit-box-shadow: 0 0 4px 1px black;
77 -o-box-shadow: 0 0 4px 1px black;
Anand Doshidb628762012-02-24 17:56:00 +053078}
79
80.circle-text {
81 color: white;
Anand Doshidb628762012-02-24 17:56:00 +053082 text-align: center;
83 display: inline-block;
Anand Doshi7854f812012-03-14 12:01:13 +053084 margin-top: 1px;
Anand Doshidb628762012-02-24 17:56:00 +053085}
86