This repository was archived by the owner on Aug 20, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patharticle.scss
95 lines (76 loc) · 1.46 KB
/
article.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
@import "~bulma/sass/utilities/_all";
@import "~bulma/sass/base/_all";
@import "~bulma/sass/utilities/mixins";
@import "~bulma/sass/layout/section";
@import "~bulma/sass/layout/hero";
@import "~bulma/sass/elements/container";
@import "~bulma/sass/elements/form";
@import "~bulma/sass/components/message";
@import "~bulma/sass/components/level";
@import "~bulma/sass/elements/title";
@import "~bulma/sass/elements/content";
#article-section {
display: none;
}
#article-loading {
display: none;
}
#article-loading-spinner-container {
display: flex;
justify-content: center;
align-items: center;
}
#article-loading-spinner {
@include loader;
font-size: 10rem;
padding: 0.2em;
}
.paragraph-container {
position: relative;
}
#article-title {
padding: 0.3em;
margin-bottom: 0;
&:hover {
background: #fbfbfb;
border-radius: 6px;
}
&>input {
height: 1.5em;
padding-left: 0.1em;
}
}
.article-paragraph, .article-paragraph-edition {
padding: 1em;
margin: 0.5em;
background: #fbfbfb;
border-radius: 6px;
}
.article-paragraph {
user-select: none;
padding-right: 6em;
min-height: 3.5em;
}
.textarea {
padding: 1em;
}
.drag-placeholder {
@extend .article-paragraph;
height: 6rem;
background: #fbf9ca;
}
.paragraph-toolbar {
position: absolute;
top: 0.4em;
right: 1em;
display: flex;
}
.drag-handle, .delete-button {
margin: 0.2em;
}
.delete-button {
display: none;
}
.drag-handle:hover {
cursor: move;
}