]> BookStack Code Mirror - bookstack/blobdiff - resources/assets/sass/_pages.scss
Started on a design update
[bookstack] / resources / assets / sass / _pages.scss
index 21fdf90dea234ad25c95365f6a45e89a20045ca0..2d3a5852d1e64d32748e31e2fedc7c91a4097f3c 100755 (executable)
   .mce-open {
     display: none;
   }
+}
+
+.entity-icon {
+  font-size: 1.3em;
+  width: 1.88em;
+  height: 1.88em;
+  display: flex;
+  align-items: center;
+  justify-content: center;
+  text-align: center;
+  border-radius: 1em;
+  position: relative;
+  overflow: hidden;
+  svg {
+    margin: 0;
+    bottom: 0;
+  }
+  &:after {
+    content: '';
+    position: absolute;
+    background-color: currentColor;
+    opacity: 0.2;
+    left: 0;
+    top: 0;
+    width: 100%;
+    height: 100%;
+  }
 }
\ No newline at end of file