From c6ddfa8f9594377e6e0b424759d1fdbda9c9a005 Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Fri, 1 May 2020 21:15:43 +0200 Subject: static-fe.css: Restore and move to /priv/static/static-fe --- priv/static/static-fe/static-fe.css | 183 ++++++++++++++++++++++++++++++++++++ 1 file changed, 183 insertions(+) create mode 100644 priv/static/static-fe/static-fe.css (limited to 'priv/static/static-fe') diff --git a/priv/static/static-fe/static-fe.css b/priv/static/static-fe/static-fe.css new file mode 100644 index 000000000..db61ff266 --- /dev/null +++ b/priv/static/static-fe/static-fe.css @@ -0,0 +1,183 @@ +body { + background-color: #282c37; + font-family: sans-serif; + color: white; +} + +main { + margin: 50px auto; + max-width: 960px; + padding: 40px; + background-color: #313543; + border-radius: 4px; +} + +header { + margin: 50px auto; + max-width: 960px; + padding: 40px; + background-color: #313543; + border-radius: 4px; +} + +.activity { + border-radius: 4px; + padding: 1em; + padding-bottom: 2em; + margin-bottom: 1em; +} + +.avatar { + cursor: pointer; +} + +.avatar img { + float: left; + border-radius: 4px; + margin-right: 4px; +} + +.activity-content img, video, audio { + padding: 1em; + max-width: 800px; + max-height: 800px; +} + +#selected { + background-color: #1b2735; +} + +.counts dt, .counts dd { + float: left; + margin-left: 1em; +} + +a { + color: white; +} + +.h-card { + min-height: 48px; + margin-bottom: 8px; +} + +header a, .h-card a { + text-decoration: none; +} + +header a:hover, .h-card a:hover { + text-decoration: underline; +} + +.display-name { + padding-top: 4px; + display: block; + text-overflow: ellipsis; + overflow: hidden; + color: white; +} + +/* keep emoji from being hilariously huge */ +.display-name img { + max-height: 1em; +} + +.display-name .nickname { + padding-top: 4px; + display: block; +} + +.nickname:hover { + text-decoration: none; +} + +.pull-right { + float: right; +} + +.collapse { + margin: 0; + width: auto; +} + +h1 { + margin: 0; +} + +h2 { + color: #9baec8; + font-weight: normal; + font-size: 20px; + margin-bottom: 40px; +} + +form { + width: 100%; +} + +input { + box-sizing: border-box; + width: 100%; + padding: 10px; + margin-top: 20px; + background-color: rgba(0,0,0,.1); + color: white; + border: 0; + border-bottom: 2px solid #9baec8; + font-size: 14px; +} + +input:focus { + border-bottom: 2px solid #4b8ed8; +} + +input[type="checkbox"] { + width: auto; +} + +button { + box-sizing: border-box; + width: 100%; + color: white; + background-color: #419bdd; + border-radius: 4px; + border: none; + padding: 10px; + margin-top: 30px; + text-transform: uppercase; + font-weight: 500; + font-size: 16px; +} + +.alert-danger { + box-sizing: border-box; + width: 100%; + color: #D8000C; + background-color: #FFD2D2; + border-radius: 4px; + border: none; + padding: 10px; + margin-top: 20px; + font-weight: 500; + font-size: 16px; +} + +.alert-info { + box-sizing: border-box; + width: 100%; + color: #00529B; + background-color: #BDE5F8; + border-radius: 4px; + border: none; + padding: 10px; + margin-top: 20px; + font-weight: 500; + font-size: 16px; +} + +img.emoji { + width: 32px; + height: 32px; + padding: 0; + vertical-align: middle; +} -- cgit v1.2.3 From 8eecc708efcb405a477d4b2478635f8522c04668 Mon Sep 17 00:00:00 2001 From: Dym Sohin Date: Thu, 9 Jul 2020 09:03:24 +0000 Subject: fix wide2x emojis within nicknames --- priv/static/static-fe/static-fe.css | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'priv/static/static-fe') diff --git a/priv/static/static-fe/static-fe.css b/priv/static/static-fe/static-fe.css index db61ff266..7623b9832 100644 --- a/priv/static/static-fe/static-fe.css +++ b/priv/static/static-fe/static-fe.css @@ -181,3 +181,9 @@ img.emoji { padding: 0; vertical-align: middle; } + +.display-name img.emoji { + width: 16px; + height: 16px; +} + -- cgit v1.2.3 From 8594181597106ebb4ad091990e82293f4e58a933 Mon Sep 17 00:00:00 2001 From: lain Date: Thu, 9 Jul 2020 09:30:15 +0000 Subject: Update static-fe.css --- priv/static/static-fe/static-fe.css | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'priv/static/static-fe') diff --git a/priv/static/static-fe/static-fe.css b/priv/static/static-fe/static-fe.css index 7623b9832..308388abc 100644 --- a/priv/static/static-fe/static-fe.css +++ b/priv/static/static-fe/static-fe.css @@ -183,7 +183,6 @@ img.emoji { } .display-name img.emoji { - width: 16px; - height: 16px; + width: 1em; } -- cgit v1.2.3 From ab773fa5c946f74b0f42106ba2e72c092566743a Mon Sep 17 00:00:00 2001 From: Dym Sohin Date: Thu, 9 Jul 2020 09:37:50 +0000 Subject: [static-fe] limit according to- and within- existing ruleset --- priv/static/static-fe/static-fe.css | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'priv/static/static-fe') diff --git a/priv/static/static-fe/static-fe.css b/priv/static/static-fe/static-fe.css index 308388abc..89e9f4877 100644 --- a/priv/static/static-fe/static-fe.css +++ b/priv/static/static-fe/static-fe.css @@ -80,6 +80,7 @@ header a:hover, .h-card a:hover { /* keep emoji from being hilariously huge */ .display-name img { max-height: 1em; + max-width: 1em; } .display-name .nickname { @@ -181,8 +182,3 @@ img.emoji { padding: 0; vertical-align: middle; } - -.display-name img.emoji { - width: 1em; -} - -- cgit v1.2.3