mirror of
https://github.com/penpot/penpot.git
synced 2025-02-09 16:48:16 -05:00
Add quick visual fixes to dashboard
This commit is contained in:
parent
5dddd8788a
commit
23ba635aab
6 changed files with 15 additions and 14 deletions
|
@ -11,6 +11,12 @@
|
|||
"en" : "Edit"
|
||||
}
|
||||
},
|
||||
"dashboard.grid.rename" : {
|
||||
"used-in" : [ "src/uxbox/main/ui/dashboard/project.cljs:60", "src/uxbox/main/ui/dashboard/grid.cljs:91" ],
|
||||
"translations" : {
|
||||
"en" : "Rename"
|
||||
}
|
||||
},
|
||||
"dashboard.grid.empty-files" : {
|
||||
"used-in" : [ "src/uxbox/main/ui/dashboard/grid.cljs:114" ],
|
||||
"translations" : {
|
||||
|
|
|
@ -499,7 +499,7 @@ input[type="checkbox"]:focus {
|
|||
// Element-name
|
||||
|
||||
input.element-name {
|
||||
background-color: $color-gray-10;
|
||||
background-color: $color-white;
|
||||
border: 1px solid $color-gray-40;
|
||||
border-radius: $br-small;
|
||||
color: $color-gray-60;
|
||||
|
|
|
@ -47,26 +47,27 @@
|
|||
}
|
||||
|
||||
.library-elements {
|
||||
border-top: 1px solid $color-gray-10;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: calc(95% - 1rem);
|
||||
margin-bottom: $size-4;
|
||||
overflow-y: auto;
|
||||
padding-bottom: 20px;
|
||||
padding: $size-4 0;
|
||||
|
||||
li {
|
||||
align-items: center;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
flex-shrink: 0;
|
||||
padding: $size-4 $size-2;
|
||||
padding: $size-2;
|
||||
|
||||
svg {
|
||||
border-radius: 3px;
|
||||
fill: $color-black;
|
||||
margin-right: 8px;
|
||||
height: $size-4;
|
||||
width: $size-4;
|
||||
height: $size-3;
|
||||
width: $size-3;
|
||||
}
|
||||
|
||||
span.element-title {
|
||||
|
@ -78,15 +79,9 @@
|
|||
}
|
||||
|
||||
&.recent-projects {
|
||||
border-top: 1px solid $color-gray-10;
|
||||
|
||||
svg {
|
||||
fill: $color-white;
|
||||
}
|
||||
|
||||
span {
|
||||
font-size: $fs15;
|
||||
}
|
||||
}
|
||||
|
||||
& .edit-wrapper {
|
||||
|
@ -142,6 +137,7 @@
|
|||
.projects-row {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
margin-top: 1rem;
|
||||
padding: $size-2;
|
||||
|
||||
span {
|
||||
|
|
|
@ -83,7 +83,6 @@
|
|||
color: $color-black;
|
||||
display: flex;
|
||||
font-size: $fs15;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.main-bar-icon {
|
||||
|
|
|
@ -98,7 +98,7 @@
|
|||
i/actions]
|
||||
[:& context-menu {:on-close on-menu-close
|
||||
:show (:menu-open @local)
|
||||
:options [[(t locale "dashboard.grid.edit") on-edit]
|
||||
:options [[(t locale "dashboard.grid.rename") on-edit]
|
||||
[(t locale "dashboard.grid.delete") on-delete]]}]]]))
|
||||
|
||||
;; --- Grid
|
||||
|
|
|
@ -58,7 +58,7 @@
|
|||
[:div.main-bar-icon {:on-click on-menu-click} i/arrow-down]
|
||||
[:& context-menu {:on-close on-menu-close
|
||||
:show (:menu-open @local)
|
||||
:options [[(t locale "dashboard.grid.edit") on-edit]
|
||||
:options [[(t locale "dashboard.grid.rename") on-edit]
|
||||
[(t locale "dashboard.grid.delete") on-delete]]}]
|
||||
(if (:edition @local)
|
||||
[:input.element-name {:type "text"
|
||||
|
|
Loading…
Add table
Reference in a new issue