Skip to content

Commit

Permalink
Move the rules in the class .days-header to appropriate .less files
Browse files Browse the repository at this point in the history
  • Loading branch information
raviks789 committed Jun 26, 2024
1 parent e712be2 commit 88aa918
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 16 deletions.
13 changes: 13 additions & 0 deletions public/css/calendar.less
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,14 @@
}
}

.days-header {
display: grid;

.column-title {
text-align: center;
}
}

/**
* Basic rules for a time grid
*
Expand Down Expand Up @@ -269,6 +277,11 @@
}
}

.days-header .column-title .day-name {
color: @text-color-light;
text-transform: uppercase;
}

.time-grid {
&.horizontal-flow {
.entry {
Expand Down
16 changes: 0 additions & 16 deletions public/css/common.less
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,6 @@
}
}

.days-header {
display: grid;

.column-title {
text-align: center;
.date {
font-size: 0.75em;
}

.day-name {
color: @text-color-light;
text-transform: uppercase;
}
}
}

.controls {
&.contactgroup-detail,
&.event-detail,
Expand Down
4 changes: 4 additions & 0 deletions public/css/timeline.less
Original file line number Diff line number Diff line change
Expand Up @@ -92,3 +92,7 @@
opacity: .8;
}
}

.days-header .column-title .date {
font-size: .75em;
}

0 comments on commit 88aa918

Please sign in to comment.