style.csson commit further cleanup, update readme (fc203cb)
   1:root {
   2  --hover-bg: #434c5e;
   3  --hover-grn: #a3be8c;
   4  --hover-bg-2: #848ead;
   5  --remove-bg: #bf616a;
   6  --default-fg: #d8dee9;
   7  --default-bg: #2e3440;
   8}
   9  
  10html, body {
  11  font-size: 16px !important;
  12  width: 100%;
  13  height: 100%;
  14}
  15
  16body {
  17  margin: 0;
  18  color: var(--default-fg);
  19  display: flex;
  20  flex-direction: column;
  21  align-items: center;
  22  justify-content: center;
  23}
  24
  25#links {
  26  display: flex;
  27  flex-direction: row;
  28  display: -webkit-flex;
  29  -webkit-flex-direction: row;
  30}
  31
  32ul {
  33  position: relative;
  34  list-style: none;
  35  padding: 0;
  36  width: 10rem;
  37  margin: 0.5rem 2em 2em 2em;
  38  float: left;
  39}
  40
  41img {
  42  float: left;
  43  margin-top: 1px;
  44  padding-right: 3px;
  45}
  46
  47input {
  48  font-size: 16px !important;
  49  padding: 0;
  50  height: 18.5px;
  51  width: 112px;
  52  margin: 5px;
  53}
  54
  55input.name {
  56  margin-bottom: 2.5px
  57}
  58
  59input.url {
  60  margin-top: 2.5px
  61}
  62
  63input.colname {
  64  width: calc(100% - 68px);
  65  height: 19px;
  66  margin: 14px 0 6px 0;
  67  border: 2px var(--hover-bg) dashed;
  68  background-color: var(--default-bg);
  69  color: inherit;
  70  font-family: inherit;
  71}
  72
  73.remove {
  74  width: 29px;
  75  height: 35px;
  76  padding: 0;
  77  background-color: var(--hover-bg);
  78  float: right;
  79  text-align: center;
  80  justify-content: center;
  81  align-items: center;
  82  cursor: pointer;
  83  font-family: monospace;
  84  display: flex;
  85}
  86
  87.save {
  88  padding-left: 8px;
  89  float: right;
  90  height: 60px;
  91  width: 21px;
  92  display: flex;
  93  text-align: center;
  94  align-items: center;
  95  cursor: pointer;
  96  background-color: var(--hover-bg-2);
  97}
  98
  99.save:hover, .save:focus, .save:focus-within {
 100  background-color: var(--hover-grn);
 101}
 102
 103.remove:hover {
 104  background-color: var(--remove-bg);
 105}
 106
 107#edit, #addcol {
 108  position: absolute;
 109  right: 0;
 110  bottom: 0;
 111  background-color: var(--hover-bg);
 112  width: 29px;
 113  height: 29px;
 114  padding: 0;
 115  display: flex;
 116  justify-content: center;
 117  align-items: center;
 118  cursor: pointer;
 119  font-weight: bold;
 120}
 121
 122#edit:hover {
 123  background-color: var(--hover-bg-2);
 124}
 125
 126#addcol {
 127  display: none;
 128  right: 29px;
 129}
 130
 131#addcol:hover {
 132  background-color: var(--hover-grn);
 133}
 134
 135.add, .rmcol {
 136  background-color: var(--hover-bg);
 137  margin-top: 14px;
 138  width: 29px;
 139  height: 29px;
 140  padding: 0;
 141  justify-content: center;
 142  align-items: center;
 143  float: right;
 144  display: none;
 145  cursor: pointer;
 146}
 147
 148.add:hover {
 149  background-color: var(--hover-grn) !important;
 150}
 151
 152.rmcol {
 153  display: flex;
 154}
 155
 156.rmcol:hover {
 157  background-color: var(--remove-bg) !important;
 158}
 159
 160.new {
 161  background-color: var(--hover-bg);
 162}
 163
 164.title:hover > .add {
 165  display: flex;
 166}
 167
 168.title p:hover {
 169  cursor: move;
 170}
 171
 172.title:hover .add:not(:hover),
 173li:hover > .remove:not(:hover) {
 174  display: flex;
 175  background-color: var(--hover-bg);
 176}
 177
 178li:hover > a, li > a:focus, li > a:focus-within {
 179  display: inline-block;
 180  background-color: var(--hover-bg);
 181}
 182
 183li:hover {
 184  background-color: var(--hover-bg);
 185}
 186
 187a {
 188  color: inherit;
 189  outline: none;
 190  display: block;
 191  text-decoration: none;
 192  padding: 0.5rem;
 193  height: 19px;
 194}
 195
 196.remove:not(:hover) {
 197  display: none;
 198}
 199
 200a, ul > .title > p, .colname {
 201  width: calc(100% - 45px);
 202  display: inline-block;
 203}
 204
 205li.sortable-chosen.sortable-ghost {
 206  background-color: var(--hover-bg-2);
 207}
 208
 209.over {
 210 /* border: 2px dashed var(--default-fg);*/
 211}
 212
 213span.grip {
 214  content: '....';
 215  position: relative;
 216  right: 20px;
 217  top: 35px;
 218  width: 10px;
 219  height: 20px;
 220  display: none;
 221  overflow: hidden;
 222  line-height: 5px;
 223  padding: 3px 4px;
 224  cursor: move;
 225  vertical-align: middle;
 226  font-size: 12px;
 227  font-family: sans-serif;
 228  font-weight: bold;
 229  letter-spacing: 2px;
 230}
 231
 232span.grip::after {
 233  content: '.. .. .. ..';
 234}
 235
 236.glyphicon-move {
 237  cursor: move;
 238  cursor: -webkit-grabbing;
 239}
 240
 241.title {
 242  margin-bottom: 0.5rem;
 243  font-weight: bold;
 244  text-align: left;
 245  border-bottom: 1px solid var(--hover-bg);
 246}
 247
 248.title p {
 249  width: 160px;
 250  margin: 16px 0 8px 0;
 251}