add a button in alert message

pull/3165/head
Vadim Costin 9 years ago
parent 5654e45021
commit f95259c337
  1. 1
      app/assets/stylesheets/content/_notifications.lsg
  2. 7
      app/assets/stylesheets/content/_notifications.sass

@ -21,6 +21,7 @@
<li>Fact 2: You <em>really</em> made a mistake</li>
<li>Fact 3: You <strong>should fix it</strong></li>
</ul>
<button class="button">continue editing</button>
</div>
</div>
```

@ -73,12 +73,15 @@ $nm-color-warning-background: #f4f4aa
font-size: $nm-font-size
position: relative
word-wrap: break-word
& .button
margin: rem-calc(10px 10px 0 0)
//@hack adapting to provided styles
//messy I dont have all the details for a magic resolve, this might change
& p, & ul
margin-bottom: 0
& p, & ul>li
& p, & ul>li, & .button
font-size: $nm-font-size
&.-error

Loading…
Cancel
Save