From f078d165231a577055d9c32329f1e3338a3f66f4 Mon Sep 17 00:00:00 2001 From: nekobit Date: Sat, 9 Jul 2022 07:20:36 +0000 Subject: [PATCH] More dark theme stuff FossilOrigin-Name: 64e46e1bd6ba5362c90cd5ba2c1da60efbcc3f7aff0d054b2745bb8297eca2cc --- dist/treebird-dark.css | 52 +++++++++++++++++++++++++++++++++++++++--- dist/treebird.css | 46 +++++++++++++++++++++++++++++++++++-- static/index.tmpl | 2 +- static/post.tmpl | 37 +++++++++++++++--------------- 4 files changed, 113 insertions(+), 24 deletions(-) diff --git a/dist/treebird-dark.css b/dist/treebird-dark.css index 9ce4b4f..b26d169 100644 --- a/dist/treebird-dark.css +++ b/dist/treebird-dark.css @@ -120,13 +120,21 @@ a, a:visited, a:hover, a:active } .statusbox textarea, -input[type=textbox] +input[type=text] { background-color: #444; border-color: #666; color: #fff; } +.status.focused, +.status:target +{ + padding-left: 7px; + background-color: #371b1b; + border-left: 3px solid #aa0000; +} + input[type=submit] { border-color: #666; @@ -205,9 +213,14 @@ select border-color: #454545; } -.in-reply-to-id +.in-reply-to svg { - color: #6c6c6c; + stroke: #8c8c8c; +} + +.in-reply-to, .in-reply-to a +{ + color: #8c8c8c; } .group-inputbox @@ -215,4 +228,37 @@ select border-color: #707070; } +#instance-panel +{ + background: repeating-linear-gradient(-45deg, transparent, transparent 10px, #303030 10px, #303030 20px); + border-top: 1px dashed #505050; + border-bottom: 1px dashed #505050; +} +ul.large-list +{ + border: 1px solid #404040; +} + +.lists-view-container ul li:not(:last-child) +{ + border-bottom: 1px solid #505050; +} + +ul.large-list li .edit-list-btn +{ + background: linear-gradient(#606060, #505050); + color: #fff; + border-left: 1px solid #404040; +} + +.list-edit-content +{ + background-color: #404040; + border-top: #404040; +} + +.static.focused .poster-stats .alignend, .status:target .poster-stats .alignend +{ + background-color: #371b1b; +} diff --git a/dist/treebird.css b/dist/treebird.css index cbdb3b9..6554149 100644 --- a/dist/treebird.css +++ b/dist/treebird.css @@ -45,7 +45,7 @@ ul margin-left: auto; margin-right: auto; box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1); - border: 1px solid rgba(200, 200, 200, 0.7); + border: 1px solid rgba(200, 200, 200, 0.5); border-radius: 5px; overflow: hidden; } @@ -1391,6 +1391,48 @@ p} min-width: 25px !important; } +.statusbox .post-group +{ + display: inline-block; + vertical-align: middle; + margin-left: 1px; +} + +.statusbox .post-group .visibility-icon +{ + display: inline-block; + width: 24px; + height: 24px; + border-radius: 4px; + vertical-align: middle; + text-align: center; + cursor: pointer; +} + +.statusbox .post-group .visibility-icon:hover +{ + background-color: #d3d3d3; +} + +.statusbox .post-group input[type=radio].hidden:checked + .visibility-icon svg +{ + stroke: #000; +} + +.statusbox .post-group .visibility-icon svg +{ + position: relative; + top: 4px; + width: 16px; + height: 16px; + stroke: #7a7a7a; +} + +.statusbox .post-group .visibility-icon.vis-direct svg +{ + top: 5px; +} + .notification-compact .status-interact .statbtn { min-width: 0px !important; @@ -1714,7 +1756,7 @@ input[type=radio].hidden:not(:checked) + .emoji-picker-emojos ul.large-list { width: 500px; - border-radius: 15px; + border-radius: 5px; background-color: #f8f8f8; border: 1px solid #cacaca; padding: 0; diff --git a/static/index.tmpl b/static/index.tmpl index ac62bc4..bdd8525 100644 --- a/static/index.tmpl +++ b/static/index.tmpl @@ -29,7 +29,7 @@ {{ %s : sidebar_cnt }}
-
diff --git a/static/post.tmpl b/static/post.tmpl index 6af9f7e..042b5cc 100644 --- a/static/post.tmpl +++ b/static/post.tmpl @@ -4,52 +4,53 @@
- + + + +
-
- +