]> git.ktnx.net Git - lsl.git/blobdiff - public/css/style.css
next step in web-app: adding of lists and list items, marking items as done/pending
[lsl.git] / public / css / style.css
index 80f94ebef34ae7d7469ebb32f8007a982ad9946c..98ef56559d391dc93f8ccd3a466d9437b98d0d6d 100644 (file)
@@ -4,17 +4,17 @@ margin: 0;
 margin-bottom: 25px;
 padding: 0;
 background-color: #ddd;
-background-image: url("/images/perldancer-bg.jpg");
-background-repeat: no-repeat;
-background-position: top left;
-
-font-family: "Lucida Grande", "Bitstream Vera Sans", "Verdana";
-font-size: 13px;
+font-family: "Bitstream Vera Sans", sans-serif;
+font-size: 14pt;
 color: #333;
 }
 
+input {
+    font-size: 14pt;
+}
+
 h1 {
-font-size: 28px;
+font-size: 200%;
 color: #000;
 }
 
@@ -47,106 +47,25 @@ float: right;
 width: 175px;
 }
 
-#header, #about, #getting-started {
+#about, #getting-started {
 padding-left: 75px;
 padding-right: 30px;
 }
 
 
-#header {
-background-image: url("/images/perldancer.jpg");
-background-repeat: no-repeat;
-background-position: top left;
-height: 64px;
-}
 #header h1, #header h2 {margin: 0}
+#header { font-weight: bold; }
 #header h2 {
 color: #888;
 font-weight: normal;
-font-size: 16px;
+font-size: 133%;
 }
 
 #about h3 {
 margin: 0;
 margin-bottom: 10px;
-font-size: 14px;
-}
-
-#about-content {
-background-color: #ffd;
-border: 1px solid #fc0;
-margin-left: -11px;
-}
-#about-content table {
-margin-top: 10px;
-margin-bottom: 10px;
-font-size: 11px;
-border-collapse: collapse;
-}
-#about-content td {
-padding: 10px;
-padding-top: 3px;
-padding-bottom: 3px;
-}
-#about-content td.name  {color: #555}
-#about-content td.value {color: #000}
-
-#about-content.failure {
-background-color: #fcc;
-border: 1px solid #f00;
-}
-#about-content.failure p {
-margin: 0;
-padding: 10px;
-}
-
-#getting-started {
-border-top: 1px solid #ccc;
-margin-top: 25px;
-padding-top: 15px;
-}
-#getting-started h1 {
-margin: 0;
-font-size: 20px;
-}
-#getting-started h2 {
-margin: 0;
-font-size: 14px;
-font-weight: normal;
-color: #333;
-margin-bottom: 25px;
-}
-#getting-started ol {
-margin-left: 0;
-padding-left: 0;
+font-size: 120%;
 }
-#getting-started li {
-font-size: 18px;
-color: #888;
-margin-bottom: 25px;
-}
-#getting-started li h2 {
-margin: 0;
-font-weight: normal;
-font-size: 18px;
-color: #333;
-}
-#getting-started li p {
-color: #555;
-font-size: 13px;
-}
-
-#search {
-margin: 0;
-padding-top: 10px;
-padding-bottom: 10px;
-font-size: 11px;
-}
-#search input {
-font-size: 11px;
-margin: 2px;
-}
-#search-text {width: 170px}
 
 #sidebar ul {
 margin-left: 0;
@@ -187,3 +106,103 @@ padding-right: 160px;
 font-family: sans-serif;
 font-size: 10px;
 }
+
+#lists-sidebar-item,
+.have-lists .have-no-lists {
+    display: none;
+}
+.have-lists #lists-sidebar-item { display: block; }
+div.needs-lists { display: none; }
+.have-lists div.needs-lists { display: block; }
+.have-list-items #list-is-empty { display: none; }
+#list-is-empty {
+    font-style: italic;
+}
+.table-2-col {
+  display: grid;
+  grid-template-columns: auto auto;
+  column-gap: 1em;
+}
+.table-2-col > .arrow {
+  align-self: center;
+}
+.have-list #list-contents {
+    display: block;
+}
+.input-with-button {
+    display: grid;
+    grid-template-columns: auto auto;
+    column-gap: 1ex;
+}
+.input-with-button > button {
+    max-width: max-content;
+}
+
+.list-item-row {
+    display: grid;
+    grid-template-columns: max-content auto max-content;
+    column-gap: 1ex;
+    background: hsla(0, 0%, 90%, 0);
+    transition: 0.5s;
+}
+.list-item-row:hover {
+    background: hsla(0, 0%, 90%, 1);
+}
+.list-item-row .description { cursor: text; min-width: 2em; }
+.list-item-row .edit-trigger {
+    cursor: pointer;
+    visibility: hidden;
+    opacity: 0;
+    transition: 0.5s;
+    background: hsla(0, 0%, 80%, 0);
+}
+.list-item-row:hover .edit-trigger {
+    visibility: visible;
+    opacity: 1;
+    padding: 0 0.5ex;
+}
+.edit-trigger:hover {
+    background: hsla(0, 0%, 80%, 1);
+}
+
+#busy-screen {
+    display: none;
+    opacity: 0;
+    transition: 1s;
+    width: 100%;
+    height: 100%;
+    position: fixed;
+    top: 0;
+    left: 0;
+    background: hsla(0, 0%, 50%, 50%);
+    z-index: 800;
+}
+.blocked #busy-screen {
+    display: block;
+}
+.busy #busy-screen {
+    opacity: 1;
+}
+#busy-screen > div {
+    position: fixed;
+    top: 1ex;
+    right: 1ex;
+    padding: 1em;
+    display: inline-block;
+    background: hsla(0, 0%, 100%, 75%);
+    border-radius: 1ex;
+}
+ul#lists > li {
+    cursor: pointer;
+    border: 1px solid transparent;
+    transition: 0.25s;
+}
+ul#lists > li:hover {
+    border: 1px solid black;
+}
+ul#lists > li.selected {
+    background: hsl(0, 0%, 70%);
+}
+#new-list-item {
+    margin-top: 1em;
+}