2016-03-01 20:39:13 +02:00
|
|
|
// This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
// License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
//
|
|
|
|
// Copyright (c) 2015-2016 Andrey Antukh <niwi@niwi.nz>
|
|
|
|
// Copyright (c) 2015-2016 Juan de la Cruz <delacruzgarciajuan@gmail.com>
|
|
|
|
|
2015-06-18 19:35:50 +02:00
|
|
|
.dashboard-grid {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
font-size: $fs14;
|
2016-02-20 22:26:07 +01:00
|
|
|
height: 100%;
|
|
|
|
padding: $medium;
|
|
|
|
// ACTIVITY BAR PADDING
|
|
|
|
//padding: $medium 250px $medium $medium;
|
2015-06-18 19:35:50 +02:00
|
|
|
|
2015-12-15 22:56:03 +01:00
|
|
|
.dashboard-title {
|
2016-02-20 22:26:07 +01:00
|
|
|
margin: $medium 0;
|
2015-12-15 22:56:03 +01:00
|
|
|
position: relative;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
text-align: center;
|
|
|
|
width: 100%;
|
2016-05-14 20:50:06 +02:00
|
|
|
.edit {
|
|
|
|
padding: 5px 10px;
|
|
|
|
background: $color-white;
|
|
|
|
border: none;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
.close {
|
|
|
|
padding: 5px 10px;
|
|
|
|
background: $color-white;
|
|
|
|
cursor: pointer;
|
|
|
|
svg {
|
|
|
|
transform: rotate(45deg);
|
|
|
|
fill: $color-gray;
|
|
|
|
height: 20px;
|
|
|
|
width: 20px;
|
|
|
|
}
|
|
|
|
}
|
2015-12-15 22:56:03 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.edition {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
position: absolute;
|
|
|
|
right: 40px;
|
|
|
|
top: 0;
|
|
|
|
|
|
|
|
span {
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
svg {
|
|
|
|
fill: $color-gray;
|
|
|
|
height: 20px;
|
|
|
|
margin: 0 10px;
|
|
|
|
width: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
|
|
|
svg {
|
|
|
|
fill: $color-gray-darker;
|
|
|
|
}
|
2015-12-16 10:15:16 +01:00
|
|
|
|
2015-12-15 22:56:03 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2015-06-18 19:35:50 +02:00
|
|
|
.dashboard-grid-content {
|
|
|
|
display: flex;
|
2015-12-15 13:23:26 +01:00
|
|
|
min-height: 60vh;
|
2015-12-15 12:58:49 +01:00
|
|
|
overflow: scroll;
|
2015-06-18 19:35:50 +02:00
|
|
|
width: 100%;
|
|
|
|
|
2016-05-06 08:08:33 +02:00
|
|
|
.dashboard-grid-row {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
justify-content: center;
|
2016-05-20 08:19:20 +02:00
|
|
|
margin: auto;
|
2016-05-06 08:08:33 +02:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2015-06-18 19:35:50 +02:00
|
|
|
.grid-item {
|
|
|
|
align-items: center;
|
|
|
|
border-radius: $br-medium;
|
|
|
|
cursor: pointer;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
flex-shrink: 0;
|
2016-10-02 17:50:30 +02:00
|
|
|
height: 200px;
|
2015-12-15 19:13:50 +01:00
|
|
|
justify-content: center;
|
2015-06-18 19:35:50 +02:00
|
|
|
margin: $medium $medium 0 $medium;
|
2016-10-02 17:50:30 +02:00
|
|
|
max-width: 300px;
|
|
|
|
min-width: 260px;
|
2015-06-18 19:35:50 +02:00
|
|
|
padding: $medium;
|
|
|
|
position: relative;
|
|
|
|
text-align: center;
|
2016-02-20 22:26:07 +01:00
|
|
|
width: 18%;
|
2015-06-18 19:35:50 +02:00
|
|
|
|
2015-12-16 10:15:16 +01:00
|
|
|
&.small-item {
|
|
|
|
max-width: 12%;
|
2016-02-20 22:26:07 +01:00
|
|
|
min-width: 190px;
|
2015-12-16 10:15:16 +01:00
|
|
|
}
|
|
|
|
|
2016-10-31 15:56:12 +01:00
|
|
|
.item-info {
|
|
|
|
bottom: 0;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
left: 0;
|
|
|
|
padding: $small;
|
|
|
|
position: absolute;
|
|
|
|
text-align: left;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
color: $intense-ui-text;
|
|
|
|
font-size: $fs16;
|
|
|
|
font-weight: 400;
|
|
|
|
overflow: hidden;
|
|
|
|
padding: 0;
|
|
|
|
padding-right: $small;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
width: 100%;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
span.date {
|
|
|
|
color: $soft-ui-text;
|
|
|
|
font-size: $fs12;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2015-06-18 19:35:50 +02:00
|
|
|
&.add-project {
|
|
|
|
border: 2px dashed $color-gray-light;
|
|
|
|
box-shadow: inset 0 0 0 transparent;
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
span {
|
|
|
|
background-color: $color-primary-light;
|
|
|
|
border-radius: 5px;
|
|
|
|
color: $color-white;
|
|
|
|
font-size: $fs24;
|
|
|
|
padding: $small $medium;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: $color-primary-light;
|
|
|
|
border: 2px solid $color-white;
|
|
|
|
|
|
|
|
span {
|
|
|
|
color: $color-white;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2016-05-07 11:08:43 +02:00
|
|
|
// PROJECTS, ELEMENTS & ICONS GRID
|
2015-06-18 19:35:50 +02:00
|
|
|
&.project-th {
|
|
|
|
background-color: $color-white;
|
|
|
|
border-bottom: 2px solid lighten($color-gray-light, 12%);
|
|
|
|
|
|
|
|
&:hover {
|
2016-02-17 08:56:02 +01:00
|
|
|
border-color: $main-ui-color;
|
2015-06-18 19:35:50 +02:00
|
|
|
|
|
|
|
h3 {
|
2016-02-17 08:56:02 +01:00
|
|
|
color: $main-ui-color;
|
2015-06-18 19:35:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.project-th-actions {
|
|
|
|
align-items: center;
|
|
|
|
bottom: 0;
|
|
|
|
display: flex;
|
|
|
|
left: 0;
|
2016-10-31 15:56:12 +01:00
|
|
|
justify-content: flex-end;
|
2015-06-18 19:35:50 +02:00
|
|
|
padding: $small;
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
svg {
|
|
|
|
fill: $color-gray-light;
|
|
|
|
height: 14px;
|
2016-10-31 15:56:12 +01:00
|
|
|
margin-right: $x-small;
|
2015-06-18 19:35:50 +02:00
|
|
|
width: 14px;
|
|
|
|
}
|
|
|
|
|
|
|
|
span {
|
|
|
|
color: $color-gray-light;
|
|
|
|
}
|
|
|
|
|
|
|
|
.project-th-icon {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
margin-right: $small;
|
|
|
|
|
2016-10-31 15:56:12 +01:00
|
|
|
&.delete {
|
2015-06-18 19:35:50 +02:00
|
|
|
margin-right: 0;
|
|
|
|
|
|
|
|
svg {
|
2016-10-31 15:56:12 +01:00
|
|
|
fill: $medium-ui-icons;
|
|
|
|
margin-right: 0;
|
2015-06-18 19:35:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
transform: scale(1.4);
|
2016-10-31 15:56:12 +01:00
|
|
|
|
|
|
|
svg {
|
|
|
|
fill: $color-danger;
|
|
|
|
}
|
|
|
|
|
2015-06-18 19:35:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2015-12-15 19:13:50 +01:00
|
|
|
&.edit {
|
2016-10-31 15:56:12 +01:00
|
|
|
margin-right: 0;
|
|
|
|
|
|
|
|
svg {
|
|
|
|
fill: $medium-ui-icons;
|
|
|
|
}
|
2015-12-15 19:13:50 +01:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
transform: scale(1.4);
|
2016-10-31 15:56:12 +01:00
|
|
|
|
|
|
|
svg {
|
|
|
|
fill: $color-primary;
|
|
|
|
}
|
|
|
|
|
2015-12-15 19:13:50 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2015-06-18 19:35:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2016-05-07 11:08:43 +02:00
|
|
|
// IMAGES SECTION
|
|
|
|
&.images-th {
|
|
|
|
background-color: $color-white;
|
|
|
|
border-bottom: 2px solid lighten($color-gray-light, 12%);
|
|
|
|
justify-content: flex-start;
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
border-color: $main-ui-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.grid-item-th {
|
|
|
|
background-position: center;
|
|
|
|
background-size: cover;
|
|
|
|
border-top-left-radius: $br-medium;
|
|
|
|
border-top-right-radius: $br-medium;
|
|
|
|
height: 70%;
|
2016-05-09 19:34:50 +02:00
|
|
|
position: relative;
|
2016-05-07 11:08:43 +02:00
|
|
|
width: 100%;
|
2016-05-09 19:34:50 +02:00
|
|
|
|
2016-05-07 11:08:43 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2015-12-15 19:13:50 +01:00
|
|
|
.grid-item-image {
|
2016-05-09 19:34:50 +02:00
|
|
|
|
2015-12-15 19:13:50 +01:00
|
|
|
svg {
|
|
|
|
height: 20%;
|
|
|
|
max-width: 120px;
|
2016-10-31 15:56:12 +01:00
|
|
|
width: 3vw;
|
2015-12-15 19:13:50 +01:00
|
|
|
}
|
2016-05-09 19:34:50 +02:00
|
|
|
|
2015-12-15 19:13:50 +01:00
|
|
|
}
|
|
|
|
|
2015-12-16 10:15:16 +01:00
|
|
|
.color-swatch {
|
|
|
|
border-top-left-radius: $br-medium;
|
|
|
|
border-top-right-radius: $br-medium;
|
|
|
|
height: 25%;
|
|
|
|
left: 0;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.color-data {
|
|
|
|
color: $color-gray;
|
|
|
|
margin-top: 15px;
|
|
|
|
}
|
|
|
|
|
2016-05-09 19:34:50 +02:00
|
|
|
.input-checkbox {
|
|
|
|
margin: 0;
|
|
|
|
position: absolute;
|
|
|
|
top: 10px;
|
|
|
|
right: 5px;
|
|
|
|
|
|
|
|
label {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2015-06-18 19:35:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
2016-05-07 11:08:43 +02:00
|
|
|
|
2015-12-15 12:58:49 +01:00
|
|
|
// STYLES FOR LIBRARIES
|
|
|
|
&.library {
|
|
|
|
padding: $medium $medium $medium 250px;
|
|
|
|
}
|
2015-06-18 19:35:50 +02:00
|
|
|
|
|
|
|
}
|
2016-05-09 20:08:07 +02:00
|
|
|
|
|
|
|
// MULTISELECT OPTIONS BAR
|
|
|
|
.multiselect-bar {
|
2016-05-09 20:13:53 +02:00
|
|
|
@include animation(0,.5s,fadeInUp);
|
2016-05-09 20:08:07 +02:00
|
|
|
align-items: center;
|
|
|
|
background-color: $color-white;
|
|
|
|
display: flex;
|
|
|
|
left: 0;
|
|
|
|
justify-content: center;
|
|
|
|
padding: $medium;
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
bottom: 0;
|
|
|
|
|
|
|
|
.multiselect-nav {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
2016-10-20 11:58:35 +02:00
|
|
|
justify-content: center;
|
|
|
|
margin-left: 10%;
|
2016-05-09 20:08:07 +02:00
|
|
|
width: 110px;
|
|
|
|
|
2016-10-20 11:58:35 +02:00
|
|
|
span {
|
|
|
|
margin-right: 1.5rem;
|
|
|
|
&:last-child {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-05-09 20:08:07 +02:00
|
|
|
svg {
|
|
|
|
cursor: pointer;
|
|
|
|
fill: $medium-ui-icons;
|
|
|
|
height: 20px;
|
|
|
|
width: 20px;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
fill: $intense-ui-icons;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
span.delete {
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
|
|
|
svg{
|
|
|
|
fill: $color-danger-light;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
2016-10-20 12:37:43 +02:00
|
|
|
|
|
|
|
.move-item {
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
.move-list {
|
|
|
|
background-color: $color-white;
|
|
|
|
border-radius: $br-small;
|
|
|
|
bottom: 30px;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
left: -30px;
|
|
|
|
max-height: 260px;
|
|
|
|
overflow-y: scroll;
|
|
|
|
padding: $medium;
|
|
|
|
position: absolute;
|
|
|
|
width: 260px;
|
|
|
|
|
|
|
|
li {
|
|
|
|
padding-bottom: $medium;
|
|
|
|
|
|
|
|
&.title {
|
|
|
|
color: $color-gray-darker;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|