fix bug where new columns were not added to database immediately
[newtab.git] / style.css
index ad983955abd90a25e5b5542fecd9a1f50cdeffd3..ac31d9e983a581215be3900a5e93f101431fb03b 100644 (file)
--- a/style.css
+++ b/style.css
@@ -33,6 +33,7 @@ ul {
   padding: 0;
   width: 10rem;
   margin: 0.5rem 2em 2em 2em;
+  float: left;
 }
 
 img {
@@ -91,7 +92,34 @@ input.url {
   background: var(--remove-bg);
 }
 
-.add {
+#edit, #addcol {
+  position: absolute;
+  right: 0;
+  bottom: 0;
+  background-color: var(--hover-bg);
+  width: 29px;
+  height: 29px;
+  padding: 0;
+  display: flex;
+  justify-content: center;
+  align-items: center;
+  cursor: pointer;
+}
+
+#edit:hover {
+  background-color: var(--hover-bg-2);
+}
+
+#addcol {
+  display: none;
+  right: 29px;
+}
+
+#addcol:hover {
+  background-color: var(--hover-grn);
+}
+
+.add, .rmcol {
   background-color: var(--hover-bg);
   margin-top: 14px;
   width: 29px;
@@ -108,6 +136,14 @@ input.url {
   background-color: var(--hover-grn) !important;
 }
 
+.rmcol {
+  display: flex;
+}
+
+.rmcol:hover {
+  background-color: var(--remove-bg) !important;
+}
+
 .new {
   background-color: var(--hover-bg);
 }
@@ -116,6 +152,10 @@ input.url {
   display: flex;
 }
 
+.title p:hover {
+  cursor: move;
+}
+
 .title:hover .add:not(:hover),
 li:hover > .remove:not(:hover) {
   display: flex;
@@ -149,10 +189,19 @@ a, ul > .title > p {
   display: inline-block;
 }
 
-li.sortable-chosen.sortable-ghost > a {
+li.sortable-chosen.sortable-ghost {
   background-color: var(--hover-bg-2);
 }
 
+.over {
+ /* border: 2px dashed var(--default-fg);*/
+}
+
+.glyphicon-move {
+  cursor: move;
+  cursor: -webkit-grabbing;
+}
+
 .title {
   margin-bottom: 0.5rem;
   font-weight: bold;