124 lines
1.7 KiB
SCSS
124 lines
1.7 KiB
SCSS
// Table of Contents
|
|
//
|
|
// 01. Logo
|
|
//
|
|
|
|
// 01. Logo
|
|
// --------
|
|
|
|
@mixin logo {
|
|
color: #fff;
|
|
display: inline-block;
|
|
font-family: 'Lato' !important;
|
|
font-size: rem-calc(24);
|
|
font-weight: lighter;
|
|
|
|
@include breakpoint(medium) {
|
|
line-height: $line-height * 2;
|
|
margin-top: 0;
|
|
}
|
|
|
|
img {
|
|
height: 48px;
|
|
width: 48px;
|
|
|
|
@include breakpoint(medium) {
|
|
height: 80px;
|
|
margin-right: $line-height / 2;
|
|
margin-top: 0;
|
|
width: 80px;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
@mixin direct-uploads {
|
|
|
|
.cached-image {
|
|
max-width: 150px;
|
|
max-height: 150px;
|
|
}
|
|
|
|
.progress-bar-placeholder {
|
|
display: none;
|
|
margin-bottom: $line-height;
|
|
}
|
|
|
|
.document-form,
|
|
.image-form {
|
|
|
|
.title{
|
|
margin-bottom: $line-height;
|
|
}
|
|
|
|
.document,
|
|
.image-form {
|
|
.file-name {
|
|
margin-top: 0;
|
|
}
|
|
}
|
|
|
|
.document,
|
|
.image {
|
|
.loading-bar.errors {
|
|
margin-top: $line-height * 2;
|
|
}
|
|
}
|
|
}
|
|
|
|
.document,
|
|
.image {
|
|
|
|
.document-attachment,
|
|
.image-attachment {
|
|
padding-left:0;
|
|
|
|
p{
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
input.js-document-attachment,
|
|
input.js-image-attachment{
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.button {
|
|
font-weight: normal;
|
|
}
|
|
|
|
.progress-bar {
|
|
width: 100%;
|
|
background-color: $light-gray;
|
|
}
|
|
|
|
.file-name {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.loading-bar {
|
|
height: 5px;
|
|
width: 0;
|
|
transition: width 500ms ease-out;
|
|
|
|
&.uploading {
|
|
background-color: $dark-gray;
|
|
}
|
|
|
|
&.complete {
|
|
background-color: $success-color;
|
|
width: 100%;
|
|
}
|
|
|
|
&.errors {
|
|
background-color: $alert-color;
|
|
width: 100%;
|
|
margin-top: $line-height / 2;
|
|
}
|
|
}
|
|
|
|
.loading-bar.no-transition {
|
|
transition: none;
|
|
}
|
|
}
|