X-Git-Url: https://git.ktnx.net/?a=blobdiff_plain;f=public%2Fcss%2Fstyle.css;h=4634b150df1a5f5b9e4685010194bc5bb63ddc21;hb=refs%2Fheads%2Fmain;hp=80f94ebef34ae7d7469ebb32f8007a982ad9946c;hpb=b28adff9a0ae8c3359e2bcf315479b46ad90306b;p=lsl.git diff --git a/public/css/style.css b/public/css/style.css index 80f94eb..4634b15 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -1,20 +1,41 @@ body { margin: 0; -margin-bottom: 25px; +margin-bottom: 1em; 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; } +#splash { + z-index: 1; + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + background: hsl(0, 0%, 30%); + color: white; + display: grid; + transition: 0.2s; +} +#splash.done { + opacity: 0; + color: black; +} +#splash > p { + margin: auto; + width: max-content; + font-size: 200%; +} + +input { + font-size: 14pt; +} h1 { -font-size: 28px; +font-size: 150%; color: #000; } @@ -27,126 +48,53 @@ text-decoration: none; #page { background-color: #ddd; -width: 750px; -margin: auto; -margin-left: auto; -padding-left: 0px; -margin-right: auto; +display: grid; +margin: 0 1em 1em 1em; +} +@media (min-width: 500pt) { + #page { + grid-template-columns: auto minmax(25%,20em); + grid-column-gap: 1em; + } } #content { background-color: white; border: 3px solid #aaa; border-top: none; -padding: 25px; -width: 500px; +padding: 1em; +box-sizing: border-box; } #sidebar { -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; +#head-list-name { + display: grid; + grid-template-columns: auto 2em; + grid-column-gap: 1ex; + min-height: 2em; + align-items: center; } + #header h1, #header h2 {margin: 0} +#selected-list-name { 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; -} -#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; +font-size: 120%; } -#search-text {width: 170px} #sidebar ul { margin-left: 0; @@ -154,12 +102,12 @@ padding-left: 0; } #sidebar ul h3 { margin-top: 25px; -font-size: 16px; +font-size: 120%; padding-bottom: 10px; -border-bottom: 1px solid #ccc; } #sidebar li { list-style-type: none; +border-bottom: 1px solid #ccc; } #sidebar ul.links li { margin-bottom: 5px; @@ -180,10 +128,172 @@ code, .filepath, .app-info { } #footer { -clear: both; padding-top: 2em; text-align: center; -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; } +.needs-lists { display: none; } +.have-lists .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 max-content; + column-gap: 1ex; +} + +.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; + line-height: 1.7em; +} +.list-item-row:hover { + background: hsla(0, 0%, 90%, 1); +} +.list-item-row input[type="checkbox"] { + width: 1.2em; +} +.list-item-row .description { cursor: default; min-width: 2em; } +.list-item-row .edit-trigger { + cursor: pointer; + visibility: hidden; + opacity: 0; + transition: 0.5s; + background: hsla(0, 0%, 80%, 0); + padding: 0 0.5ex; +} +.list-item-row:hover .edit-trigger { + visibility: visible; + opacity: 1; +} +#list-edit-trigger:hover { + background: hsla(0, 0%, 90%, 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 { + padding-inline-start: .75ex; + min-height: 2em; + cursor: pointer; + border: 1px solid transparent; + border-top: 1px solid #bbb; + transition: 0.25s; + display: grid; + grid-template-columns: auto max-content; + column-gap: 1ex; + align-items: center; +} +ul#lists > li:hover { + border: 1px solid black; +} +ul#lists > li.selected { + background: hsl(0, 0%, 70%); +} +#new-list-item { + margin-top: 1em; +} +#list-edit-trigger { + transition: 0.25s; + height: 2em; + width: 2em; + display: grid; + align-items: center; + justify-items: center; + border-radius: 0.75ex; +} + +ul#lists > li.editing span.ui-icon-disk { display: inline-block; } + +ul#list-items { + padding: 0; +} + +.ui-widget-overlay { + opacity: 0.4; +} +.ui-dialog .ui-dialog-buttonpane { + padding-left: 1.4em; +} +.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { + float: none; + text-align: right; +} +.ui-dialog-buttonset > button.btn-delete { + float: left; + margin-right: 2em; +} + +.ui-button.btn-delete:hover { + background: hsl(0, 70%, 92.9%); +} + +.edit-item-dialog input[type="text"], +.edit-list-dialog input[type="text"] { + width: 100%; + box-sizing: border-box; +} +#item-multi-action { + display: block; + position: fixed; + top: -3em; + opacity: 0; + transition: .5s cubic-bezier(0.0, 0.0, 0.0, 1.0); + background: white; + box-shadow: 0 0 1em 1ex white; +} +#item-multi-action.in-view { + top: 4em; + opacity: 1; +} +#item-multi-action button { display: none; } +#item-multi-action.checking button#btn-check-all { display: block; } +#item-multi-action.clearing button#btn-clear-all { display: block; }