/**
* @author Jan-Christoph Borchardt, http://jancborchardt.net
* @copyright Copyright (c) 2015, ownCloud, Inc.
* @license AGPL-3.0
*
* This code is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License, version 3,
* along with this program. If not, see
*/
body { font-family: $sans; background-color: $white; padding: 0px;}
#header {
background: unset;
z-index: 10;
padding: 0;
height: 60px;
h1 {
padding: 0;
display: none !important;
}
}
.bg-brain-image {
background-image: url(#{$imgs-path}Brain_Texture.jpg);
background-position: center;
background-size: cover;
background-repeat: no-repeat;
z-index: 1;
}
// headers type
h1, h2, h3, h4, h5, h6 {
font-family: $font-secondary;
border-bottom: unset;
}
h1 { font-size: rem(56); line-height: rem(66); }
h2 { font-size: rem(50); line-height: rem(60); }
h3 { font-size: rem(36); line-height: rem(42); }
h4 { font-size: rem(30); line-height: rem(36); }
h5 { font-size: rem(24); line-height: rem(28); }
h6 { font-size: rem(22); line-height: rem(26); }
.color-text { color: $text !important; }
.color-primary { color: $primary !important; }
.color-blue { color: $secondary !important; }
// grad-border header
.grad-border {
z-index: 5 !important;
font-family: $sans-bold;
&.center {
&:before {
content: '';
height: rem(4);
width: rem(100);
position: absolute;
left: calc((100% - 100px) / 2);
margin-top: -20px;
@include css-gradient($primary,$color-stop-4);
}
}
&.left-sm-center {
&:before {
content: '';
height: rem(4);
width: rem(100);
position: absolute;
left: calc((100% - 100px) / 2);
margin-top: -20px;
@include css-gradient($primary,$color-stop-4);
}
}
&.mint{
&:before{
content: '';
height: rem(4);
width: rem(100);
position: absolute;
left: calc((100% - 100px) / 2);
margin-top: -20px;
@include css-gradient($tertiary-light,$tertiary-light);
}
}
&.mint-blue{
&:before{
content: '';
height: rem(4);
width: rem(100);
position: absolute;
left: calc((100% - 100px) / 2);
margin-top: -20px;
@include css-gradient($tertiary-light,$secondary);
}
}
&.blue{
&:before{
content: '';
height: rem(4);
width: rem(100);
position: absolute;
left: calc((100% - 100px) / 2);
margin-top: -20px;
@include css-gradient($secondary,$secondary);
}
}
&.magenta{
&:before{
content: '';
height: rem(4);
width: rem(100);
position: absolute;
left: calc((100% - 100px) / 2);
margin-top: -20px;
@include css-gradient($primary,$primary);
}
}
&.eggplant{
&:before{
content: '';
height: rem(4);
width: rem(100);
position: absolute;
left: calc((100% - 100px) / 2);
margin-top: -20px;
@include css-gradient($primary-dark,$primary-dark);
}
}
&.left {
&:before {
left: unset;
// @include css-gradient($primary,$color-stop-4);
}
}
}
/* header color */
/* this is the main brand color */
#body-user #header,
#body-settings #header,
#body-public #header {
background-color: $primary;
height: rem(60);
}
#body-user #header {
&:before {
background-color: $primary;
}
}
.justify-center {
display: flex;
justify-content: center;
}
.justify-left {
display: flex;
justify-content: flex-start;
}
.justify-right {
display: flex;
justify-content: flex-end;
}
.w-100 { width: 100%; }
.w-75 { width: 75%; }
.w-50 { width: 50%; }
.w-25 { width: 25%; }
.z-10 { z-index: 10; }
#content {
background-color: $white;
margin-top: 330px;
z-index: 2;
// min-height: 200px;
&:before {
content: "";
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1500 347' preserveAspectRatio='none'%3E