Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/richdocuments.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/css
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-09-18 20:10:06 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2018-12-20 09:38:43 +0300
commitc680b535c970a46a29d0d4ccd670014b54b98f65 (patch)
tree40e77746faf5304ef146698a28476184f497276b /css
parentec9a21184695b99033ad70bceca892c1d1518560 (diff)
Add template js handler and comments
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'css')
-rw-r--r--css/admin.scss11
1 files changed, 8 insertions, 3 deletions
diff --git a/css/admin.scss b/css/admin.scss
index 5965798d..17414dc9 100644
--- a/css/admin.scss
+++ b/css/admin.scss
@@ -48,20 +48,24 @@
display: flex;
li {
$size: 150px;
+ $space: 10px;
border-radius: var(--border-radius);
border: 1px solid var(--color-border);
- margin: 10px;
+ margin: $space;
position: relative;
figure {
display: flex;
flex-direction: column;
width: $size;
- margin: 10px;
+ margin: $space;
img {
width: $size;
height: $size;
background-color: var(--color-background-dark);
}
+ figcaption {
+ margin-top: $space;
+ }
}
.delete-cover,
.delete-template {
@@ -70,13 +74,14 @@
top: 0;
left: 0;
position: absolute;
- margin: 10px;
+ margin: $space;
opacity: 0;
transition: opacity 250ms ease-in-out;
z-index: 3;
line-height: $size;
text-align: center;
font-size: 20px;
+ background-size: 24px;
// text is set as bg
color: var(--color-background-darker);
}