0
Fork 0
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:
Juan de la Cruz 2015-12-17 12:34:40 +01:00 committed by Andrey Antukh
parent 61a212ada7
commit 64c9360b38
3 changed files with 15 additions and 3 deletions

View file

@ -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"]]))))

View file

@ -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;

View file

@ -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%;
}