jekyll-theme-mastodon 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/_includes/analytics.html +36 -0
- data/_includes/analytics/amplitude.js +35 -0
- data/_includes/analytics/gtag.js +9 -0
- data/_includes/analytics/gtm.js +5 -0
- data/_includes/analytics/hotjar.js +8 -0
- data/_includes/analytics/matomo.js +10 -0
- data/_includes/analytics/quantcast.js +12 -0
- data/_includes/footer.html +28 -0
- data/_includes/head.html +41 -0
- data/_includes/header.html +18 -0
- data/_includes/resources.html +20 -0
- data/_layouts/about.html +71 -0
- data/_layouts/default.html +15 -0
- data/_layouts/error.html +31 -0
- data/_layouts/none.html +4 -0
- data/_layouts/page.html +15 -0
- data/_layouts/post.html +56 -0
- data/_layouts/profile.html +199 -0
- data/_layouts/redirect.html +18 -0
- data/_layouts/rss.html +29 -0
- data/_layouts/sitemap.html +29 -0
- data/_layouts/tags.html +32 -0
- data/_sass/_about.scss +905 -0
- data/_sass/_accounts.scss +327 -0
- data/_sass/_admin.scss +918 -0
- data/_sass/_basics.scss +272 -0
- data/_sass/_boost.scss +32 -0
- data/_sass/_compact_header.scss +34 -0
- data/_sass/_components.scss +7363 -0
- data/_sass/_containers.scss +903 -0
- data/_sass/_dashboard.scss +78 -0
- data/_sass/_font-montserrat.scss +19 -0
- data/_sass/_font-roboto.scss +47 -0
- data/_sass/_font-robotomono.scss +11 -0
- data/_sass/_footer.scss +137 -0
- data/_sass/_forms.scss +1009 -0
- data/_sass/_highlights.scss +146 -0
- data/_sass/_introduction.scss +154 -0
- data/_sass/_lists.scss +19 -0
- data/_sass/_mixins.scss +56 -0
- data/_sass/_modal.scss +35 -0
- data/_sass/_polls.scss +274 -0
- data/_sass/_reset.scss +108 -0
- data/_sass/_rtl.scss +468 -0
- data/_sass/_statuses.scss +191 -0
- data/_sass/_tables.scss +293 -0
- data/_sass/_variables.scss +58 -0
- data/_sass/_widgets.scss +619 -0
- data/assets/404.gif +0 -0
- data/assets/avatar.png +0 -0
- data/assets/banner.png +0 -0
- data/assets/fonts/montserrat/Montserrat-Medium.ttf +0 -0
- data/assets/fonts/montserrat/Montserrat-Regular.ttf +0 -0
- data/assets/fonts/montserrat/Montserrat-Regular.woff +0 -0
- data/assets/fonts/montserrat/Montserrat-Regular.woff2 +0 -0
- data/assets/fonts/roboto/roboto-bold-webfont.svg +16273 -0
- data/assets/fonts/roboto/roboto-bold-webfont.ttf +0 -0
- data/assets/fonts/roboto/roboto-bold-webfont.woff +0 -0
- data/assets/fonts/roboto/roboto-bold-webfont.woff2 +0 -0
- data/assets/fonts/roboto/roboto-italic-webfont.svg +15513 -0
- data/assets/fonts/roboto/roboto-italic-webfont.ttf +0 -0
- data/assets/fonts/roboto/roboto-italic-webfont.woff +0 -0
- data/assets/fonts/roboto/roboto-italic-webfont.woff2 +0 -0
- data/assets/fonts/roboto/roboto-medium-webfont.svg +16273 -0
- data/assets/fonts/roboto/roboto-medium-webfont.ttf +0 -0
- data/assets/fonts/roboto/roboto-medium-webfont.woff +0 -0
- data/assets/fonts/roboto/roboto-medium-webfont.woff2 +0 -0
- data/assets/fonts/roboto/roboto-regular-webfont.svg +15513 -0
- data/assets/fonts/roboto/roboto-regular-webfont.ttf +0 -0
- data/assets/fonts/roboto/roboto-regular-webfont.woff +0 -0
- data/assets/fonts/roboto/roboto-regular-webfont.woff2 +0 -0
- data/assets/fonts/robotomono/robotomono-regular-webfont.svg +1051 -0
- data/assets/fonts/robotomono/robotomono-regular-webfont.ttf +0 -0
- data/assets/fonts/robotomono/robotomono-regular-webfont.woff +0 -0
- data/assets/fonts/robotomono/robotomono-regular-webfont.woff2 +0 -0
- data/assets/hero.png +0 -0
- data/assets/mastodon.scss +34 -0
- data/license +661 -0
- data/readme.md +3 -0
- metadata +136 -0
@@ -0,0 +1,146 @@
|
|
1
|
+
code {
|
2
|
+
padding: 0.125rem 0.25rem;
|
3
|
+
color: darken($primary-text-color, 25%);
|
4
|
+
background-color: #17191f;
|
5
|
+
border-radius: 0.25rem;
|
6
|
+
overflow: auto;
|
7
|
+
}
|
8
|
+
|
9
|
+
pre code {
|
10
|
+
padding: 0;
|
11
|
+
background-color: transparent;
|
12
|
+
border-radius: 0;
|
13
|
+
overflow: auto;
|
14
|
+
}
|
15
|
+
|
16
|
+
pre {
|
17
|
+
font-size: 0.875rem;
|
18
|
+
line-height: 1.5em;
|
19
|
+
border-radius: 0.25rem;
|
20
|
+
padding: 0.59375rem;
|
21
|
+
}
|
22
|
+
.highlight pre {
|
23
|
+
border: none;
|
24
|
+
background: none;
|
25
|
+
margin: 1em 0 1em 0; // make 0 for 0 margin
|
26
|
+
overflow: auto;
|
27
|
+
}
|
28
|
+
.highlight > pre {
|
29
|
+
background-color: darken($ui-base-color, 2%);
|
30
|
+
background-size: auto 3em;
|
31
|
+
background-position-y: 0.625rem;
|
32
|
+
border: 1px solid rgba(0,0,0,0.1);
|
33
|
+
border-left: 0.4375rem solid transparent;
|
34
|
+
|
35
|
+
.gutter {
|
36
|
+
color: inherit;
|
37
|
+
padding: 0;
|
38
|
+
}
|
39
|
+
}
|
40
|
+
.highlight > pre:not([class~="highlight"]) { /* code block with line number */
|
41
|
+
padding: 0;
|
42
|
+
}
|
43
|
+
.highlight table,
|
44
|
+
.highlight tr,
|
45
|
+
.highlight td {
|
46
|
+
border: 0 !important;
|
47
|
+
background: none;
|
48
|
+
padding: 0;
|
49
|
+
margin: 0;
|
50
|
+
}
|
51
|
+
.highlight pre.lineno {
|
52
|
+
color: $secondary-text-color;
|
53
|
+
border-radius: 0;
|
54
|
+
border: 0;
|
55
|
+
border-right: 0.1rem solid lighten($ui-base-color, 10%);
|
56
|
+
}
|
57
|
+
code table td {
|
58
|
+
padding: 0 !important;
|
59
|
+
}
|
60
|
+
|
61
|
+
|
62
|
+
.lineno {
|
63
|
+
width: fit-content;
|
64
|
+
-webkit-user-select: none;
|
65
|
+
-moz-user-select: none;
|
66
|
+
-ms-user-select: none;
|
67
|
+
user-select: none;
|
68
|
+
}
|
69
|
+
.lineno::selection, .lineno::-moz-selection {
|
70
|
+
background: none;
|
71
|
+
}
|
72
|
+
|
73
|
+
.highlight {
|
74
|
+
.c {color: #586E75;}
|
75
|
+
.err,
|
76
|
+
.esc,
|
77
|
+
.g {color: #93A1A1;}
|
78
|
+
.k {color: #719e07;}
|
79
|
+
.l,
|
80
|
+
.n {color: #93A1A1;}
|
81
|
+
.o {color: #719e07;}
|
82
|
+
.x {color: #CB4B16;}
|
83
|
+
.p {color: #93A1A1;}
|
84
|
+
.ch,
|
85
|
+
.cm {color: #586E75;}
|
86
|
+
.cp {color: #719e07;}
|
87
|
+
.cpf,
|
88
|
+
.c1 {color: #586E75;}
|
89
|
+
.cs {color: #719e07;}
|
90
|
+
.gd {color: #DC322F;}
|
91
|
+
.ge {color: #93A1A1; font-style: italic;}
|
92
|
+
.gr {color: #DC322F; font-weight: bold;}
|
93
|
+
.gh {color: #CB4B16;}
|
94
|
+
.gi {color: #719e07;}
|
95
|
+
.go,
|
96
|
+
.gp {color: #93A1A1;}
|
97
|
+
.gs {color: #93A1A1; font-weight: bold;}
|
98
|
+
.gu {color: #268BD2;}
|
99
|
+
.gt {color: #93A1A1;}
|
100
|
+
.kc {color: #CB4B16;}
|
101
|
+
.kd {color: #268BD2;}
|
102
|
+
.kn,
|
103
|
+
.kp {color: #719e07;}
|
104
|
+
.kr {color: #268BD2;}
|
105
|
+
.kt {color: #DC322F;}
|
106
|
+
.ld {color: #93A1A1;}
|
107
|
+
.m,
|
108
|
+
.s {color: #2AA198;}
|
109
|
+
.na {color: #93A1A1;}
|
110
|
+
.nb {color: #B58900;}
|
111
|
+
.nc {color: #268BD2;}
|
112
|
+
.no {color: #CB4B16;}
|
113
|
+
.nd {color: #268BD2;}
|
114
|
+
.ni,
|
115
|
+
.ne {color: #CB4B16;}
|
116
|
+
.nf {color: #268BD2;}
|
117
|
+
.nl,
|
118
|
+
.nn,
|
119
|
+
.nx,
|
120
|
+
.py {color: #93A1A1;}
|
121
|
+
.nt,
|
122
|
+
.nv {color: #268BD2;}
|
123
|
+
.ow {color: #719e07;}
|
124
|
+
.w {color: #93A1A1;}
|
125
|
+
.mb,
|
126
|
+
.mf,
|
127
|
+
.mh,
|
128
|
+
.mi,
|
129
|
+
.mo {color: #2AA198;}
|
130
|
+
.sb {color: #586E75;}
|
131
|
+
.sc {color: #2AA198;}
|
132
|
+
.sd {color: #93A1A1;}
|
133
|
+
.s2 {color: #2AA198;}
|
134
|
+
.se {color: #CB4B16;}
|
135
|
+
.sh {color: #93A1A1;}
|
136
|
+
.si,
|
137
|
+
.sx {color: #2AA198;}
|
138
|
+
.sr {color: #DC322F;}
|
139
|
+
.s1,
|
140
|
+
.ss {color: #2AA198;}
|
141
|
+
.bp,
|
142
|
+
.vc,
|
143
|
+
.vg,
|
144
|
+
.vi {color: #268BD2;}
|
145
|
+
.il {color: #2AA198;
|
146
|
+
}
|
@@ -0,0 +1,154 @@
|
|
1
|
+
.introduction {
|
2
|
+
display: flex;
|
3
|
+
flex-direction: column;
|
4
|
+
justify-content: center;
|
5
|
+
align-items: center;
|
6
|
+
height: 100vh;
|
7
|
+
background: $ui-base-color;
|
8
|
+
|
9
|
+
@media screen and (max-width: 920px) {
|
10
|
+
display: block !important;
|
11
|
+
}
|
12
|
+
|
13
|
+
&__pager {
|
14
|
+
background: darken($ui-base-color, 8%);
|
15
|
+
box-shadow: 0 0 15px rgba($base-shadow-color, 0.2);
|
16
|
+
overflow: hidden;
|
17
|
+
}
|
18
|
+
|
19
|
+
&__pager,
|
20
|
+
&__frame {
|
21
|
+
border-radius: 10px;
|
22
|
+
width: 50vw;
|
23
|
+
min-width: 920px;
|
24
|
+
|
25
|
+
@media screen and (max-width: 920px) {
|
26
|
+
min-width: 0;
|
27
|
+
width: 100%;
|
28
|
+
border-radius: 0;
|
29
|
+
box-shadow: none;
|
30
|
+
}
|
31
|
+
}
|
32
|
+
|
33
|
+
&__frame-wrapper {
|
34
|
+
opacity: 0;
|
35
|
+
transition: opacity 500ms linear;
|
36
|
+
|
37
|
+
&.active {
|
38
|
+
opacity: 1;
|
39
|
+
transition: opacity 50ms linear;
|
40
|
+
}
|
41
|
+
}
|
42
|
+
|
43
|
+
&__frame {
|
44
|
+
overflow: hidden;
|
45
|
+
}
|
46
|
+
|
47
|
+
&__illustration {
|
48
|
+
height: 50vh;
|
49
|
+
|
50
|
+
@media screen and (max-width: 630px) {
|
51
|
+
height: auto;
|
52
|
+
}
|
53
|
+
|
54
|
+
img {
|
55
|
+
object-fit: cover;
|
56
|
+
display: block;
|
57
|
+
margin: 0;
|
58
|
+
width: 100%;
|
59
|
+
height: 100%;
|
60
|
+
}
|
61
|
+
}
|
62
|
+
|
63
|
+
&__text {
|
64
|
+
border-top: 2px solid $ui-highlight-color;
|
65
|
+
|
66
|
+
&--columnized {
|
67
|
+
display: flex;
|
68
|
+
|
69
|
+
& > div {
|
70
|
+
flex: 1 1 33.33%;
|
71
|
+
text-align: center;
|
72
|
+
padding: 25px;
|
73
|
+
padding-bottom: 30px;
|
74
|
+
}
|
75
|
+
|
76
|
+
@media screen and (max-width: 630px) {
|
77
|
+
display: block;
|
78
|
+
padding: 15px 0;
|
79
|
+
padding-bottom: 20px;
|
80
|
+
|
81
|
+
& > div {
|
82
|
+
padding: 10px 25px;
|
83
|
+
}
|
84
|
+
}
|
85
|
+
}
|
86
|
+
|
87
|
+
h3 {
|
88
|
+
font-size: 24px;
|
89
|
+
line-height: 1.5;
|
90
|
+
font-weight: 700;
|
91
|
+
margin-bottom: 10px;
|
92
|
+
}
|
93
|
+
|
94
|
+
p {
|
95
|
+
font-size: 16px;
|
96
|
+
line-height: 24px;
|
97
|
+
font-weight: 400;
|
98
|
+
color: $darker-text-color;
|
99
|
+
|
100
|
+
code {
|
101
|
+
display: inline-block;
|
102
|
+
background: darken($ui-base-color, 8%);
|
103
|
+
font-size: 15px;
|
104
|
+
border: 1px solid lighten($ui-base-color, 8%);
|
105
|
+
border-radius: 2px;
|
106
|
+
padding: 1px 3px;
|
107
|
+
}
|
108
|
+
}
|
109
|
+
|
110
|
+
&--centered {
|
111
|
+
padding: 25px;
|
112
|
+
padding-bottom: 30px;
|
113
|
+
text-align: center;
|
114
|
+
}
|
115
|
+
}
|
116
|
+
|
117
|
+
&__dots {
|
118
|
+
display: flex;
|
119
|
+
align-items: center;
|
120
|
+
justify-content: center;
|
121
|
+
padding: 25px;
|
122
|
+
|
123
|
+
@media screen and (max-width: 630px) {
|
124
|
+
display: none;
|
125
|
+
}
|
126
|
+
}
|
127
|
+
|
128
|
+
&__dot {
|
129
|
+
width: 14px;
|
130
|
+
height: 14px;
|
131
|
+
border-radius: 14px;
|
132
|
+
border: 1px solid $ui-highlight-color;
|
133
|
+
background: transparent;
|
134
|
+
margin: 0 3px;
|
135
|
+
cursor: pointer;
|
136
|
+
|
137
|
+
&:hover {
|
138
|
+
background: lighten($ui-base-color, 8%);
|
139
|
+
}
|
140
|
+
|
141
|
+
&.active {
|
142
|
+
cursor: default;
|
143
|
+
background: $ui-highlight-color;
|
144
|
+
}
|
145
|
+
}
|
146
|
+
|
147
|
+
&__action {
|
148
|
+
padding: 25px;
|
149
|
+
padding-top: 0;
|
150
|
+
display: flex;
|
151
|
+
align-items: center;
|
152
|
+
justify-content: center;
|
153
|
+
}
|
154
|
+
}
|
data/_sass/_lists.scss
ADDED
data/_sass/_mixins.scss
ADDED
@@ -0,0 +1,56 @@
|
|
1
|
+
@mixin avatar-radius {
|
2
|
+
border-radius: 4px;
|
3
|
+
background: transparent no-repeat;
|
4
|
+
background-position: 50%;
|
5
|
+
background-clip: padding-box;
|
6
|
+
}
|
7
|
+
|
8
|
+
@mixin avatar-size($size: 48px) {
|
9
|
+
width: $size;
|
10
|
+
height: $size;
|
11
|
+
background-size: $size $size;
|
12
|
+
}
|
13
|
+
|
14
|
+
@mixin search-input {
|
15
|
+
outline: 0;
|
16
|
+
box-sizing: border-box;
|
17
|
+
width: 100%;
|
18
|
+
border: 0;
|
19
|
+
box-shadow: none;
|
20
|
+
font-family: inherit;
|
21
|
+
background: $ui-base-color;
|
22
|
+
color: $darker-text-color;
|
23
|
+
font-size: 14px;
|
24
|
+
margin: 0;
|
25
|
+
}
|
26
|
+
|
27
|
+
@mixin search-popout {
|
28
|
+
background: $simple-background-color;
|
29
|
+
border-radius: 4px;
|
30
|
+
padding: 10px 14px;
|
31
|
+
padding-bottom: 14px;
|
32
|
+
margin-top: 10px;
|
33
|
+
color: $light-text-color;
|
34
|
+
box-shadow: 2px 4px 15px rgba($base-shadow-color, 0.4);
|
35
|
+
|
36
|
+
h4 {
|
37
|
+
text-transform: uppercase;
|
38
|
+
color: $light-text-color;
|
39
|
+
font-size: 13px;
|
40
|
+
font-weight: 500;
|
41
|
+
margin-bottom: 10px;
|
42
|
+
}
|
43
|
+
|
44
|
+
li {
|
45
|
+
padding: 4px 0;
|
46
|
+
}
|
47
|
+
|
48
|
+
ul {
|
49
|
+
margin-bottom: 10px;
|
50
|
+
}
|
51
|
+
|
52
|
+
em {
|
53
|
+
font-weight: 500;
|
54
|
+
color: $inverted-text-color;
|
55
|
+
}
|
56
|
+
}
|
data/_sass/_modal.scss
ADDED
@@ -0,0 +1,35 @@
|
|
1
|
+
.modal-layout {
|
2
|
+
background: $ui-base-color url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 234.80078 31.757813" width="234.80078" height="31.757812"><path d="M19.599609 0c-1.05 0-2.10039.375-2.90039 1.125L0 16.925781v14.832031h234.80078V17.025391l-16.5-15.900391c-1.6-1.5-4.20078-1.5-5.80078 0l-13.80078 13.099609c-1.6 1.5-4.19883 1.5-5.79883 0L179.09961 1.125c-1.6-1.5-4.19883-1.5-5.79883 0L159.5 14.224609c-1.6 1.5-4.20078 1.5-5.80078 0L139.90039 1.125c-1.6-1.5-4.20078-1.5-5.80078 0l-13.79883 13.099609c-1.6 1.5-4.20078 1.5-5.80078 0L100.69922 1.125c-1.600001-1.5-4.198829-1.5-5.798829 0l-13.59961 13.099609c-1.6 1.5-4.200781 1.5-5.800781 0L61.699219 1.125c-1.6-1.5-4.198828-1.5-5.798828 0L42.099609 14.224609c-1.6 1.5-4.198828 1.5-5.798828 0L22.5 1.125C21.7.375 20.649609 0 19.599609 0z" fill="#{hex-color($ui-base-lighter-color)}"/></svg>') repeat-x bottom fixed;
|
3
|
+
display: flex;
|
4
|
+
flex-direction: column;
|
5
|
+
height: 100vh;
|
6
|
+
padding: 0;
|
7
|
+
}
|
8
|
+
|
9
|
+
.modal-layout__mastodon {
|
10
|
+
display: flex;
|
11
|
+
flex: 1;
|
12
|
+
flex-direction: column;
|
13
|
+
justify-content: flex-end;
|
14
|
+
|
15
|
+
> div {
|
16
|
+
flex: 1;
|
17
|
+
max-height: 235px;
|
18
|
+
position: relative;
|
19
|
+
|
20
|
+
img {
|
21
|
+
max-height: 100%;
|
22
|
+
max-width: 100%;
|
23
|
+
height: 100%;
|
24
|
+
position: absolute;
|
25
|
+
bottom: 0;
|
26
|
+
left: 0;
|
27
|
+
}
|
28
|
+
}
|
29
|
+
}
|
30
|
+
|
31
|
+
@media screen and (max-width: 600px) {
|
32
|
+
.account-header {
|
33
|
+
margin-top: 0;
|
34
|
+
}
|
35
|
+
}
|
data/_sass/_polls.scss
ADDED
@@ -0,0 +1,274 @@
|
|
1
|
+
.poll {
|
2
|
+
margin-top: 16px;
|
3
|
+
font-size: 14px;
|
4
|
+
|
5
|
+
li {
|
6
|
+
margin-bottom: 10px;
|
7
|
+
position: relative;
|
8
|
+
}
|
9
|
+
|
10
|
+
&__chart {
|
11
|
+
border-radius: 4px;
|
12
|
+
display: block;
|
13
|
+
background: darken($ui-primary-color, 5%);
|
14
|
+
height: 5px;
|
15
|
+
min-width: 1%;
|
16
|
+
|
17
|
+
&.leading {
|
18
|
+
background: $ui-highlight-color;
|
19
|
+
}
|
20
|
+
}
|
21
|
+
|
22
|
+
progress {
|
23
|
+
border: 0;
|
24
|
+
display: block;
|
25
|
+
width: 100%;
|
26
|
+
height: 5px;
|
27
|
+
appearance: none;
|
28
|
+
background: transparent;
|
29
|
+
|
30
|
+
&::-webkit-progress-bar {
|
31
|
+
background: transparent;
|
32
|
+
}
|
33
|
+
|
34
|
+
// Those rules need to be entirely separate or they won't work, hence the
|
35
|
+
// duplication
|
36
|
+
&::-moz-progress-bar {
|
37
|
+
border-radius: 4px;
|
38
|
+
background: darken($ui-primary-color, 5%);
|
39
|
+
}
|
40
|
+
|
41
|
+
&::-ms-fill {
|
42
|
+
border-radius: 4px;
|
43
|
+
background: darken($ui-primary-color, 5%);
|
44
|
+
}
|
45
|
+
|
46
|
+
&::-webkit-progress-value {
|
47
|
+
border-radius: 4px;
|
48
|
+
background: darken($ui-primary-color, 5%);
|
49
|
+
}
|
50
|
+
}
|
51
|
+
|
52
|
+
&__option {
|
53
|
+
position: relative;
|
54
|
+
display: flex;
|
55
|
+
padding: 6px 0;
|
56
|
+
line-height: 18px;
|
57
|
+
cursor: default;
|
58
|
+
overflow: hidden;
|
59
|
+
|
60
|
+
&__text {
|
61
|
+
display: inline-block;
|
62
|
+
word-wrap: break-word;
|
63
|
+
overflow-wrap: break-word;
|
64
|
+
max-width: calc(100% - 45px - 25px);
|
65
|
+
}
|
66
|
+
|
67
|
+
input[type=radio],
|
68
|
+
input[type=checkbox] {
|
69
|
+
display: none;
|
70
|
+
}
|
71
|
+
|
72
|
+
.autossugest-input {
|
73
|
+
flex: 1 1 auto;
|
74
|
+
}
|
75
|
+
|
76
|
+
input[type=text] {
|
77
|
+
display: block;
|
78
|
+
box-sizing: border-box;
|
79
|
+
width: 100%;
|
80
|
+
font-size: 14px;
|
81
|
+
color: $inverted-text-color;
|
82
|
+
outline: 0;
|
83
|
+
font-family: inherit;
|
84
|
+
background: $simple-background-color;
|
85
|
+
border: 1px solid darken($simple-background-color, 14%);
|
86
|
+
border-radius: 4px;
|
87
|
+
padding: 6px 10px;
|
88
|
+
|
89
|
+
&:focus {
|
90
|
+
border-color: $highlight-text-color;
|
91
|
+
}
|
92
|
+
}
|
93
|
+
|
94
|
+
&.selectable {
|
95
|
+
cursor: pointer;
|
96
|
+
}
|
97
|
+
|
98
|
+
&.editable {
|
99
|
+
display: flex;
|
100
|
+
align-items: center;
|
101
|
+
overflow: visible;
|
102
|
+
}
|
103
|
+
}
|
104
|
+
|
105
|
+
&__input {
|
106
|
+
display: inline-block;
|
107
|
+
position: relative;
|
108
|
+
border: 1px solid $ui-primary-color;
|
109
|
+
box-sizing: border-box;
|
110
|
+
width: 18px;
|
111
|
+
height: 18px;
|
112
|
+
flex: 0 0 auto;
|
113
|
+
margin-right: 10px;
|
114
|
+
top: -1px;
|
115
|
+
border-radius: 50%;
|
116
|
+
vertical-align: middle;
|
117
|
+
margin-top: auto;
|
118
|
+
margin-bottom: auto;
|
119
|
+
flex: 0 0 18px;
|
120
|
+
|
121
|
+
&.checkbox {
|
122
|
+
border-radius: 4px;
|
123
|
+
}
|
124
|
+
|
125
|
+
&.active {
|
126
|
+
border-color: $valid-value-color;
|
127
|
+
background: $valid-value-color;
|
128
|
+
}
|
129
|
+
|
130
|
+
&:active,
|
131
|
+
&:focus,
|
132
|
+
&:hover {
|
133
|
+
border-color: lighten($valid-value-color, 15%);
|
134
|
+
border-width: 4px;
|
135
|
+
}
|
136
|
+
|
137
|
+
&::-moz-focus-inner {
|
138
|
+
outline: 0 !important;
|
139
|
+
border: 0;
|
140
|
+
}
|
141
|
+
|
142
|
+
&:focus,
|
143
|
+
&:active {
|
144
|
+
outline: 0 !important;
|
145
|
+
}
|
146
|
+
}
|
147
|
+
|
148
|
+
&__number {
|
149
|
+
display: inline-block;
|
150
|
+
width: 45px;
|
151
|
+
font-weight: 700;
|
152
|
+
flex: 0 0 45px;
|
153
|
+
}
|
154
|
+
|
155
|
+
&__voted {
|
156
|
+
padding: 0 5px;
|
157
|
+
display: inline-block;
|
158
|
+
|
159
|
+
&__mark {
|
160
|
+
font-size: 18px;
|
161
|
+
}
|
162
|
+
}
|
163
|
+
|
164
|
+
&__footer {
|
165
|
+
padding-top: 6px;
|
166
|
+
padding-bottom: 5px;
|
167
|
+
color: $dark-text-color;
|
168
|
+
}
|
169
|
+
|
170
|
+
&__link {
|
171
|
+
display: inline;
|
172
|
+
background: transparent;
|
173
|
+
padding: 0;
|
174
|
+
margin: 0;
|
175
|
+
border: 0;
|
176
|
+
color: $dark-text-color;
|
177
|
+
text-decoration: underline;
|
178
|
+
font-size: inherit;
|
179
|
+
|
180
|
+
&:hover {
|
181
|
+
text-decoration: none;
|
182
|
+
}
|
183
|
+
|
184
|
+
&:active,
|
185
|
+
&:focus {
|
186
|
+
background-color: rgba($dark-text-color, .1);
|
187
|
+
}
|
188
|
+
}
|
189
|
+
|
190
|
+
.button {
|
191
|
+
height: 36px;
|
192
|
+
padding: 0 16px;
|
193
|
+
margin-right: 10px;
|
194
|
+
font-size: 14px;
|
195
|
+
}
|
196
|
+
}
|
197
|
+
|
198
|
+
.compose-form__poll-wrapper {
|
199
|
+
border-top: 1px solid darken($simple-background-color, 8%);
|
200
|
+
|
201
|
+
ul {
|
202
|
+
padding: 10px;
|
203
|
+
}
|
204
|
+
|
205
|
+
.poll__footer {
|
206
|
+
border-top: 1px solid darken($simple-background-color, 8%);
|
207
|
+
padding: 10px;
|
208
|
+
display: flex;
|
209
|
+
align-items: center;
|
210
|
+
|
211
|
+
button,
|
212
|
+
select {
|
213
|
+
flex: 1 1 50%;
|
214
|
+
|
215
|
+
&:focus {
|
216
|
+
border-color: $highlight-text-color;
|
217
|
+
}
|
218
|
+
}
|
219
|
+
}
|
220
|
+
|
221
|
+
.button.button-secondary {
|
222
|
+
font-size: 14px;
|
223
|
+
font-weight: 400;
|
224
|
+
padding: 6px 10px;
|
225
|
+
height: auto;
|
226
|
+
line-height: inherit;
|
227
|
+
color: $action-button-color;
|
228
|
+
border-color: $action-button-color;
|
229
|
+
margin-right: 5px;
|
230
|
+
}
|
231
|
+
|
232
|
+
li {
|
233
|
+
display: flex;
|
234
|
+
align-items: center;
|
235
|
+
|
236
|
+
.poll__option {
|
237
|
+
flex: 0 0 auto;
|
238
|
+
width: calc(100% - (23px + 6px));
|
239
|
+
margin-right: 6px;
|
240
|
+
}
|
241
|
+
}
|
242
|
+
|
243
|
+
select {
|
244
|
+
appearance: none;
|
245
|
+
box-sizing: border-box;
|
246
|
+
font-size: 14px;
|
247
|
+
color: $inverted-text-color;
|
248
|
+
display: inline-block;
|
249
|
+
width: auto;
|
250
|
+
outline: 0;
|
251
|
+
font-family: inherit;
|
252
|
+
background: $simple-background-color url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14.933 18.467' height='19.698' width='15.929'><path d='M3.467 14.967l-3.393-3.5H14.86l-3.392 3.5c-1.866 1.925-3.666 3.5-4 3.5-.335 0-2.135-1.575-4-3.5zm.266-11.234L7.467 0 11.2 3.733l3.733 3.734H0l3.733-3.734z' fill='#{hex-color(darken($simple-background-color, 14%))}'/></svg>") no-repeat right 8px center / auto 16px;
|
253
|
+
border: 1px solid darken($simple-background-color, 14%);
|
254
|
+
border-radius: 4px;
|
255
|
+
padding: 6px 10px;
|
256
|
+
padding-right: 30px;
|
257
|
+
}
|
258
|
+
|
259
|
+
.icon-button.disabled {
|
260
|
+
color: darken($simple-background-color, 14%);
|
261
|
+
}
|
262
|
+
}
|
263
|
+
|
264
|
+
.muted .poll {
|
265
|
+
color: $dark-text-color;
|
266
|
+
|
267
|
+
&__chart {
|
268
|
+
background: rgba(darken($ui-primary-color, 14%), 0.2);
|
269
|
+
|
270
|
+
&.leading {
|
271
|
+
background: rgba($ui-highlight-color, 0.2);
|
272
|
+
}
|
273
|
+
}
|
274
|
+
}
|