diff options
author | Simon Ser <contact@emersion.fr> | 2019-12-16 12:57:30 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2019-12-16 12:58:21 +0100 |
commit | e93346ffa90f6c09a9a57b48c6607925dc7ff46e (patch) | |
tree | 5e1f356017c763a604cc8bcf247759037ae51d74 /themes/sourcehut/scss | |
parent | d897eeee5c4d163891d0b6a8f85d328ccada7575 (diff) | |
download | alps-e93346ffa90f6c09a9a57b48c6607925dc7ff46e.tar.gz alps-e93346ffa90f6c09a9a57b48c6607925dc7ff46e.zip |
Remove the public/ directory
Now that all templates are provided by plugins, there's no need to have
a public/ directory. Themes can be in /themes instead of /public/themes.
Diffstat (limited to 'themes/sourcehut/scss')
-rw-r--r-- | themes/sourcehut/scss/main.scss | 95 |
1 files changed, 95 insertions, 0 deletions
diff --git a/themes/sourcehut/scss/main.scss b/themes/sourcehut/scss/main.scss new file mode 100644 index 0000000..c7f15f9 --- /dev/null +++ b/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; +} |