summaryrefslogtreecommitdiff
path: root/src/main/resources/META-INF
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2020-03-16 11:13:54 +0100
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2020-03-16 11:13:54 +0100
commit3f8a26c6fb88757cd3f5646838c177e711fcab76 (patch)
tree2ed647f18054aa5ce013c25aa8af01621b434417 /src/main/resources/META-INF
parent84db379e6806b7c4603a9f86452ee3d8a1fd7e0b (diff)
Bookmarks: Add paging.
Change-Id: Icd53dd04a74b94e1fa80f23703348070d598c413
Diffstat (limited to 'src/main/resources/META-INF')
-rw-r--r--src/main/resources/META-INF/resources/cms2/base.css34
1 files changed, 33 insertions, 1 deletions
diff --git a/src/main/resources/META-INF/resources/cms2/base.css b/src/main/resources/META-INF/resources/cms2/base.css
index ec84ca9..61f447c 100644
--- a/src/main/resources/META-INF/resources/cms2/base.css
+++ b/src/main/resources/META-INF/resources/cms2/base.css
@@ -124,7 +124,18 @@ body > main {
background-color: var(--main-bg-color);
padding: 10px;
border-left: 1px solid lightgray;
- overflow: scroll;
+ overflow: auto;
+
+ display: flex;
+ flex-direction: column;
+}
+
+main > * {
+ margin-top: 0.5rem;
+}
+
+main > *:first-child {
+ margin-top: 0;
}
body > footer {
@@ -175,3 +186,24 @@ article.lazychat-message {
#bookmark-submission textarea {
min-width: calc(100% - 12em);
}
+
+.paging {
+ display: flex;
+ flex-direction: row;
+ flex-wrap: wrap-reverse;
+}
+
+.paging > .filler {
+ flex: 1;
+}
+
+.paging > a {
+ flex-grow: 0;
+ flex-shrink: 1;
+ flex-basis: content;
+}
+
+elix-expandable-section .expandable-section-title {
+ margin-top: 0;
+ margin-bottom: 0;
+}