Improve dash design

This commit is contained in:
Dane Everitt 2018-05-26 22:09:29 -07:00
parent 9d8830a2d7
commit d78189df23
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
3 changed files with 68 additions and 16 deletions

View file

@ -26,3 +26,45 @@ code {
animation: offlineblink 2s infinite alternate;
}
}
/**
* Usage indicator labels for the server listing.
*/
.usage {
@apply .flex-1 .text-center .relative;
& > .indicator-title {
@apply .text-xs .uppercase .font-hairline .bg-white .absolute .text-grey;
margin-top:-9px;
padding: 0 8px;
left: 50%;
transform: translate(-50%, 0);
}
}
/**
* Flex boxes for server listing on user dashboard.
*/
.server-box {
@apply .pb-4;
@screen smx {
@apply .w-1/2 .pr-4;
&:nth-of-type(2n) {
padding-right: 0;
}
}
@screen md {
@apply .w-1/3 .pr-4;
&:nth-of-type(3n) {
padding-right: 0;
}
}
& > .content {
@apply .border .border-grey-light .bg-white .rounded .p-4 .justify-between .leading-normal;
}
}