aboutsummaryrefslogtreecommitdiffstats
path: root/public/themes/sourcehut/scss/main.scss
diff options
context:
space:
mode:
authorLibravatarLibravatar Drew DeVault <[email protected]> 2019-12-12 13:54:57 -0500
committerLibravatarLibravatar Drew DeVault <[email protected]> 2019-12-12 13:54:57 -0500
commitd0355fa0d85deb2f3a6ebee0e00fec516a3d6f41 (patch)
tree427bc53cc9dbe8ac71702c592c6d637d7c5390dc /public/themes/sourcehut/scss/main.scss
parentb24cc85fb19b80fe4f67f7b9a88cab7d5af282f3 (diff)
downloadalps-d0355fa0d85deb2f3a6ebee0e00fec516a3d6f41.tar.gz
alps-d0355fa0d85deb2f3a6ebee0e00fec516a3d6f41.tar.bz2
alps-d0355fa0d85deb2f3a6ebee0e00fec516a3d6f41.zip
Add simple Sourcehut-based theme
Diffstat (limited to 'public/themes/sourcehut/scss/main.scss')
-rw-r--r--public/themes/sourcehut/scss/main.scss95
1 files changed, 95 insertions, 0 deletions
diff --git a/public/themes/sourcehut/scss/main.scss b/public/themes/sourcehut/scss/main.scss
new file mode 100644
index 0000000..c7f15f9
--- /dev/null
+++ b/public/themes/sourcehut/scss/main.scss
@@ -0,0 +1,95 @@
+@import "base";
+
+html, body {
+ height: 100%;
+ min-height: 100%;
+}
+
+body {
+ display: flex;
+ flex-direction: column;
+ padding: 0;
+}
+
+.header-tabbed {
+ margin-bottom: 0;
+
+ h2 {
+ line-height: 1;
+ }
+}
+
+.nav.flex-column {
+ .nav-link {
+ padding: 0.1rem 15px 0.1rem 30px;
+
+ &:hover, &.active {
+ background: #ddd;
+ }
+ }
+
+ .nav.flex-column {
+ margin-left: 1rem;
+ }
+}
+
+.mailbox-container, .message-container {
+ padding: 0;
+ flex-grow: 1;
+ display: flex;
+
+ & > .row {
+ flex-grow: 1;
+ }
+}
+
+.mailboxes-column {
+ border-right: 3px #ddd solid;
+ padding: 0;
+}
+
+.messages-column {
+ padding: 0;
+
+ .nav.flex-column .nav-link {
+ padding: 0.1rem 15px 0.1rem 15px;
+ }
+
+ .date {
+ min-width: 11rem;
+ display: inline-block;
+ text-align: right;
+ }
+
+ .from {
+ min-width: 12rem;
+ display: inline-block;
+ }
+}
+
+.body-column {
+ border-right: 3px #ddd solid;
+
+ pre {
+ background: transparent;
+ max-width: 972px; // HACK
+ overflow-x: auto;
+ margin-bottom: 0;
+ }
+}
+
+.parts-column {
+ padding-left: 0;
+
+ .nav.flex-column .nav-link {
+ padding: 0.1rem 15px 0.1rem 15px;
+ }
+}
+
+.text-normal {
+ color: $black;
+}
+
+.message-tabs {
+ padding: 0;
+}