88 lines
2.0 KiB
CSS
Raw Normal View History

2012-02-24 15:29:07 +05:30
/* Sprite CSS */
.case-border {
border-radius: 10px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
2012-12-21 15:00:29 +05:30
width: 32px;
height: 32px;
padding: 12px;
border: 2px solid white;
box-shadow: 0 0 4px 1px black;
-moz-box-shadow: 0 0 4px 1px black;
-webkit-box-shadow: 0 0 4px 1px black;
-o-box-shadow: 0 0 4px 1px black;
2012-02-24 15:29:07 +05:30
margin: auto;
}
.case-wrapper {
margin: 24px;
float: left;
width: 100px;
height: 100px;
}
2012-12-21 15:00:29 +05:30
.case-wrapper i {
font-size: 32px;
color: #f8f8f8;
margin-top: 8px;
}
2012-02-24 15:29:07 +05:30
.case-label {
color: white;
padding-top: 10px;
text-align: center;
2012-03-22 11:37:08 +05:30
text-shadow: 1px 1px 2px #000, 1px 1px 2px #000, 1px 1px 2px #000, 0px 0px 2px #000;
2012-02-24 15:29:07 +05:30
}
/* Hover and click effects */
.case-border:hover, .circle:hover, .hover-effect {
box-shadow: 0 0 2px 0px black, 0 0 4px 1px white !important;
-moz-box-shadow: 0 0 2px 0px black, 0 0 4px 1px white !important;
-webkit-box-shadow: 0 0 2px 0px black, 0 0 4px 1px white !important;
-o-box-shadow: 0 0 2px 0px black, 0 0 10px 1px white !important;
2012-02-24 15:29:07 +05:30
}
.case-border:active, .case-border:focus, .case-border-click {
2012-02-27 19:16:24 +05:30
transform: scale(0.98, 0.98);
-ms-transform: scale(0.98, 0.98); /* IE 9 */
-webkit-transform: scale(0.98, 0.98); /* Safari and Chrome */
-o-transform: scale(0.98, 0.98); /* Opera */
-moz-transform: scale(0.98, 0.98); /* Firefox */
2012-02-24 15:29:07 +05:30
}
.circle:active, .circle:focus, .circle-click {
transform: scale(1, 1);
-ms-transform: scale(1, 1); /* IE 9 */
-webkit-transform: scale(1, 1); /* Safari and Chrome */
-o-transform: scale(1, 1); /* Opera */
-moz-transform: scale(1, 1); /* Firefox */
}
2012-02-24 17:56:00 +05:30
.circle {
2012-03-01 14:53:05 +05:30
border-radius: 30px;
-moz-border-radius: 30px;
-webkit-border-radius: 30px;
2012-02-24 17:56:00 +05:30
height: 15px;
2012-03-01 14:53:05 +05:30
line-height: 12px;
2012-02-24 17:56:00 +05:30
min-width: 15px;
background: #B00D07;
padding: 3px;
float: right;
margin-top: -74px;
2012-02-24 17:56:00 +05:30
margin-right: 10px;
border: 2px solid white;
box-shadow: 0 0 4px 1px black;
-moz-box-shadow: 0 0 4px 1px black;
-webkit-box-shadow: 0 0 4px 1px black;
-o-box-shadow: 0 0 4px 1px black;
2012-02-24 17:56:00 +05:30
}
.circle-text {
color: white;
text-align: center;
display: inline-block;
margin-top: 1px;
2012-02-24 17:56:00 +05:30
}