]> BookStack Code Mirror - bookstack/blobdiff - resources/assets/sass/styles.scss
Add Slovak translation
[bookstack] / resources / assets / sass / styles.scss
index 774088fa83c0a7beefb3bb86ec89c9a867c5f300..967aba76b755796c44c798f15ab94331c3c2fdd9 100644 (file)
@@ -12,7 +12,7 @@
 @import "animations";
 @import "tinymce";
 @import "highlightjs";
-@import "image-manager";
+@import "components";
 @import "header";
 @import "lists";
 @import "pages";
@@ -72,7 +72,7 @@ body.dragging, body.dragging * {
   border-radius: 3px;
   box-shadow: $bs-med;
   z-index: 999999;
-  display: table;
+  display: block;
   cursor: pointer;
   max-width: 480px;
   i, span {
@@ -208,112 +208,72 @@ $btt-size: 40px;
   }
 }
 
-// Attribute form
-.floating-toolbox {
-  background-color: #FFF;
+.entity-selector {
   border: 1px solid #DDD;
-  right: $-xl*2;
-  z-index: 99;
-  width: 48px;
+  border-radius: 3px;
   overflow: hidden;
-  align-items: stretch;
-  flex-direction: row;
-  display: flex;
-  transition: width ease-in-out 180ms;
-  margin-top: -1px;
-  &.open {
-    width: 480px;
-  }
-  [toolbox-toggle] i {
-    transition: transform ease-in-out 180ms;
-  }
-  [toolbox-toggle] {
-    transition: background-color ease-in-out 180ms;
-  }
-  &.open [toolbox-toggle] {
-    background-color: rgba(255, 0, 0, 0.29);
-  }
-  &.open [toolbox-toggle] i {
-    transform: rotate(180deg);
-  }
-  > div {
-    flex: 1;
-    position: relative;
-  }
-  .tabs {
-    display: block;
-    border-right: 1px solid #DDD;
-    width: 54px;
-    flex: 0;
-  }
-  .tabs i {
-    color: rgba(0, 0, 0, 0.5);
-    padding: 0;
-    margin: 0;
-  }
-  .tabs > span {
+  font-size: 0.8em;
+  input[type="text"] {
+    width: 100%;
     display: block;
-    cursor: pointer;
+    border-radius: 0;
+    border: 0;
+    border-bottom: 1px solid #DDD;
+    font-size: 16px;
     padding: $-s $-m;
-    font-size: 13.5px;
-    line-height: 1.6;
-    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
-  }
-  &.open .tabs > span.active {
-    color: #444;
-    background-color: rgba(0, 0, 0, 0.1);
-  }
-  div[tab-content] {
-    padding-bottom: 45px;
-    display: flex;
-    flex: 1;
   }
-  div[tab-content] .padded {
-    flex: 1;
-    padding-top: 0;
-  }
-  h4 {
-    font-size: 24px;
-    margin: $-m 0 0 0;
-    padding: 0 $-l $-s $-l;
-  }
-  .tags input {
-    max-width: 100%;
-    width: 100%;
-    min-width: 50px;
+  .entity-list {
+    overflow-y: scroll;
+    height: 400px;
+    background-color: #EEEEEE;
+  }
+  .loading {
+    height: 400px;
+    padding-top: $-l;
+  }
+  .entity-list > p {
+    text-align: center;
+    padding-top: $-l;
+    font-size: 1.333em;
+  }
+  .entity-list > div {
+    padding-left: $-m;
+    padding-right: $-m;
+    background-color: #FFF;
+    transition: all ease-in-out 120ms;
+    cursor: pointer;
   }
-  .tags td {
-    padding-right: $-s;
-    padding-top: $-s;
+}
+
+.entity-list-item.selected {
+  h3, i, p ,a, span {
+    color: #EEE;
   }
-  button.pos {
-    position: absolute;
-    bottom: 0;
-    display: block;
+}
+
+.center-box {
+  margin: $-xl auto 0 auto;
+  padding: $-m $-xxl $-xl $-xxl;
+  width: 420px;
+  max-width: 100%;
+  display: inline-block;
+  text-align: left;
+  vertical-align: top;
+  //border: 1px solid #DDD;
+  input {
     width: 100%;
-    padding: $-s;
-    height: 45px;
-    border: 0;
-    margin: 0;
-    box-shadow: none;
-    border-radius: 0;
-    &:hover{
-      box-shadow: none;
-    }
-  }
-  .handle {
-    user-select: none;
-    cursor: move;
-    color: #999;
   }
-  form {
-    display: flex;
-    flex: 1;
-    flex-direction: column;
-    overflow-y: scroll;
+  &.login {
+    background-color: #EEE;
+    box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.1);
+    border: 1px solid #DDD;
   }
 }
 
-[tab-content] {
-  display: none;
-}
\ No newline at end of file
+
+
+
+
+
+
+