2018-12-25 16:03:51 +01:00
|
|
|
|
|
|
|
/* Logo */
|
|
|
|
.logo {
|
|
|
|
|
|
|
|
padding-left: 2rem !important;
|
|
|
|
|
|
|
|
img {
|
|
|
|
max-height: 3rem !important;
|
|
|
|
margin-right: 1rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Buttons icons */
|
|
|
|
.button .icon.is-small {
|
|
|
|
margin-right: 0.05rem !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* menu buttons */
|
|
|
|
.button-bottom {
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-menu .navbar-item .icon{
|
|
|
|
margin: 0 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar{
|
|
|
|
z-index: 4 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.app-container{
|
|
|
|
min-height: calc(100vh - 65px);
|
|
|
|
@media screen and (max-width: $tablet) {
|
|
|
|
padding-top: $navbar-height + 0.75rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.namespace-container{
|
2019-04-23 21:50:37 +02:00
|
|
|
background: $vikunja-nav-background;
|
2018-12-25 16:03:51 +01:00
|
|
|
z-index: 3;
|
2019-04-23 21:50:37 +02:00
|
|
|
color: $vikunja-nav-color;
|
2018-12-25 16:03:51 +01:00
|
|
|
padding: 0;
|
|
|
|
transition: all $transition;
|
|
|
|
position: fixed;
|
|
|
|
bottom: 0;
|
|
|
|
top: $navbar-height + 0.75rem;
|
|
|
|
overflow-x: auto;
|
|
|
|
width: 17vw;
|
|
|
|
|
|
|
|
@media screen and (max-width: $tablet) {
|
|
|
|
padding: 0 0 1em;
|
|
|
|
left: -147vw;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
width: 70vw;
|
|
|
|
z-index: 5;
|
|
|
|
|
|
|
|
&.is-active {
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.menu{
|
|
|
|
.menu-label {
|
|
|
|
font-size: 1em;
|
2019-04-23 21:50:37 +02:00
|
|
|
font-weight: 700;
|
2018-12-25 16:03:51 +01:00
|
|
|
min-height: 2.5em;
|
|
|
|
padding-top: $navbar-padding * 0.3;
|
|
|
|
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nsettings{
|
|
|
|
vertical-align: middle;
|
|
|
|
float: right;
|
|
|
|
margin-left: 0.5rem;
|
|
|
|
min-width: 2.648em;
|
|
|
|
padding-top: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.menu-label {
|
|
|
|
font-weight: bold;
|
|
|
|
font-family: $vikunja-font;
|
|
|
|
}
|
|
|
|
|
|
|
|
.menu-label,.nsettings,.menu-list a{
|
2019-04-23 21:50:37 +02:00
|
|
|
color: $vikunja-nav-color;
|
2018-12-25 16:03:51 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.menu-label{
|
2019-04-23 21:50:37 +02:00
|
|
|
color: $grey;
|
|
|
|
font-weight: 500;
|
2018-12-25 16:03:51 +01:00
|
|
|
padding-left: $navbar-padding;
|
|
|
|
}
|
|
|
|
|
|
|
|
.menu-list {
|
|
|
|
li {
|
2019-04-23 21:50:37 +02:00
|
|
|
height: 44px;
|
2018-12-25 16:03:51 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
2019-04-23 21:50:37 +02:00
|
|
|
padding: 0.75em 1em 0.75em $navbar-padding * 1.5;
|
2018-12-25 16:03:51 +01:00
|
|
|
transition: all 0.2s ease;
|
|
|
|
|
2019-04-23 21:50:37 +02:00
|
|
|
-webkit-border-radius: 0;
|
|
|
|
-moz-border-radius: 0;
|
|
|
|
border-radius: 0;
|
2018-12-25 16:03:51 +01:00
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
display: inline-block;
|
|
|
|
width: 100%;
|
2019-04-23 21:50:37 +02:00
|
|
|
border-left: $vikunja-nav-selected-width solid transparent;
|
2018-12-25 16:03:51 +01:00
|
|
|
|
|
|
|
.icon {
|
2019-04-23 21:50:37 +02:00
|
|
|
color: lighten($vikunja-nav-color, 20);
|
2018-12-25 16:03:51 +01:00
|
|
|
height: 1rem;
|
|
|
|
vertical-align: middle;
|
|
|
|
padding-bottom: 4px;
|
|
|
|
padding-right: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.router-link-exact-active {
|
2019-04-23 21:50:37 +02:00
|
|
|
color: $primary;
|
|
|
|
border-left: $vikunja-nav-selected-width solid darken($primary, 5%);
|
|
|
|
.icon {
|
|
|
|
color: $primary;
|
|
|
|
}
|
2018-12-25 16:03:51 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
2019-04-23 21:50:37 +02:00
|
|
|
background: $white;
|
|
|
|
border-left: $vikunja-nav-selected-width solid darken($primary, 3%);
|
2018-12-25 16:03:51 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.top-menu {
|
2019-04-23 21:50:37 +02:00
|
|
|
margin: $navbar-padding / 2 0 $navbar-padding;
|
2018-12-25 16:03:51 +01:00
|
|
|
|
2019-04-23 21:50:37 +02:00
|
|
|
.menu-list {
|
|
|
|
li {
|
|
|
|
font-weight: 500;
|
|
|
|
font-family: $vikunja-font;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
padding-left: 2em;
|
|
|
|
}
|
2018-12-25 16:03:51 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.app-content{
|
|
|
|
padding: $navbar-height + 1.5rem 1.5em 0 1.5em;
|
|
|
|
z-index: 2;
|
2019-04-23 21:50:37 +02:00
|
|
|
background: url('../public/images/llama-upside-down.svg') no-repeat top right $light-background;
|
2018-12-25 16:03:51 +01:00
|
|
|
margin-left: 17vw;
|
|
|
|
|
|
|
|
@media screen and (max-width: $tablet) {
|
|
|
|
margin-left: 0;
|
|
|
|
padding-top: 1.5em;
|
|
|
|
min-height: calc(100vh - 4rem);
|
|
|
|
}
|
|
|
|
|
|
|
|
.card{
|
|
|
|
background: #fff;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-04-23 21:50:37 +02:00
|
|
|
.navbar .user{
|
|
|
|
padding: 1em 0.5em 0;
|
|
|
|
|
|
|
|
span {
|
|
|
|
font-family: $vikunja-font;
|
|
|
|
}
|
|
|
|
|
|
|
|
.avatar {
|
|
|
|
-webkit-border-radius: 100%;
|
|
|
|
-moz-border-radius: 100%;
|
|
|
|
border-radius: 100%;
|
|
|
|
vertical-align: middle;
|
|
|
|
height: 40px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.logout-icon {
|
|
|
|
color: lighten($black, 10);
|
|
|
|
|
|
|
|
.icon {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-trigger .button {
|
|
|
|
background: none;
|
|
|
|
|
|
|
|
&:focus:not(:active), &:active{
|
|
|
|
outline: none !important;
|
|
|
|
-webkit-box-shadow: none !important;
|
|
|
|
-moz-box-shadow: none !important;
|
|
|
|
box-shadow: none !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-menu {
|
|
|
|
.dropdown-content {
|
|
|
|
box-shadow: 0.3em 0.3em 0.8em darken($light, 6);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-12-25 16:03:51 +01:00
|
|
|
.mobilemenu-hide-button,.mobilemenu-show-button{
|
|
|
|
display: none;
|
|
|
|
position: fixed;
|
|
|
|
z-index: 5;
|
|
|
|
font-weight: bold;
|
|
|
|
font-size: 2em;
|
|
|
|
color: $light;
|
|
|
|
&:hover, &:focus{
|
|
|
|
color: $light;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mobilemenu-hide-button{
|
|
|
|
color: $dark;
|
|
|
|
&:hover, &:focus{
|
|
|
|
color: $dark;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mobile-overlay{
|
|
|
|
display: none;
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
background: rgba(250,250,250,0.8);
|
|
|
|
z-index: 4;
|
|
|
|
opacity: 0;
|
|
|
|
transition: all $transition;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: $tablet) {
|
|
|
|
.mobilemenu-hide-button{
|
|
|
|
display: block;
|
|
|
|
top: 1vh;
|
|
|
|
right: 4vh;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mobilemenu-show-button{
|
|
|
|
display: block;
|
|
|
|
top: 1vh;
|
|
|
|
left: 4vh;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mobile-overlay{
|
|
|
|
display: block;
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar.is-dark .navbar-brand > .navbar-item{
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Logout-icon */
|
|
|
|
.logout-icon {
|
|
|
|
margin-right: 0.85em !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Loading spinner */
|
|
|
|
.loader-container {
|
|
|
|
&.is-loading {
|
|
|
|
position: relative;
|
|
|
|
pointer-events: none;
|
|
|
|
opacity: 0.5;
|
|
|
|
&:after {
|
|
|
|
@include loader;
|
|
|
|
position: absolute;
|
|
|
|
top: calc(50% - 2.5em);
|
|
|
|
left: calc(50% - 2.5em);
|
|
|
|
width: 5em;
|
|
|
|
height: 5em;
|
|
|
|
border-width: 0.25em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.spinner{
|
|
|
|
&.is-loading {
|
|
|
|
pointer-events: none;
|
|
|
|
&:after {
|
|
|
|
@include loader;
|
|
|
|
width: 2em;
|
|
|
|
height: 2em;
|
|
|
|
margin-left: calc(50% - 1em);
|
|
|
|
position: absolute;
|
|
|
|
margin-top: 1em;
|
|
|
|
z-index: 999;
|
|
|
|
border-width: 0.25em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.notifications{
|
|
|
|
left: 0.5em !important;
|
|
|
|
bottom: 1em !important;
|
|
|
|
|
|
|
|
.notification-wrapper .notification{
|
|
|
|
-webkit-border-radius: 0;
|
|
|
|
-moz-border-radius: 0;
|
|
|
|
border-radius: 0;
|
|
|
|
border-top-width: 0;
|
|
|
|
border-right-width: 0;
|
|
|
|
border-bottom-width: 0;
|
|
|
|
border-left-width: 0.4em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.button-right{
|
|
|
|
float: right;
|
|
|
|
}
|