open-vault/ui/app/styles/core/box.scss

42 lines
706 B
SCSS
Raw Normal View History

2018-04-03 14:16:57 +00:00
.box {
box-shadow: 0 0 0 1px rgba($grey-dark, 0.3);
.title {
&.has-padding-top {
padding-top: $spacing-m;
}
}
p {
&.has-padding-bottom {
padding-bottom: $spacing-s;
}
}
2018-04-03 14:16:57 +00:00
}
.box.is-fullwidth {
padding-left: 0;
padding-right: 0;
}
.box.no-padding-bottom {
padding-bottom: 0;
}
.box.no-padding-top {
padding-top: 0;
}
2018-04-03 14:16:57 +00:00
.box.has-slim-padding {
padding: 9px 0;
}
.box.has-glow {
box-shadow: 0 2px 4px 0 rgba($grey-dark, 0.5);
}
.box.is-rounded {
border-radius: 3px;
}
.box.no-top-shadow {
box-shadow: inset 0 -1px 0 0 rgba($black, 0.1);
}
.box.has-container {
box-shadow: 0 4px 4px rgba($black, 0.25);
border: 1px solid #bac1cc;
padding: $spacing-l;
}