Add path prefix

This commit is contained in:
Lars Westermann 2019-06-10 10:09:36 +02:00
parent 19956ebafb
commit afbced61e3
Signed by: lars.westermann
GPG key ID: 9D417FA5BB9D5E1D
39 changed files with 656 additions and 305 deletions

View file

@ -1,6 +1,10 @@
$border-radius: 0.2rem;
$transitionTime: 150ms;
$mainFont: 'Raleway', Roboto, Arial, sans-serif;
$menuFont: 'Bungee', 'Raleway', Roboto, Arial, sans-serif;
$headFont: 'Montserrat', 'Raleway', Roboto, Arial, sans-serif;
@mixin no-select() {
-webkit-touch-callout: none;
-webkit-user-select: none;

View file

@ -213,6 +213,8 @@
span:first-child {
color: var(--text-primary-color);
width: 6rem;
overflow: hidden;
text-overflow: ellipsis;
&:hover {
background-color: transparent;
@ -297,6 +299,13 @@
@include no-select()
}
.calendar-entry-name {
display: block;
width: 100%;
overflow: hidden;
text-overflow: ellipsis;
}
.calendar-table-box {
display: flex;
flex-wrap: nowrap;
@ -404,7 +413,7 @@
left: 6rem;
right: 0;
height: 1px;
border-bottom: solid 1px $primary-color;
border-bottom: solid 1px var(--primary-color);
}
&.calendar-now::after {
@ -414,8 +423,8 @@
left: 6rem;
transform: scale(1, 0.5) rotate(-45deg);
transform-origin: bottom;
border-bottom: solid 0.4rem $primary-color;
border-right: solid 0.4rem $primary-color;
border-bottom: solid 0.4rem var(--primary-color);
border-right: solid 0.4rem var(--primary-color);
border-top: solid 0.4rem transparent;
border-left: solid 0.4rem transparent;
margin-top: -0.55rem;
@ -498,7 +507,7 @@
top: 3rem;
bottom: 0;
width: 1px;
border-right: solid 1px $primary-color;
border-right: solid 1px var(--primary-color);
}
&.calendar-now::after {
@ -508,8 +517,8 @@
top: 3rem;
transform: scale(0.5, 1) rotate(45deg);
transform-origin: right;
border-bottom: solid 0.4rem $primary-color;
border-right: solid 0.4rem $primary-color;
border-bottom: solid 0.4rem var(--primary-color);
border-right: solid 0.4rem var(--primary-color);
border-top: solid 0.4rem transparent;
border-left: solid 0.4rem transparent;
margin-top: -0.3rem;

View file

@ -13,7 +13,7 @@
color: var(--text-primary-color);
height: 100%;
display: inline-block;
font-family: "Bungee", sans-serif;
font-family: $menuFont;
font-weight: normal;
font-size: 1.1rem;
position: relative;

View file

@ -33,7 +33,7 @@
line-height: 2rem;
padding: 0 1rem;
font-weight: bold;
font-family: 'Montserrat', sans-serif;
font-family: $headFont;
&:empty::before {
display: block;

View file

@ -39,6 +39,7 @@
margin-top: -0.5rem !important;
bottom: 0 !important;
}
.calendar-entry::after {
content: none;
}
@ -65,6 +66,12 @@
line-height: 2rem;
width: 100%;
}
.calendar-header {
.calendar-cell {
overflow: hidden;
}
}
}
.wall-calendar {

View file

@ -15,7 +15,7 @@ body, html {
color: var(--text-primary-color);
background: var(--background-secondary-color);
font-family: 'Raleway', 'Montserrat', Roboto, Arial, sans-serif;
font-family: $mainFont;
font-weight: 500;
width: 100%;
@ -30,6 +30,10 @@ body, html {
}
}
h1, h2, h3, h4, h5, h6 {
font-family: $headFont;
}
.no-select {
@include no-select()
}