0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-07 15:39:42 -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] ""))) {:disabled (str/empty? (str/trim (get-in @parent [:form :name] "")))
:on-click on-save} :on-click on-save}
"Save"] "Save"]
[:button.btn-primary.btn-small [:button.btn-delete.btn-small
{:on-click on-cancel} {:on-click on-cancel}
"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 { .btn-gray {
@extend %btn; @extend %btn;
background: $color-gray; background: $color-gray;

View file

@ -3,7 +3,7 @@
border-right: 1px solid $color-gray-lighter; border-right: 1px solid $color-gray-lighter;
bottom: 0; bottom: 0;
height: 100%; height: 100%;
left:55px; left: 50px;
position: fixed; position: fixed;
width: 200px; width: 200px;
z-index: 9; z-index: 9;
@ -28,8 +28,10 @@
width: 100%; width: 100%;
} }
.btn-primary { .btn-primary,
.btn-delete {
font-size: $fs13; font-size: $fs13;
margin-bottom: .5rem;
padding: 8px $small; padding: 8px $small;
width: 90%; width: 90%;
} }