ozntel_oz-calendar/styles.css

248 lines
5.2 KiB
CSS
Raw Normal View History

/* @settings
name: OZ Calendar Plugin
id: oz-calendar-plugin
settings:
-
id: oz-calendar-weekend-color
title: Weekend Text Color
description: Set the color of weekend in the calendar
type: variable-color
format: hex
default: '#f76a6a'
2023-03-12 11:00:46 +00:00
-
id: oz-calendar-selected-daycolor
title: Selected Day Text Color
description: Set the color of selected day in the month view, defaulted to the interactive-accent
type: variable-color
format: hex
default: '#'
-
id: oz-calendar-header-date-color
title: Header Dates Text Color
description: Set the color of headers dates like (month/year, and date above the list), defaulted to the interactive-accent
type: variable-color
format: hex
default: '#'
*/
.theme-light,
.theme-dark {
--oz-calendar-weekend-color: #f76a6a;
2023-03-12 11:00:46 +00:00
--oz-calendar-selected-daycolor: var(----interactive-accent);
--oz-calendar-header-date-color: var(----interactive-accent);
}
2023-03-10 08:26:14 +00:00
.oz-cal-coffee-div,
.oz-cal-tip-div {
text-align: center;
margin-top: 10px;
}
.oz-cal-tip-div img {
border-radius: 10px;
}
2023-03-10 11:01:28 +00:00
.OZCAL_ICON {
fill: var(--icon-color) !important;
}
2023-03-12 08:28:53 +00:00
.oz-calendar-plugin-view .react-calendar__tile.react-calendar__month-view__days__day:hover {
background: var(--background-secondary-alt);
}
2023-03-10 08:06:36 +00:00
.oz-calendar-plugin-view .react-calendar button:enabled:hover {
cursor: pointer;
}
2023-03-10 07:51:20 +00:00
2023-03-10 08:06:36 +00:00
.oz-calendar-plugin-view .react-calendar__navigation {
display: flex;
}
2023-03-10 07:51:20 +00:00
2023-03-10 08:06:36 +00:00
.oz-calendar-plugin-view .react-calendar__month-view__weekdays {
text-align: center;
text-transform: uppercase;
font-weight: bold;
font-size: 0.75em;
}
2023-03-10 07:51:20 +00:00
2023-03-10 08:06:36 +00:00
.oz-calendar-plugin-view .react-calendar__month-view__weekdays__weekday {
padding: 0.5em;
}
.oz-calendar-plugin-view .react-calendar__month-view__weekdays__weekday abbr {
text-decoration: none;
}
.oz-calendar-plugin-view .react-calendar__month-view__days__day--weekend {
color: var(--oz-calendar-weekend-color);
2023-03-10 08:06:36 +00:00
}
2023-03-10 08:26:14 +00:00
.oz-calendar-plugin-view .react-calendar__month-view__days__day--neighboringMonth {
2023-03-10 08:06:36 +00:00
color: var(--text-muted);
opacity: 0.5;
}
.oz-calendar-plugin-view .react-calendar__tile {
max-width: 100%;
padding: 10px 6.6667px;
background: none;
text-align: center;
line-height: 16px;
2023-03-12 11:33:40 +00:00
height: 40px;
display: block;
2023-03-10 08:06:36 +00:00
}
2023-03-10 08:26:14 +00:00
.oz-calendar-plugin-view button.react-calendar__tile.react-calendar__month-view__days__day,
2023-03-10 08:06:36 +00:00
.oz-calendar-plugin-view button.react-calendar__navigation__arrow,
.oz-calendar-plugin-view button.react-calendar__navigation__label {
2023-03-12 08:28:53 +00:00
background-color: transparent;
2023-03-10 08:06:36 +00:00
box-shadow: none !important;
}
.oz-calendar-plugin-view button.react-calendar__navigation__label {
2023-03-12 11:00:46 +00:00
color: var(--oz-calendar-header-date-color);
2023-03-10 10:48:42 +00:00
font-size: 1.3em;
2023-03-10 08:06:36 +00:00
}
.oz-calendar-plugin-view .dots-wrapper {
font-size: 8px;
display: flex;
justify-content: center;
vertical-align: middle !important;
min-height: 3.5px !important;
}
.oz-calendar-plugin-view .dots-wrapper svg {
margin-top: 3.8px;
}
.oz-calendar-plugin-view .react-calendar__tile--active {
2023-03-12 11:00:46 +00:00
color: var(--oz-calendar-selected-daycolor);
2023-03-10 08:06:36 +00:00
font-weight: bold;
font-size: 1em;
}
#oz-calendar-divider {
height: 3.8px;
opacity: 0.3;
margin: 10px 0px 10px 0px;
border-bottom: 3px solid var(--text-muted);
}
.oz-calendar-notelist-container {
display: flex;
flex-direction: row;
justify-content: space-between;
vertical-align: middle;
}
2023-03-10 18:07:55 +00:00
.oz-calendar-nav-action-plus {
width: 10%;
display: inline-block;
color: var(--text-muted);
vertical-align: top;
padding-top: 2px;
}
.oz-calendar-nav-action-plus svg:hover {
cursor: pointer;
opacity: 0.6;
}
2023-03-10 08:06:36 +00:00
.oz-calendar-nav-action-left {
display: inline-block;
2023-03-10 18:07:55 +00:00
width: 15%;
2023-03-10 08:06:36 +00:00
color: var(--text-muted);
2023-03-10 18:07:55 +00:00
text-align: right;
2023-03-10 08:06:36 +00:00
}
.oz-calendar-nav-action-middle {
display: inline-block;
2023-03-10 18:07:55 +00:00
width: 50%;
2023-03-10 08:06:36 +00:00
text-align: center;
vertical-align: top;
font-size: 1.1em;
2023-03-12 11:00:46 +00:00
color: var(--oz-calendar-header-date-color);
2023-03-10 13:19:54 +00:00
cursor: pointer;
2023-03-10 08:06:36 +00:00
}
.oz-calendar-nav-action-right {
display: inline-block;
width: 15%;
2023-03-10 18:07:55 +00:00
text-align: left;
2023-03-10 08:06:36 +00:00
color: var(--text-muted);
}
.oz-calendar-nav-action-left svg:hover,
.oz-calendar-nav-action-right svg:hover {
cursor: pointer;
2023-03-10 18:07:55 +00:00
opacity: 0.6;
2023-03-10 08:06:36 +00:00
}
.oz-calendar-notelist-container {
display: block;
padding: 5px;
}
.oz-calendar-note-line {
padding-top: 3px;
padding-bottom: 3px;
font-size: var(--nav-item-size);
}
.oz-calendar-note-line:hover {
cursor: pointer;
2023-03-10 18:07:55 +00:00
background-color: var(--background-secondary-alt);
color: var(--text-normal);
2023-03-10 08:06:36 +00:00
}
.oz-calendar-note-line-icon {
padding-right: 3px;
padding-bottom: 2px;
vertical-align: middle;
}
2023-03-10 08:33:22 +00:00
.oz-calendar-note-no-note {
font-size: var(--nav-item-size);
align-items: center;
text-align: center;
margin-top: 10px;
}
.oz-calendar-no-note-icon {
vertical-align: middle;
padding-bottom: 2px;
margin-right: 3px;
}
2023-03-12 11:00:46 +00:00
/* START - Fixed Calendar Except Note List - Scroll */
.oz-calendar-plugin-view.fixed {
height: 100%;
max-height: 100%;
display: flex;
flex-direction: column;
}
.oz-calendar-plugin-view.fixed .react-calendar {
height: 255px;
}
.oz-calendar-plugin-view.fixed #oz-calendar-divider {
height: 4px;
}
.oz-calendar-plugin-view.fixed .oz-calendar-notelist-header-container {
height: 30px;
}
.oz-calendar-plugin-view.fixed .oz-calendar-notelist-container {
width: 100%;
overflow-y: auto;
vertical-align: top;
}
/* END - Fixed Calendar */