Skip to content
This repository has been archived by the owner on Apr 16, 2020. It is now read-only.

Commit

Permalink
Kompatibilita s pluginem Simple Calendar - nastylování widgetů; refak…
Browse files Browse the repository at this point in the history
…toring
  • Loading branch information
davidulus committed Sep 10, 2018
1 parent 3cd83b4 commit 90fbf9b
Show file tree
Hide file tree
Showing 22 changed files with 2,023 additions and 2,862 deletions.
2 changes: 1 addition & 1 deletion app/Front/Front.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function loadAllStyles() {
}

wp_enqueue_style( 'crdm-main',
CRDM_BASIC_TEMPLATE_URL . 'assets/css/main.css',
CRDM_BASIC_TEMPLATE_URL . 'assets/css/app.css',
[ 'generate-style' ],
CRDM_BASIC_APP_VERSION
);
Expand Down
1 change: 1 addition & 0 deletions assets/css-dev/admin/admin.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@import '../mixins';
3 changes: 2 additions & 1 deletion assets/css-dev/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
@import 'navigation';
@import 'sidebar';
@import 'content';
@import 'footer';
@import 'footer';
@import 'widgets';
77 changes: 77 additions & 0 deletions assets/css-dev/widgets.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
// Simple Calendar - START
table.simcal-calendar-grid {
border: 0;

thead.simcal-calendar-head {

th {
border: 0;
}

tr:first-child th {
border-bottom: 1px solid var(--listPrimaryColor);
}

th.simcal-current {
color: var(--listPrimaryColor) !important;
}

th.simcal-week-day {
color: var(--listPrimaryColor) !important;
font-weight: 400 !important;
}
}

tbody.simcal-month {

td {
border: 0;
border-left: 1px solid var(--listPrimaryColor);
}

td:first-child {
border-left: 0;
}

.simcal-day-label.simcal-day-number {
background-color: transparent !important;
color: var(--listPrimaryColor) !important;
font-weight: bold;
}

.simcal-day:hover:not(.simcal-day-void) {
background-color: var(--listSecondaryColor);
}

.simcal-day-void {
background-color: transparent;
}

.simcal-today {
background-color: var(--listSecondaryColor);

> div {
border: 0 !important;
}
}

.simcal-events-dots {

b {
color: var(--listPrimaryColor) !important;
}
}

}

}

.simcal-calendar-list-compact {

.simcal-calendar-head h3 {
color: var(--listPrimaryColor);
font-weight: bold;
}
}

// Simple Calendar - END
3 changes: 3 additions & 0 deletions assets/css/admin.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions assets/css/admin.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions assets/css/app.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 90fbf9b

Please sign in to comment.