X-Git-Url: https://git.ktnx.net/?a=blobdiff_plain;f=public%2Fcss%2Fstyle.css;h=4634b150df1a5f5b9e4685010194bc5bb63ddc21;hb=c280592b752f3b0c426b6a8d1e362741437ce010;hp=f419d54083745a0b8b90edcfae565531b3090286;hpb=948c49fb7f8fabddc217fcedc3e88a9e315ba661;p=lsl.git diff --git a/public/css/style.css b/public/css/style.css index f419d54..4634b15 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -63,6 +63,7 @@ background-color: white; border: 3px solid #aaa; border-top: none; padding: 1em; +box-sizing: border-box; } #sidebar { @@ -82,7 +83,7 @@ padding-right: 30px; } #header h1, #header h2 {margin: 0} -#header { font-weight: bold; } +#selected-list-name { font-weight: bold; } #header h2 { color: #888; font-weight: normal; @@ -167,22 +168,26 @@ 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%, 90%, 1); @@ -253,7 +258,10 @@ ul#list-items { } .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; @@ -261,8 +269,31 @@ ul#list-items { } .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; }