]> BookStack Code Mirror - bookstack/blobdiff - resources/assets/sass/_blocks.scss
Added migration file.
[bookstack] / resources / assets / sass / _blocks.scss
index 3c7f7490b0de89c0b83ad694e5f110ed3db486d2..c5b850507b044cb9ed75b77a2e2b4fca8de03aa9 100644 (file)
 .callout {
   border-left: 3px solid #BBB;
   background-color: #EEE;
-  padding: $-s;
+  padding: $-s $-s $-s $-xl;
+  display: block;
+  position: relative;
   &:before {
     font-family: 'Material-Design-Iconic-Font';
-    padding-right: $-s;
+    left: $-xs + 4px;
+    top: 50%;
+    margin-top: -9px;
+    //top: $-xs + 5px;
     display: inline-block;
+    position: absolute;
+    font-size: 1.222em;
+    line-height: 1;
   }
   &.success {
     border-left-color: $positive;
   &.warning:before {
     content: '\f1f1';
   }
+}
+
+.card {
+  margin: $-m;
+  background-color: #FFF;
+  box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.2);
+  h3 {
+    padding: $-m;
+    border-bottom: 1px solid #E8E8E8;
+    margin: 0;
+    font-size: $fs-s;
+    color: #888;
+    font-weight: 400;
+    text-transform: uppercase;
+  }
+  .body, p.empty-text {
+    padding: $-m;
+  }
+}
+
+.well {
+  background-color: #F8F8F8;
+  padding: $-m;
+  border: 1px solid #DDD;
 }
\ No newline at end of file