0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-24 07:29:08 -05:00
penpot/frontend/resources/styles/main/partials/dashboard.scss

197 lines
3.3 KiB
SCSS
Raw Normal View History

// 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/.
//
2021-04-10 09:43:04 +02:00
// Copyright (c) UXBOX Labs SL
2020-10-05 18:20:39 +02:00
.dashboard-container {
background-color: $color-dashboard;
border-top-right-radius: $br-huge;
border-top-left-radius: $br-huge;
flex: 1 0 0;
2021-10-05 10:16:44 +02:00
margin-right: $size-4;
overflow-y: auto;
user-select: none;
&.search {
margin-top: 10px;
}
}
.dashboard-project-row {
2021-10-05 10:16:44 +02:00
margin-bottom: $size-4;
.project {
align-items: center;
background: $color-white;
border-radius: $br-small;
display: flex;
flex-direction: row;
2021-10-05 10:16:44 +02:00
margin-left: $size-4;
margin-top: $size-4;
padding: $size-1 $size-1 $size-1 $size-2;
width: fit-content;
height: 40px;
.btn-secondary {
2021-06-15 09:55:38 +02:00
border: none;
height: 32px;
}
h2 {
cursor: pointer;
2021-10-05 12:59:00 +02:00
font-size: $fs14;
line-height: 1rem;
2021-04-16 11:28:22 +02:00
font-weight: 500;
color: $color-black;
2021-10-05 10:16:44 +02:00
margin-right: $size-4;
}
2021-03-03 16:04:51 +01:00
.edit-wrapper {
2021-10-05 10:16:44 +02:00
margin-right: $size-4;
2021-03-03 16:04:51 +01:00
}
.info {
2021-10-05 12:59:00 +02:00
font-size: $fs14;
line-height: 1rem;
font-weight: unset;
color: $color-gray-30;
}
.pin-icon {
cursor: pointer;
display: flex;
align-items: center;
2021-06-15 09:55:38 +02:00
margin-left: 40px;
margin-right: 10px;
svg {
width: 15px;
height: 15px;
fill: $color-gray-20;
}
&.active {
svg {
fill: $color-gray-50;
}
}
}
}
}
2020-10-05 18:20:39 +02:00
2020-10-19 13:19:30 +02:00
.recent-files-row-title-info {
2021-10-05 12:59:00 +02:00
font-size: $fs14;
2020-10-19 13:19:30 +02:00
}
2020-10-05 18:20:39 +02:00
.dashboard-table {
display: flex;
flex-direction: column;
align-items: center;
margin-top: 20px;
font-size: $fs16;
.table-header {
max-width: 1040px;
display: flex;
background-color: $color-white;
color: $color-gray-30;
width: 100%;
height: 40px;
align-items: center;
padding: 0px 16px;
}
.table-rows {
display: flex;
flex-direction: column;
max-width: 1040px;
width: 100%;
2022-02-14 09:46:59 +01:00
margin-top: 16px;
2020-10-05 18:20:39 +02:00
color: $color-black;
}
.table-row {
display: flex;
width: 100%;
height: 45px;
align-items: center;
padding: 0px 16px;
}
.table-field {
display: flex;
align-items: center;
.icon {
padding-left: 10px;
cursor: pointer;
}
}
svg {
width: 10px;
height: 10px;
fill: $color-black;
}
}
.edit-wrapper {
border: 1px solid $color-gray-10;
border-radius: $br-small;
display: flex;
2021-10-05 10:16:44 +02:00
padding-right: $size-5;
2020-10-05 18:20:39 +02:00
position: relative;
input.element-title {
border: 0;
height: 30px;
padding: 5px;
margin: 0;
width: 100%;
background-color: $color-white;
}
.close {
cursor: pointer;
position: absolute;
top: 1px;
right: 2px;
svg {
fill: $color-gray-30;
height: 15px;
transform: rotate(45deg) translateY(7px);
width: 15px;
margin: 0;
}
}
}
2021-06-02 16:09:50 +02:00
.import-file-btn {
align-items: center;
display: flex;
flex-direction: column;
height: 2rem;
justify-content: center;
overflow: hidden;
padding: 4px;
width: 2rem;
background: none;
border: 1px solid $color-gray-20;
border-radius: 2px;
cursor: pointer;
transition: all 0.4s;
margin-left: 1rem;
&:hover {
background: $color-primary;
}
svg {
width: 16px;
height: 16px;
}
}