Files
redash/client/app/assets/less/inc/tile.less
2019-08-22 08:06:54 +03:00

106 lines
1.9 KiB
Plaintext
Executable File

.tile {
background-color: #fff;
margin-bottom: @grid-gutter-width;
position: relative;
border-radius: 3px;
box-shadow: fade(@redash-gray, 15%) 0px 4px 9px -3px;
&[class*="bg-"] {
color: #fff;
}
@media (max-width: @screen-sm-min) {
margin-bottom: @grid-gutter-width/2;
}
}
.tiled {
border-radius: 3px;
box-shadow: fade(@redash-gray, 15%) 0px 4px 9px -3px;
}
.t-header {
.th-title {
line-height: 100%;
}
&:not(.th-alt) {
padding: 20px 23px;
.th-title {
font-size: 17px;
font-weight: 400;
color: #333;
small {
font-size: 12px;
color: #9C9C9C;
margin-top: 3px;
display: block;
}
}
}
&.widget {
padding: 5px;
}
&.th-alt {
padding: 10px 15px 9px;
.actions {
& > a {
color: #fff;
}
}
&[class*="bg-"] {
.th-title {
color: #fff;
}
}
}
.actions {
right: 0;
top: 0;
& > a {
font-size: 24px;
line-height: 100%;
padding: 4px 10px 3px;
display: block;
}
& > a:hover,
&.open > a {
background-color: rgba(0, 0, 0, 0.1);
}
}
}
.t-header:not(.th-alt) {
padding: 15px;
ul {
margin-bottom: 0;
line-height: 2.2;
}
}
.tb-padding {
padding: 20px 23px 30px;
}
.t-body a.actions {
font-size: 24px;
line-height: 100%;
padding: 4px 10px 3px;
display: block;
}
.t-body a.actions:hover,
.t-body a.actions.open > a {
background-color: rgba(0, 0, 0, 0.1);
}