diff options
Diffstat (limited to 'static/css/style.css')
| -rw-r--r-- | static/css/style.css | 109 |
1 files changed, 109 insertions, 0 deletions
diff --git a/static/css/style.css b/static/css/style.css index 2fee7bf..b096ca0 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -511,6 +511,115 @@ hr { background: #cc0000; } +.modal-overlay { + display: none; + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: rgba(0,0,0,.4); + justify-content: center; + align-items: center; + z-index: 1000 +} + +.modal-content { + background-color: #fff; + border: 1px solid #666; + box-shadow: 2px 2px 0#ccc; + width: 320px; + padding: 0; + font-family: "Bitstream Vera Sans","DejaVu Sans",Verdana,sans-serif +} + +.modal-header { + background: linear-gradient(to bottom,#333 0,#222 40%,#111 50%,#222 60%,#333 100%); + color: #fff; + padding: 5px 10px; + display: flex; + justify-content: space-between; + align-items: center; + font-size: 10px; + font-weight: 700; + text-transform: uppercase; + letter-spacing: 1px +} + +#close-modal,#reaction-search { + font-size: 9px; + border: 1px solid #ccc +} + +#close-modal { + background: #eee; + cursor: pointer; + padding: 0 4px +} + +#close-modal:hover { + background: #2e8b57; + color: #fff +} + +.search-container { + padding: 10px; + background: #f9f9f9; + border-bottom: 1px solid #ccc +} + +#reaction-search { + width: 100%; + box-sizing: border-box; + padding: 4px; + font-family: inherit +} + +#reaction-search:focus { + outline: 0; + border-color: #2e8b57 +} + +.reaction-grid { + display: grid; + grid-template-columns: repeat(auto-fill,minmax(35px,1fr)); + gap: 4px; + overflow-y: auto; + max-height: 250px; + padding: 10px; + background: #fff +} + +.reaction-item { + cursor: pointer; + font-size: 1.4rem; + display: flex; + align-items: center; + justify-content: center; + border: 1px solid transparent +} + +.reaction-item:hover { + background-color: #eee; + border: 1px solid #2e8b57; + transform: none +} + +#reaction-trigger { + background: #eee; + border: 1px solid #ccc; + font-size: 9px; + padding: 5px 10px; + cursor: pointer; + text-transform: uppercase; + font-family: inherit +} + +#reaction-trigger:hover { + background: #e0e0e0; + border-color: #999 +} + .legacy-warning { background: linear-gradient(to bottom,#fff3e0 0,#ffe0b2 100%); border: 1px dotted #fb8c00; |