mirror of
https://github.com/penpot/penpot.git
synced 2025-02-10 09:08:31 -05:00
wip dashboard sidebar
This commit is contained in:
parent
758c70f7c3
commit
b1d13b3d42
3 changed files with 18 additions and 12 deletions
|
@ -126,7 +126,7 @@
|
|||
|
||||
h3 {
|
||||
color: $intense-ui-text;
|
||||
font-size: $fs16;
|
||||
font-size: $fs15;
|
||||
font-weight: 400;
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
padding-top: 60px;
|
||||
padding-top: 40px;
|
||||
|
||||
.library-tabs {
|
||||
align-items: center;
|
||||
|
@ -61,21 +61,24 @@
|
|||
padding-bottom: 20px;
|
||||
|
||||
li {
|
||||
border-bottom: 1px solid $secondary-ui-bg;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex-shrink: 0;
|
||||
padding: 10px;
|
||||
padding: $medium;
|
||||
|
||||
span.element-title {
|
||||
color: $color-gray-dark;
|
||||
font-weight: bold;
|
||||
margin-bottom: 5px;
|
||||
color: $intense-ui-text;
|
||||
font-size: $fs14;
|
||||
overflow-x: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
&.recent-projects {
|
||||
border-top: 1px solid $dark-ui-bg;
|
||||
border-bottom: 1px solid $dark-ui-bg;
|
||||
}
|
||||
|
||||
input.element-title {
|
||||
border: 0;
|
||||
|
@ -101,13 +104,17 @@
|
|||
font-style: italic;
|
||||
}
|
||||
|
||||
&:hover,
|
||||
&.current {
|
||||
&:hover {
|
||||
background-color: $main-ui-color;
|
||||
color: $intense-ui-text;
|
||||
}
|
||||
|
||||
&.current {
|
||||
|
||||
span.element-title,
|
||||
.element-subtitle {
|
||||
color: $color-white;
|
||||
color: $intense-ui-text;
|
||||
font-weight: bold;
|
||||
}
|
||||
input.element-title {
|
||||
color: $color-gray-dark;
|
||||
|
|
|
@ -241,8 +241,7 @@
|
|||
[:a.btn-primary #_{:on-click #(st/emit! di/create-collection)}
|
||||
"new project +"]]
|
||||
|
||||
[:li {:style {:marginBottom "20px"}
|
||||
:on-click #(st/emit! (udp/go-to-project nil))
|
||||
[:li.recent-projects {:on-click #(st/emit! (udp/go-to-project nil))
|
||||
:class-name (when (nil? id) "current")}
|
||||
[:span.element-title "Recent"]]
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue