浏览代码

style fixes for whiteboard

sawhney17 3 年之前
父节点
当前提交
52a50bfd24
共有 1 个文件被更改,包括 31 次插入3 次删除
  1. 31 3
      tldraw/apps/tldraw-logseq/src/styles.css

+ 31 - 3
tldraw/apps/tldraw-logseq/src/styles.css

@@ -30,7 +30,6 @@
   background: none;
   background: none;
   border: none;
   border: none;
   cursor: pointer;
   cursor: pointer;
-  border-radius: 2px;
   padding: 4px 8px;
   padding: 4px 8px;
 }
 }
 
 
@@ -50,6 +49,35 @@
   font-size: inherit;
   font-size: inherit;
 }
 }
 
 
+
+.logseq-tldraw .action-bar {
+  position: relative;
+  top: 0;
+  /* width: 100%; */
+  float:right;
+  grid-row: 1;
+  display: flex;
+  align-items: center;
+  padding: 8px;
+  color: black;
+  /* border-radius: 15px; */
+  border-bottom-left-radius: 15px;
+  z-index: 100000;
+  user-select: none;
+  background: white;
+  border-left: 1px solid black;
+  border-bottom: 1px solid black;
+  font-size: inherit;
+}
+
+.logseq-tldraw .action-bar button:hover {
+  background-color: var(--color-hover);
+}
+
+.logseq-tldraw .action-bar button {
+  border-radius: 4px;
+}
+
 .logseq-tldraw .contextbar {
 .logseq-tldraw .contextbar {
   pointer-events: all;
   pointer-events: all;
   position: relative;
   position: relative;
@@ -370,8 +398,8 @@
 
 
 .logseq-tldraw .preview-minimap-toggle {
 .logseq-tldraw .preview-minimap-toggle {
   position: absolute;
   position: absolute;
-  top: 24px;
-  right: 40px;
+  top: 60px;
+  right: 50px;
   z-index: 1;
   z-index: 1;
   width: 32px;
   width: 32px;
   height: 32px;
   height: 32px;