X-Git-Url: https://git.ktnx.net/?a=blobdiff_plain;f=public%2Fcss%2Fstyle.css;fp=public%2Fcss%2Fstyle.css;h=98ef56559d391dc93f8ccd3a466d9437b98d0d6d;hb=f1ab8554042dbe7c02a7e53b2a3391378b887308;hp=80f143517cdcec139021d4754db533654ae2240c;hpb=88805af2232addca6362effda7141a9e634b10be;p=lsl.git diff --git a/public/css/style.css b/public/css/style.css index 80f1435..98ef565 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -5,12 +5,12 @@ margin-bottom: 25px; padding: 0; background-color: #ddd; font-family: "Bitstream Vera Sans", sans-serif; -font-size: 12pt; +font-size: 14pt; color: #333; } input { - font-size: 12pt; + font-size: 14pt; } h1 { @@ -107,10 +107,17 @@ font-family: sans-serif; font-size: 10px; } -#lists-sidebar-item, .have-lists #no-lists-sidebar-item { +#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; @@ -119,15 +126,44 @@ font-size: 10px; .table-2-col > .arrow { align-self: center; } -#list-contents { display: none; } .have-list #list-contents { display: block; } -#new-list-sidebar-item > div { +.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; @@ -156,4 +192,17 @@ font-size: 10px; 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; +}