seitime-frappe/webnotes/core/page/desktop/desktop.css

91 lines
No EOL
1.6 KiB
CSS

#icon-grid {
padding-bottom: 30px;
}
.case-wrapper {
position: relative;
margin: 12px;
float: left;
width: 100px;
height: 100px;
}
.case-border {
border-radius: 5px;
padding: 20px;
display: inline-block;
margin: auto;
text-align: center;
}
.case-wrapper i {
font-size: 32px;
min-width: 32px;
color: #f8f8f8;
display: inline-block;
}
.case-label {
color: white;
padding-top: 5px;
text-align: center;
text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.6);
}
@media (max-width: 768px) {
.case-wrapper {
margin: 12px;
width: 70px;
height: 80px;
}
.case-border {
padding: 12px;
}
.case-label {
padding-top: 2px;
font-size: 85%;
}
}
/* Hover and click effects */
.case-border:hover, .hover-effect {
-webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.2);
-o-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.2);
box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.2);
}
.case-border:active, .case-border:focus, .case-border-click {
-webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.3);
-o-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.3);
box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.3);
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 */
}
.circle {
position: absolute;
top: -10px;
right: 5px;
border-radius: 30px;
-moz-border-radius: 30px;
-webkit-border-radius: 30px;
line-height: 12px;
background: #e74c3c;
padding: 7px;
z-index: 5;
}
.circle-text {
color: white;
display: inline-block;
min-width: 15px;
}