Fix delete element

This commit is contained in:
Jeremy Thomas
2016-10-30 16:11:04 +00:00
parent 84a40052fc
commit 36822ed3fb
9 changed files with 667 additions and 35 deletions

View File

@@ -1,15 +1,13 @@
.notification
+block
+clearfix
background-color: $background
border-radius: $radius
padding: 1.25rem 1.5rem
padding: 1.25rem 2.5rem 1.25rem 1.5rem
position: relative
.delete
border-radius: 0 $radius
position: absolute
right: 0
top: 0
right: 0.5em
top: 0.5em
.title,
.subtitle,
.content

View File

@@ -31,7 +31,7 @@
+unselectable
-moz-appearance: none
-webkit-appearance: none
background-color: rgba($black, 0.1)
background-color: rgba($black, 0.2)
border: none
border-radius: 290486px
cursor: pointer
@@ -59,8 +59,11 @@
&:after
height: 50%
width: 2px
&:hover
background-color: rgba($black, 0.2)
&:hover,
&:focus
background-color: rgba($black, 0.3)
&:active
background-color: rgba($black, 0.4)
// Sizes
&.is-small
font-size: $size-small