X-Git-Url: https://git.ktnx.net/?a=blobdiff_plain;f=public%2Fcss%2Fstyle.css;h=4634b150df1a5f5b9e4685010194bc5bb63ddc21;hb=refs%2Fheads%2Fmain;hp=7ed63f71e7bbc98469493696ec5fdb44f47554cf;hpb=0643efa91246946b7192b2c42c7f177a22b1e7a6;p=lsl.git diff --git a/public/css/style.css b/public/css/style.css index 7ed63f7..4634b15 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -35,7 +35,7 @@ input { } h1 { -font-size: 200%; +font-size: 150%; color: #000; } @@ -51,7 +51,7 @@ background-color: #ddd; display: grid; margin: 0 1em 1em 1em; } -@media (min-width: 640pt) { +@media (min-width: 500pt) { #page { grid-template-columns: auto minmax(25%,20em); grid-column-gap: 1em; @@ -63,10 +63,10 @@ background-color: white; border: 3px solid #aaa; border-top: none; padding: 1em; +box-sizing: border-box; } #sidebar { - min-width: 15em; } #about, #getting-started { @@ -74,9 +74,16 @@ padding-left: 75px; padding-right: 30px; } +#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} -#header { font-weight: bold; } +#selected-list-name { font-weight: bold; } #header h2 { color: #888; font-weight: normal; @@ -161,26 +168,29 @@ font-size: 10px; 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 .description { cursor: text; min-width: 2em; } +.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; - padding: 0 0.5ex; } -.list-edit-trigger:hover { - background: hsla(0, 0%, 80%, 1); - border-left: 1px solid black; +#list-edit-trigger:hover { + background: hsla(0, 0%, 90%, 1); } #busy-screen { @@ -231,25 +241,27 @@ ul#lists > li.selected { #new-list-item { margin-top: 1em; } -span.list-edit-trigger { - visibility: hidden; - opacity: 0; +#list-edit-trigger { transition: 0.25s; - height: 100%; - min-width: 2em; + height: 2em; + width: 2em; display: grid; align-items: center; justify-items: center; -} -ul#lists > li:hover span.list-edit-trigger { - visibility: visible; - opacity: 1; + 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.3; + opacity: 0.4; +} +.ui-dialog .ui-dialog-buttonpane { + padding-left: 1.4em; } .ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { float: none; @@ -257,8 +269,31 @@ ul#lists > li.editing span.ui-icon-disk { display: inline-block; } } .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; }