mirror of
https://github.com/penpot/penpot.git
synced 2025-01-06 14:50:20 -05:00
fix project bar styles bugs
This commit is contained in:
parent
61a212ada7
commit
64c9360b38
3 changed files with 15 additions and 3 deletions
|
@ -255,7 +255,7 @@
|
|||
{:disabled (str/empty? (str/trim (get-in @parent [:form :name] "")))
|
||||
:on-click on-save}
|
||||
"Save"]
|
||||
[:button.btn-primary.btn-small
|
||||
[:button.btn-delete.btn-small
|
||||
{:on-click on-cancel}
|
||||
"Cancel"]]))))
|
||||
|
||||
|
|
|
@ -49,6 +49,16 @@
|
|||
}
|
||||
}
|
||||
|
||||
.btn-delete {
|
||||
@extend %btn;
|
||||
background: $color-danger;
|
||||
color: $color-white;
|
||||
&:hover {
|
||||
background: $color-danger-dark;
|
||||
color: $color-white;
|
||||
}
|
||||
}
|
||||
|
||||
.btn-gray {
|
||||
@extend %btn;
|
||||
background: $color-gray;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
border-right: 1px solid $color-gray-lighter;
|
||||
bottom: 0;
|
||||
height: 100%;
|
||||
left:55px;
|
||||
left: 50px;
|
||||
position: fixed;
|
||||
width: 200px;
|
||||
z-index: 9;
|
||||
|
@ -28,8 +28,10 @@
|
|||
width: 100%;
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
.btn-primary,
|
||||
.btn-delete {
|
||||
font-size: $fs13;
|
||||
margin-bottom: .5rem;
|
||||
padding: 8px $small;
|
||||
width: 90%;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue