cartodb-4.42/app/assets/stylesheets/deep-insights/themes/scss/widgets/_layout.scss

43 lines
846 B
SCSS
Raw Normal View History

2024-04-06 13:25:13 +08:00
// Widget layout styles
// ----------------------------------------------
.CDB-Widget-contentSpaced {
@include display-flex();
@include justify-content(space-between, justify);
@include align-items(center);
}
.CDB-Widget-contentSpaced--sideMargins {
margin-right: $sMargin-section;
margin-left: $sMargin-section;
}
.CDB-Widget-contentSpaced--topAligned {
@include align-items(flex-start);
}
.CDB-Widget-contentSpaced--start {
@include justify-content(flex-start, start);
text-align: left;
}
.CDB-Widget-contentSpaced--end {
@include justify-content(flex-end);
}
.CDB-Widget-contentFlex {
@include display-flex();
@include align-items(center);
}
.CDB-Widget-contentFull {
width: 100%;
}
@media (max-width: $sMedia-l) {
.CDB-Widget-contentSpaced--sideMargins {
margin-right: 12px;
margin-left: 12px;
}
}