}
ul {
+ position: relative;
list-style: none;
padding: 0;
width: 10rem;
margin: 0.5rem 2em 2em 2em;
+ float: left;
}
img {
margin-top: 2.5px
}
+input.colname {
+ width: calc(100% - 68px);
+ height: 19px;
+ margin: 14px 0 6px 0;
+ border: 2px var(--hover-bg) dashed;
+ background-color: var(--default-bg);
+ color: inherit;
+ font-family: inherit;
+}
+
.remove {
width: 29px;
height: 35px;
padding: 0;
- background: var(--hover-bg);
+ background-color: var(--hover-bg);
float: right;
text-align: center;
justify-content: center;
}
.save:hover, .save:focus, .save:focus-within {
- background: var(--hover-grn);
+ background-color: var(--hover-grn);
}
.remove:hover {
- background: var(--remove-bg);
+ background-color: var(--remove-bg);
+}
+
+#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;
+ font-weight: bold;
+}
+
+#edit:hover {
+ background-color: var(--hover-bg-2);
+}
+
+#addcol {
+ display: none;
+ right: 29px;
+}
+
+#addcol:hover {
+ background-color: var(--hover-grn);
}
-.add {
+.add, .rmcol {
background-color: var(--hover-bg);
margin-top: 14px;
width: 29px;
background-color: var(--hover-grn) !important;
}
+.rmcol {
+ display: flex;
+}
+
+.rmcol:hover {
+ background-color: var(--remove-bg) !important;
+}
+
.new {
background-color: var(--hover-bg);
}
display: flex;
}
+.title p:hover {
+ cursor: move;
+}
+
.title:hover .add:not(:hover),
li:hover > .remove:not(:hover) {
display: flex;
display: none;
}
-a, ul > .title > p {
+a, ul > .title > p, .colname {
width: calc(100% - 45px);
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);*/
+}
+
+span.grip {
+ content: '....';
+ position: relative;
+ right: 20px;
+ top: 35px;
+ width: 10px;
+ height: 20px;
+ display: none;
+ overflow: hidden;
+ line-height: 5px;
+ padding: 3px 4px;
+ cursor: move;
+ vertical-align: middle;
+ font-size: 12px;
+ font-family: sans-serif;
+ font-weight: bold;
+ letter-spacing: 2px;
+}
+
+span.grip::after {
+ content: '.. .. .. ..';
+}
+
+.glyphicon-move {
+ cursor: move;
+ cursor: -webkit-grabbing;
+}
+
.title {
margin-bottom: 0.5rem;
font-weight: bold;
.title p {
width: 160px;
- margin-left: 0.5rem;
- margin-bottom: 0.5rem !important;
+ margin: 16px 0 8px 0;
}