mirror of
https://github.com/akveo/ngx-admin.git
synced 2026-03-05 13:20:16 +01:00
refactor(calendar): remove extra divs
This commit is contained in:
parent
5060c2b228
commit
1cb04f3bb3
2 changed files with 50 additions and 23 deletions
|
|
@ -1,19 +1,46 @@
|
|||
@import '~bootstrap/scss/mixins/breakpoints';
|
||||
@import '~@nebular/theme/styles/global/breakpoints';
|
||||
@import '../../../@theme/styles/themes';
|
||||
|
||||
@include nb-install-component() {
|
||||
.calendars-container {
|
||||
margin-top: 2rem;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: nb-theme(font-size-xlg);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.nebular-calendar {
|
||||
.calendars {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
margin-bottom: 3rem;
|
||||
flex-wrap: wrap;
|
||||
margin: -1rem -0.5rem;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.calendar-container {
|
||||
margin: 1rem 0.5rem;
|
||||
}
|
||||
|
||||
.subtitle {
|
||||
display: block;
|
||||
font-family: nb-theme(text-subtitle-font-family);
|
||||
font-size: nb-theme(text-subtitle-font-size);
|
||||
font-weight: nb-theme(text-subtitle-font-weight);
|
||||
line-height: nb-theme(text-subtitle-line-height);
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(md) {
|
||||
.calendars {
|
||||
justify-content: flex-start;
|
||||
}
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(lg) {
|
||||
.calendars {
|
||||
margin: -1.1rem;
|
||||
}
|
||||
.calendar-container {
|
||||
margin: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(xxxl) {
|
||||
.calendars {
|
||||
margin: -1rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue