mirror of
https://github.com/penpot/penpot.git
synced 2025-08-02 07:59:10 +02:00
♻️ Refactor dashboard (add teams)
This commit is contained in:
parent
47d347f357
commit
b3252ec2b2
52 changed files with 1842 additions and 1421 deletions
|
@ -1,6 +0,0 @@
|
|||
.libraries-page {
|
||||
padding: 1rem;
|
||||
background-color: $color-white;
|
||||
flex: 1 0 0;
|
||||
overflow-y: auto;
|
||||
}
|
|
@ -2,8 +2,10 @@
|
|||
// 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>
|
||||
// This Source Code Form is "Incompatible With Secondary Licenses", as
|
||||
// defined by the Mozilla Public License, v. 2.0.
|
||||
//
|
||||
// Copyright (c) 2020 UXBOX Labs SL
|
||||
|
||||
.main-content {
|
||||
display: flex;
|
||||
|
@ -14,23 +16,22 @@
|
|||
.dashboard-layout {
|
||||
background-color: $color-white;
|
||||
display: grid;
|
||||
grid-template-rows: 40px 1fr;
|
||||
grid-template-rows: 50px 1fr;
|
||||
grid-template-columns: 40px 180px 1fr;
|
||||
height: 100vh;
|
||||
|
||||
& .dashboard-sidebar {
|
||||
grid-row: 2;
|
||||
.dashboard-sidebar {
|
||||
grid-row: 1 / span 2;
|
||||
grid-column: 1 / span 2;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
& .dashboard-content {
|
||||
.dashboard-content {
|
||||
grid-row: 1 / span 2;
|
||||
}
|
||||
}
|
||||
|
||||
.dashboard-content {
|
||||
background-color: lighten($color-gray-10, 5%);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
.projects-page {
|
||||
padding: 1rem;
|
||||
background-color: $color-white;
|
||||
flex: 1 0 0;
|
||||
overflow-y: auto;
|
||||
}
|
|
@ -1,41 +0,0 @@
|
|||
.recent-files-page {
|
||||
background-color: $color-white;
|
||||
flex: 1 0 0;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.recent-files-row {
|
||||
padding: 1rem;
|
||||
border-top: 1px solid $color-gray-10;
|
||||
|
||||
&.first {
|
||||
border-top: none;
|
||||
}
|
||||
}
|
||||
|
||||
.recent-files-row-title {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
margin-left: $medium;
|
||||
margin-top: $medium;
|
||||
}
|
||||
|
||||
.recent-files-row-title-name, .recent-files-row-title-info {
|
||||
font-size: 15px;
|
||||
line-height: 1rem;
|
||||
font-weight: unset;
|
||||
}
|
||||
|
||||
.recent-files-row-title-name {
|
||||
color: black;
|
||||
margin-right: $medium;
|
||||
}
|
||||
|
||||
.recent-files-row-title-info {
|
||||
color: $color-gray-30
|
||||
}
|
||||
|
||||
.recent-files-empty {
|
||||
margin: 30px;
|
||||
font-size: 20px
|
||||
}
|
|
@ -1,6 +0,0 @@
|
|||
.search-page {
|
||||
padding: 1rem;
|
||||
background-color: $color-white;
|
||||
flex: 1 0 0;
|
||||
overflow-y: auto;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue