138 lines
2.5 KiB
SCSS
138 lines
2.5 KiB
SCSS
#app
|
|
{
|
|
font-family: var(--font);
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
text-align: center;
|
|
color: #2c3e50;
|
|
padding-bottom: 100px;
|
|
}
|
|
|
|
#app-content
|
|
{
|
|
// Limit max width
|
|
max-width: 1300px;
|
|
text-align: center;
|
|
margin: auto;
|
|
}
|
|
|
|
.theme-default
|
|
{
|
|
--unread: #ff6c00;
|
|
--main: #0c6dad;
|
|
|
|
--assignment-type-2: #3f991e;
|
|
--assignment-type-3: #ff9900;
|
|
--assignment-type-4: #b02b02;
|
|
|
|
--font: 'Avenir', Helvetica, Arial, sans-serif;
|
|
}
|
|
|
|
.dark
|
|
{
|
|
--dark-layer-1: #555555;
|
|
--dark-layer-2: #7d7d7d;
|
|
--dark-layer-3: #898989;
|
|
--dark-foreground: #e9e9e9;
|
|
|
|
background: var(--dark-layer-1) !important;
|
|
|
|
div, ul
|
|
{
|
|
background: var(--dark-layer-2) !important;
|
|
color: var(--dark-foreground) !important;
|
|
}
|
|
|
|
span, button
|
|
{
|
|
color: var(--dark-foreground) !important;
|
|
}
|
|
|
|
.el-card
|
|
{
|
|
border: none !important;
|
|
}
|
|
|
|
// Overall
|
|
#overall, #overall-course, .overall-span, #app-content
|
|
{
|
|
background: var(--dark-layer-1) !important;
|
|
}
|
|
|
|
// Course card
|
|
.entry-box, .none .unread-number {background: #a1a1a1 !important}
|
|
.entry-box.max {background-color: #949494 !important}
|
|
.entry-box.percent {background-color: #a7a490 !important}
|
|
.course-name {color: #cffff6 !important}
|
|
|
|
.course-card-content.expand, .assignment-entry, .unread-row, .unread-row .el-col
|
|
{
|
|
background-color: var(--dark-layer-3) !important;
|
|
}
|
|
|
|
.overall-span.el-col
|
|
{
|
|
div, span
|
|
{
|
|
background: #f9f9f9 !important;
|
|
color: var(--dark-layer-1) !important;
|
|
}
|
|
}
|
|
}
|
|
|
|
// ##############
|
|
// # Global CSS #
|
|
// ##############
|
|
|
|
.el-card
|
|
{
|
|
margin: 10px;
|
|
padding: 0;
|
|
}
|
|
|
|
.el-card.large
|
|
{
|
|
height: 494px;
|
|
}
|
|
|
|
// Fix padding
|
|
.el-card__body
|
|
{
|
|
padding-top: 0 !important;
|
|
padding-bottom: 0 !important;
|
|
}
|
|
|
|
// Vertical centering
|
|
.vertical-center
|
|
{
|
|
// Vertical center
|
|
display: flex;
|
|
justify-content: center;
|
|
flex-direction: column;
|
|
}
|
|
|
|
// Remove card padding for styling issues
|
|
div.el-card.course-card > div.el-card__body
|
|
{
|
|
padding-right: 0 !important;
|
|
padding-left: 0 !important;
|
|
}
|
|
|
|
// Clickable text
|
|
.clickable:hover
|
|
{
|
|
text-decoration: underline;
|
|
cursor: pointer;
|
|
}
|
|
|
|
// Non-selectable text
|
|
.unselectable
|
|
{
|
|
-webkit-touch-callout: none;
|
|
-webkit-user-select: none;
|
|
-khtml-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
}
|