taiga-front/app/styles/core/base.scss

116 lines
1.8 KiB
SCSS

// Basic layout styles
html {
min-height: 100%;
width: 100%;
}
body {
@extend %text;
line-height: 1.3;
min-height: 100%;
width: 100%;
.master {
&.ng-animate {
transition: 0;
}
}
&.loading-project {
overflow: hidden;
}
}
.loader-active {
overflow: hidden;
}
.drag-active {
overflow-x: hidden;
}
.master {
height: 100%;
min-height: 100%;
position: relative;
}
.centered {
margin: 1rem auto;
max-width: 1200px;
min-width: 960px;
width: 90%;
}
.wrapper {
display: flex;
min-height: $main-height;
}
.menu-secondary {
flex: 0 0 auto;
min-height: $main-height;
min-width: 0;
padding: 1rem;
width: 320px;
&.filters-bar {
flex: 0 0 auto;
padding: 0;
transition: all .2s linear;
width: 0;
&.active {
padding: 2em 1em;
transition: all .2s linear;
width: 260px;
.filters-inner {
opacity: 1;
transition: all .4s ease-in;
}
}
}
.search-in {
margin-top: .5rem;
}
}
.menu-tertiary {
flex: 0 0 auto;
min-height: $main-height;
width: 250px;
}
.main {
flex: 4;
flex-basis: 600px;
padding: 1rem 2rem;
}
.icon {
@extend %taiga;
}
.hidden {
// scss-lint:disable ImportantRule
display: none !important;
}
.header-with-actions {
align-content: stretch;
align-items: center;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
margin-bottom: 1rem;
.action-buttons {
flex-shrink: 0;
}
.button {
color: $white;
float: right;
margin-left: 10px;
&:hover {
color: $white;
}
}
h1 {
margin-bottom: 0;
}
}