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 Jul 2, 2024
1 parent 7a63c68 commit 83a7404
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 16 deletions.
9 changes: 9 additions & 0 deletions public/css/calendar.less
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
--stepRowHeight: 1fr;

.time-grid-header {
display: grid;
align-items: flex-end;
border-left: 1px solid transparent;
grid-template-columns: repeat(var(--primaryColumns), minmax(var(--minimumPrimaryColumnWidth), 1fr));
Expand Down Expand Up @@ -269,6 +270,14 @@
}
}

.time-grid-header .column-title {
text-align: center;
.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
1 change: 1 addition & 0 deletions public/css/list/schedule-list.less
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
width: ~"calc(100% - 12em)";

.days-header {
display: grid;
grid-template-columns: repeat(7, minmax(2em, 1fr));
border-left: 2px solid @gray-lighter;

Expand Down
4 changes: 4 additions & 0 deletions public/css/timeline.less
Original file line number Diff line number Diff line change
Expand Up @@ -108,3 +108,7 @@
.timeline.minimal-layout .empty-notice {
font-size: 1.25em;
}

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

0 comments on commit 83a7404

Please sign in to comment.