vitrina 0.2.2 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.editorconfig +13 -0
- data/.github/FUNDING.yml +4 -0
- data/.github/ISSUE_TEMPLATE/bug_report.md +38 -0
- data/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
- data/.github/workflows/gempush.yml +41 -0
- data/.gitignore +7 -0
- data/.travis.yml +8 -0
- data/404.md +5 -0
- data/CHANGELOG.md +81 -0
- data/Gemfile +9 -0
- data/LICENSE +21 -0
- data/README.md +501 -0
- data/_config.yml +39 -0
- data/_data/general.json +133 -0
- data/_data/home.json +316 -0
- data/_data/links.json +34 -0
- data/_data/resume.json +80 -0
- data/_includes/foot.html +6 -0
- data/_includes/footer.html +21 -0
- data/_includes/head.html +13 -0
- data/_includes/header.html +63 -0
- data/_includes/pagination.html +75 -0
- data/_includes/util/grid_columns.html +49 -0
- data/_includes/util/item_content.html +8 -0
- data/_includes/util/items.html +69 -0
- data/_includes/util/navbar_items.html +82 -0
- data/_includes/util/prepend_link.html +5 -0
- data/_includes/util/timeline_cards.html +20 -0
- data/_layouts/blog.html +53 -0
- data/_layouts/compress.html +10 -0
- data/_layouts/contact.html +32 -0
- data/_layouts/default.html +33 -0
- data/_layouts/error.html +10 -0
- data/_layouts/home.html +103 -0
- data/_layouts/papers.html +80 -0
- data/_layouts/post.html +33 -0
- data/_layouts/projects.html +58 -0
- data/_layouts/resume.html +62 -0
- data/_papers/A-systematic-review-on-the-productive-effects-of-hobbies.md +15 -0
- data/_papers/Applications-of-open-collaboration-in-software-development.md +14 -0
- data/_posts/2019-04-03-welcome-human.md +52 -0
- data/_projects/Make.md +5 -0
- data/_projects/Meet.md +5 -0
- data/_projects/Mood.md +5 -0
- data/_projects/Take.md +5 -0
- data/_projects/Think.md +5 -0
- data/_sass/_bulma.scss +3 -0
- data/_sass/_fork_awesome.scss +11 -0
- data/_sass/code.scss +128 -0
- data/_sass/customize.scss +69 -0
- data/_sass/elements.scss +489 -0
- data/assets/css/styles.scss +15 -0
- data/assets/img/card.png +0 -0
- data/assets/img/icon.png +0 -0
- data/assets/img/logo.png +0 -0
- data/assets/img/made-with-bulma.png +0 -0
- data/assets/img/make.png +0 -0
- data/assets/img/meet.png +0 -0
- data/assets/img/mood.png +0 -0
- data/assets/img/take.png +0 -0
- data/assets/img/think.png +0 -0
- data/assets/js/navbar.js +10 -0
- data/assets/js/validate.js +77 -0
- data/blog/index.html +4 -0
- data/contact.md +52 -0
- data/index.md +3 -0
- data/node_modules/.yarn-integrity +18 -0
- data/node_modules/bulma/CHANGELOG.md +1459 -0
- data/node_modules/bulma/LICENSE +21 -0
- data/node_modules/bulma/README.md +130 -0
- data/node_modules/bulma/bulma.sass +10 -0
- data/node_modules/bulma/css/bulma-rtl.css +11331 -0
- data/node_modules/bulma/css/bulma-rtl.css.map +1 -0
- data/node_modules/bulma/css/bulma-rtl.min.css +1 -0
- data/node_modules/bulma/css/bulma.css +11331 -0
- data/node_modules/bulma/css/bulma.css.map +1 -0
- data/node_modules/bulma/css/bulma.min.css +1 -0
- data/node_modules/bulma/package.json +56 -0
- data/node_modules/bulma/sass/.DS_Store +0 -0
- data/node_modules/bulma/sass/base/_all.sass +4 -0
- data/node_modules/bulma/sass/base/generic.sass +142 -0
- data/node_modules/bulma/sass/base/helpers.sass +1 -0
- data/node_modules/bulma/sass/base/minireset.sass +79 -0
- data/node_modules/bulma/sass/components/_all.sass +14 -0
- data/node_modules/bulma/sass/components/breadcrumb.sass +75 -0
- data/node_modules/bulma/sass/components/card.sass +79 -0
- data/node_modules/bulma/sass/components/dropdown.sass +81 -0
- data/node_modules/bulma/sass/components/level.sass +77 -0
- data/node_modules/bulma/sass/components/media.sass +52 -0
- data/node_modules/bulma/sass/components/menu.sass +57 -0
- data/node_modules/bulma/sass/components/message.sass +99 -0
- data/node_modules/bulma/sass/components/modal.sass +113 -0
- data/node_modules/bulma/sass/components/navbar.sass +441 -0
- data/node_modules/bulma/sass/components/pagination.sass +150 -0
- data/node_modules/bulma/sass/components/panel.sass +119 -0
- data/node_modules/bulma/sass/components/tabs.sass +174 -0
- data/node_modules/bulma/sass/elements/_all.sass +15 -0
- data/node_modules/bulma/sass/elements/box.sass +24 -0
- data/node_modules/bulma/sass/elements/button.sass +323 -0
- data/node_modules/bulma/sass/elements/container.sass +24 -0
- data/node_modules/bulma/sass/elements/content.sass +155 -0
- data/node_modules/bulma/sass/elements/form.sass +1 -0
- data/node_modules/bulma/sass/elements/icon.sass +21 -0
- data/node_modules/bulma/sass/elements/image.sass +71 -0
- data/node_modules/bulma/sass/elements/notification.sass +48 -0
- data/node_modules/bulma/sass/elements/other.sass +39 -0
- data/node_modules/bulma/sass/elements/progress.sass +67 -0
- data/node_modules/bulma/sass/elements/table.sass +129 -0
- data/node_modules/bulma/sass/elements/tag.sass +136 -0
- data/node_modules/bulma/sass/elements/title.sass +70 -0
- data/node_modules/bulma/sass/form/_all.sass +8 -0
- data/node_modules/bulma/sass/form/checkbox-radio.sass +21 -0
- data/node_modules/bulma/sass/form/file.sass +180 -0
- data/node_modules/bulma/sass/form/input-textarea.sass +64 -0
- data/node_modules/bulma/sass/form/select.sass +85 -0
- data/node_modules/bulma/sass/form/shared.sass +55 -0
- data/node_modules/bulma/sass/form/tools.sass +213 -0
- data/node_modules/bulma/sass/grid/_all.sass +4 -0
- data/node_modules/bulma/sass/grid/columns.sass +504 -0
- data/node_modules/bulma/sass/grid/tiles.sass +34 -0
- data/node_modules/bulma/sass/helpers/_all.sass +10 -0
- data/node_modules/bulma/sass/helpers/color.sass +37 -0
- data/node_modules/bulma/sass/helpers/float.sass +8 -0
- data/node_modules/bulma/sass/helpers/other.sass +8 -0
- data/node_modules/bulma/sass/helpers/overflow.sass +2 -0
- data/node_modules/bulma/sass/helpers/position.sass +5 -0
- data/node_modules/bulma/sass/helpers/spacing.sass +28 -0
- data/node_modules/bulma/sass/helpers/typography.sass +98 -0
- data/node_modules/bulma/sass/helpers/visibility.sass +122 -0
- data/node_modules/bulma/sass/layout/_all.sass +5 -0
- data/node_modules/bulma/sass/layout/footer.sass +9 -0
- data/node_modules/bulma/sass/layout/hero.sass +145 -0
- data/node_modules/bulma/sass/layout/section.sass +13 -0
- data/node_modules/bulma/sass/utilities/.DS_Store +0 -0
- data/node_modules/bulma/sass/utilities/_all.sass +8 -0
- data/node_modules/bulma/sass/utilities/animations.sass +5 -0
- data/node_modules/bulma/sass/utilities/controls.sass +50 -0
- data/node_modules/bulma/sass/utilities/derived-variables.scss +132 -0
- data/node_modules/bulma/sass/utilities/functions.sass +115 -0
- data/node_modules/bulma/sass/utilities/initial-variables.sass +78 -0
- data/node_modules/bulma/sass/utilities/mixins.sass +285 -0
- data/node_modules/fork-awesome/CHANGELOG.md +91 -0
- data/node_modules/fork-awesome/CONTRIBUTORS.md +31 -0
- data/node_modules/fork-awesome/LICENSES +452 -0
- data/node_modules/fork-awesome/README.md +93 -0
- data/node_modules/fork-awesome/css/fork-awesome.css +2573 -0
- data/node_modules/fork-awesome/css/fork-awesome.min.css +12 -0
- data/node_modules/fork-awesome/css/fork-awesome.min.css.map +1 -0
- data/node_modules/fork-awesome/css/v5-compat.css +446 -0
- data/node_modules/fork-awesome/css/v5-compat.min.css +12 -0
- data/node_modules/fork-awesome/css/v5-compat.min.css.map +1 -0
- data/node_modules/fork-awesome/fonts/forkawesome-webfont.eot +0 -0
- data/node_modules/fork-awesome/fonts/forkawesome-webfont.svg +2849 -0
- data/node_modules/fork-awesome/fonts/forkawesome-webfont.ttf +0 -0
- data/node_modules/fork-awesome/fonts/forkawesome-webfont.woff +0 -0
- data/node_modules/fork-awesome/fonts/forkawesome-webfont.woff2 +0 -0
- data/node_modules/fork-awesome/less/animated.less +34 -0
- data/node_modules/fork-awesome/less/bordered-pulled.less +25 -0
- data/node_modules/fork-awesome/less/core.less +12 -0
- data/node_modules/fork-awesome/less/fixed-width.less +6 -0
- data/node_modules/fork-awesome/less/fork-awesome.less +27 -0
- data/node_modules/fork-awesome/less/icons.less +879 -0
- data/node_modules/fork-awesome/less/larger.less +13 -0
- data/node_modules/fork-awesome/less/list.less +19 -0
- data/node_modules/fork-awesome/less/mixins.less +60 -0
- data/node_modules/fork-awesome/less/path.less +15 -0
- data/node_modules/fork-awesome/less/rotated-flipped.less +20 -0
- data/node_modules/fork-awesome/less/screen-reader.less +5 -0
- data/node_modules/fork-awesome/less/stacked.less +20 -0
- data/node_modules/fork-awesome/less/v5-compat.less +176 -0
- data/node_modules/fork-awesome/less/variables.less +890 -0
- data/node_modules/fork-awesome/package.json +49 -0
- data/node_modules/fork-awesome/scss/_animated.scss +34 -0
- data/node_modules/fork-awesome/scss/_bordered-pulled.scss +25 -0
- data/node_modules/fork-awesome/scss/_core.scss +12 -0
- data/node_modules/fork-awesome/scss/_fixed-width.scss +6 -0
- data/node_modules/fork-awesome/scss/_functions.scss +11 -0
- data/node_modules/fork-awesome/scss/_icons.scss +879 -0
- data/node_modules/fork-awesome/scss/_larger.scss +13 -0
- data/node_modules/fork-awesome/scss/_list.scss +19 -0
- data/node_modules/fork-awesome/scss/_mixins.scss +60 -0
- data/node_modules/fork-awesome/scss/_path.scss +15 -0
- data/node_modules/fork-awesome/scss/_rotated-flipped.scss +20 -0
- data/node_modules/fork-awesome/scss/_screen-reader.scss +5 -0
- data/node_modules/fork-awesome/scss/_stacked.scss +20 -0
- data/node_modules/fork-awesome/scss/_variables.scss +890 -0
- data/node_modules/fork-awesome/scss/fork-awesome.scss +28 -0
- data/package.json +32 -0
- data/papers.md +4 -0
- data/projects.md +4 -0
- data/resume.md +4 -0
- data/screenshot.png +0 -0
- data/scripts/build.sh +10 -0
- data/scripts/install.sh +4 -0
- data/scripts/validate.rb +28 -0
- data/vitrina.gemspec +23 -0
- metadata +199 -3
@@ -0,0 +1,24 @@
|
|
1
|
+
$container-offset: (2 * $gap) !default
|
2
|
+
|
3
|
+
.container
|
4
|
+
flex-grow: 1
|
5
|
+
margin: 0 auto
|
6
|
+
position: relative
|
7
|
+
width: auto
|
8
|
+
&.is-fluid
|
9
|
+
max-width: none
|
10
|
+
padding-left: $gap
|
11
|
+
padding-right: $gap
|
12
|
+
width: 100%
|
13
|
+
+desktop
|
14
|
+
max-width: $desktop - $container-offset
|
15
|
+
+until-widescreen
|
16
|
+
&.is-widescreen
|
17
|
+
max-width: $widescreen - $container-offset
|
18
|
+
+until-fullhd
|
19
|
+
&.is-fullhd
|
20
|
+
max-width: $fullhd - $container-offset
|
21
|
+
+widescreen
|
22
|
+
max-width: $widescreen - $container-offset
|
23
|
+
+fullhd
|
24
|
+
max-width: $fullhd - $container-offset
|
@@ -0,0 +1,155 @@
|
|
1
|
+
$content-heading-color: $text-strong !default
|
2
|
+
$content-heading-weight: $weight-semibold !default
|
3
|
+
$content-heading-line-height: 1.125 !default
|
4
|
+
|
5
|
+
$content-blockquote-background-color: $background !default
|
6
|
+
$content-blockquote-border-left: 5px solid $border !default
|
7
|
+
$content-blockquote-padding: 1.25em 1.5em !default
|
8
|
+
|
9
|
+
$content-pre-padding: 1.25em 1.5em !default
|
10
|
+
|
11
|
+
$content-table-cell-border: 1px solid $border !default
|
12
|
+
$content-table-cell-border-width: 0 0 1px !default
|
13
|
+
$content-table-cell-padding: 0.5em 0.75em !default
|
14
|
+
$content-table-cell-heading-color: $text-strong !default
|
15
|
+
$content-table-head-cell-border-width: 0 0 2px !default
|
16
|
+
$content-table-head-cell-color: $text-strong !default
|
17
|
+
$content-table-foot-cell-border-width: 2px 0 0 !default
|
18
|
+
$content-table-foot-cell-color: $text-strong !default
|
19
|
+
|
20
|
+
.content
|
21
|
+
@extend %block
|
22
|
+
// Inline
|
23
|
+
li + li
|
24
|
+
margin-top: 0.25em
|
25
|
+
// Block
|
26
|
+
p,
|
27
|
+
dl,
|
28
|
+
ol,
|
29
|
+
ul,
|
30
|
+
blockquote,
|
31
|
+
pre,
|
32
|
+
table
|
33
|
+
&:not(:last-child)
|
34
|
+
margin-bottom: 1em
|
35
|
+
h1,
|
36
|
+
h2,
|
37
|
+
h3,
|
38
|
+
h4,
|
39
|
+
h5,
|
40
|
+
h6
|
41
|
+
color: $content-heading-color
|
42
|
+
font-weight: $content-heading-weight
|
43
|
+
line-height: $content-heading-line-height
|
44
|
+
h1
|
45
|
+
font-size: 2em
|
46
|
+
margin-bottom: 0.5em
|
47
|
+
&:not(:first-child)
|
48
|
+
margin-top: 1em
|
49
|
+
h2
|
50
|
+
font-size: 1.75em
|
51
|
+
margin-bottom: 0.5714em
|
52
|
+
&:not(:first-child)
|
53
|
+
margin-top: 1.1428em
|
54
|
+
h3
|
55
|
+
font-size: 1.5em
|
56
|
+
margin-bottom: 0.6666em
|
57
|
+
&:not(:first-child)
|
58
|
+
margin-top: 1.3333em
|
59
|
+
h4
|
60
|
+
font-size: 1.25em
|
61
|
+
margin-bottom: 0.8em
|
62
|
+
h5
|
63
|
+
font-size: 1.125em
|
64
|
+
margin-bottom: 0.8888em
|
65
|
+
h6
|
66
|
+
font-size: 1em
|
67
|
+
margin-bottom: 1em
|
68
|
+
blockquote
|
69
|
+
background-color: $content-blockquote-background-color
|
70
|
+
+ltr-property("border", $content-blockquote-border-left, false)
|
71
|
+
padding: $content-blockquote-padding
|
72
|
+
ol
|
73
|
+
list-style-position: outside
|
74
|
+
+ltr-property("margin", 2em, false)
|
75
|
+
margin-top: 1em
|
76
|
+
&:not([type])
|
77
|
+
list-style-type: decimal
|
78
|
+
&.is-lower-alpha
|
79
|
+
list-style-type: lower-alpha
|
80
|
+
&.is-lower-roman
|
81
|
+
list-style-type: lower-roman
|
82
|
+
&.is-upper-alpha
|
83
|
+
list-style-type: upper-alpha
|
84
|
+
&.is-upper-roman
|
85
|
+
list-style-type: upper-roman
|
86
|
+
ul
|
87
|
+
list-style: disc outside
|
88
|
+
+ltr-property("margin", 2em, false)
|
89
|
+
margin-top: 1em
|
90
|
+
ul
|
91
|
+
list-style-type: circle
|
92
|
+
margin-top: 0.5em
|
93
|
+
ul
|
94
|
+
list-style-type: square
|
95
|
+
dd
|
96
|
+
+ltr-property("margin", 2em, false)
|
97
|
+
figure
|
98
|
+
margin-left: 2em
|
99
|
+
margin-right: 2em
|
100
|
+
text-align: center
|
101
|
+
&:not(:first-child)
|
102
|
+
margin-top: 2em
|
103
|
+
&:not(:last-child)
|
104
|
+
margin-bottom: 2em
|
105
|
+
img
|
106
|
+
display: inline-block
|
107
|
+
figcaption
|
108
|
+
font-style: italic
|
109
|
+
pre
|
110
|
+
+overflow-touch
|
111
|
+
overflow-x: auto
|
112
|
+
padding: $content-pre-padding
|
113
|
+
white-space: pre
|
114
|
+
word-wrap: normal
|
115
|
+
sup,
|
116
|
+
sub
|
117
|
+
font-size: 75%
|
118
|
+
table
|
119
|
+
width: 100%
|
120
|
+
td,
|
121
|
+
th
|
122
|
+
border: $content-table-cell-border
|
123
|
+
border-width: $content-table-cell-border-width
|
124
|
+
padding: $content-table-cell-padding
|
125
|
+
vertical-align: top
|
126
|
+
th
|
127
|
+
color: $content-table-cell-heading-color
|
128
|
+
&:not([align])
|
129
|
+
text-align: inherit
|
130
|
+
thead
|
131
|
+
td,
|
132
|
+
th
|
133
|
+
border-width: $content-table-head-cell-border-width
|
134
|
+
color: $content-table-head-cell-color
|
135
|
+
tfoot
|
136
|
+
td,
|
137
|
+
th
|
138
|
+
border-width: $content-table-foot-cell-border-width
|
139
|
+
color: $content-table-foot-cell-color
|
140
|
+
tbody
|
141
|
+
tr
|
142
|
+
&:last-child
|
143
|
+
td,
|
144
|
+
th
|
145
|
+
border-bottom-width: 0
|
146
|
+
.tabs
|
147
|
+
li + li
|
148
|
+
margin-top: 0
|
149
|
+
// Sizes
|
150
|
+
&.is-small
|
151
|
+
font-size: $size-small
|
152
|
+
&.is-medium
|
153
|
+
font-size: $size-medium
|
154
|
+
&.is-large
|
155
|
+
font-size: $size-large
|
@@ -0,0 +1 @@
|
|
1
|
+
@warn "The form.sass file is DEPRECATED. It has moved into its own /form folder. Please import sass/form/_all instead."
|
@@ -0,0 +1,21 @@
|
|
1
|
+
$icon-dimensions: 1.5rem !default
|
2
|
+
$icon-dimensions-small: 1rem !default
|
3
|
+
$icon-dimensions-medium: 2rem !default
|
4
|
+
$icon-dimensions-large: 3rem !default
|
5
|
+
|
6
|
+
.icon
|
7
|
+
align-items: center
|
8
|
+
display: inline-flex
|
9
|
+
justify-content: center
|
10
|
+
height: $icon-dimensions
|
11
|
+
width: $icon-dimensions
|
12
|
+
// Sizes
|
13
|
+
&.is-small
|
14
|
+
height: $icon-dimensions-small
|
15
|
+
width: $icon-dimensions-small
|
16
|
+
&.is-medium
|
17
|
+
height: $icon-dimensions-medium
|
18
|
+
width: $icon-dimensions-medium
|
19
|
+
&.is-large
|
20
|
+
height: $icon-dimensions-large
|
21
|
+
width: $icon-dimensions-large
|
@@ -0,0 +1,71 @@
|
|
1
|
+
$dimensions: 16 24 32 48 64 96 128 !default
|
2
|
+
|
3
|
+
.image
|
4
|
+
display: block
|
5
|
+
position: relative
|
6
|
+
img
|
7
|
+
display: block
|
8
|
+
height: auto
|
9
|
+
width: 100%
|
10
|
+
&.is-rounded
|
11
|
+
border-radius: $radius-rounded
|
12
|
+
&.is-fullwidth
|
13
|
+
width: 100%
|
14
|
+
// Ratio
|
15
|
+
&.is-square,
|
16
|
+
&.is-1by1,
|
17
|
+
&.is-5by4,
|
18
|
+
&.is-4by3,
|
19
|
+
&.is-3by2,
|
20
|
+
&.is-5by3,
|
21
|
+
&.is-16by9,
|
22
|
+
&.is-2by1,
|
23
|
+
&.is-3by1,
|
24
|
+
&.is-4by5,
|
25
|
+
&.is-3by4,
|
26
|
+
&.is-2by3,
|
27
|
+
&.is-3by5,
|
28
|
+
&.is-9by16,
|
29
|
+
&.is-1by2,
|
30
|
+
&.is-1by3
|
31
|
+
img,
|
32
|
+
.has-ratio
|
33
|
+
@extend %overlay
|
34
|
+
height: 100%
|
35
|
+
width: 100%
|
36
|
+
&.is-square,
|
37
|
+
&.is-1by1
|
38
|
+
padding-top: 100%
|
39
|
+
&.is-5by4
|
40
|
+
padding-top: 80%
|
41
|
+
&.is-4by3
|
42
|
+
padding-top: 75%
|
43
|
+
&.is-3by2
|
44
|
+
padding-top: 66.6666%
|
45
|
+
&.is-5by3
|
46
|
+
padding-top: 60%
|
47
|
+
&.is-16by9
|
48
|
+
padding-top: 56.25%
|
49
|
+
&.is-2by1
|
50
|
+
padding-top: 50%
|
51
|
+
&.is-3by1
|
52
|
+
padding-top: 33.3333%
|
53
|
+
&.is-4by5
|
54
|
+
padding-top: 125%
|
55
|
+
&.is-3by4
|
56
|
+
padding-top: 133.3333%
|
57
|
+
&.is-2by3
|
58
|
+
padding-top: 150%
|
59
|
+
&.is-3by5
|
60
|
+
padding-top: 166.6666%
|
61
|
+
&.is-9by16
|
62
|
+
padding-top: 177.7777%
|
63
|
+
&.is-1by2
|
64
|
+
padding-top: 200%
|
65
|
+
&.is-1by3
|
66
|
+
padding-top: 300%
|
67
|
+
// Sizes
|
68
|
+
@each $dimension in $dimensions
|
69
|
+
&.is-#{$dimension}x#{$dimension}
|
70
|
+
height: $dimension * 1px
|
71
|
+
width: $dimension * 1px
|
@@ -0,0 +1,48 @@
|
|
1
|
+
$notification-background-color: $background !default
|
2
|
+
$notification-code-background-color: $scheme-main !default
|
3
|
+
$notification-radius: $radius !default
|
4
|
+
$notification-padding: 1.25rem 2.5rem 1.25rem 1.5rem !default
|
5
|
+
$notification-padding-ltr: 1.25rem 2.5rem 1.25rem 1.5rem !default
|
6
|
+
$notification-padding-rtl: 1.25rem 1.5rem 1.25rem 2.5rem !default
|
7
|
+
|
8
|
+
.notification
|
9
|
+
@extend %block
|
10
|
+
background-color: $notification-background-color
|
11
|
+
border-radius: $notification-radius
|
12
|
+
position: relative
|
13
|
+
+ltr
|
14
|
+
padding: $notification-padding-ltr
|
15
|
+
+rtl
|
16
|
+
padding: $notification-padding-rtl
|
17
|
+
a:not(.button):not(.dropdown-item)
|
18
|
+
color: currentColor
|
19
|
+
text-decoration: underline
|
20
|
+
strong
|
21
|
+
color: currentColor
|
22
|
+
code,
|
23
|
+
pre
|
24
|
+
background: $notification-code-background-color
|
25
|
+
pre code
|
26
|
+
background: transparent
|
27
|
+
& > .delete
|
28
|
+
+ltr-position(0.5rem)
|
29
|
+
position: absolute
|
30
|
+
top: 0.5rem
|
31
|
+
.title,
|
32
|
+
.subtitle,
|
33
|
+
.content
|
34
|
+
color: currentColor
|
35
|
+
// Colors
|
36
|
+
@each $name, $pair in $colors
|
37
|
+
$color: nth($pair, 1)
|
38
|
+
$color-invert: nth($pair, 2)
|
39
|
+
&.is-#{$name}
|
40
|
+
background-color: $color
|
41
|
+
color: $color-invert
|
42
|
+
// If light and dark colors are provided
|
43
|
+
@if length($pair) >= 4
|
44
|
+
$color-light: nth($pair, 3)
|
45
|
+
$color-dark: nth($pair, 4)
|
46
|
+
&.is-light
|
47
|
+
background-color: $color-light
|
48
|
+
color: $color-dark
|
@@ -0,0 +1,39 @@
|
|
1
|
+
.block
|
2
|
+
@extend %block
|
3
|
+
|
4
|
+
.delete
|
5
|
+
@extend %delete
|
6
|
+
|
7
|
+
.heading
|
8
|
+
display: block
|
9
|
+
font-size: 11px
|
10
|
+
letter-spacing: 1px
|
11
|
+
margin-bottom: 5px
|
12
|
+
text-transform: uppercase
|
13
|
+
|
14
|
+
.highlight
|
15
|
+
@extend %block
|
16
|
+
font-weight: $weight-normal
|
17
|
+
max-width: 100%
|
18
|
+
overflow: hidden
|
19
|
+
padding: 0
|
20
|
+
pre
|
21
|
+
overflow: auto
|
22
|
+
max-width: 100%
|
23
|
+
|
24
|
+
.loader
|
25
|
+
@extend %loader
|
26
|
+
|
27
|
+
.number
|
28
|
+
align-items: center
|
29
|
+
background-color: $background
|
30
|
+
border-radius: $radius-rounded
|
31
|
+
display: inline-flex
|
32
|
+
font-size: $size-medium
|
33
|
+
height: 2em
|
34
|
+
justify-content: center
|
35
|
+
margin-right: 1.5rem
|
36
|
+
min-width: 2.5em
|
37
|
+
padding: 0.25rem 0.5rem
|
38
|
+
text-align: center
|
39
|
+
vertical-align: top
|
@@ -0,0 +1,67 @@
|
|
1
|
+
$progress-bar-background-color: $border-light !default
|
2
|
+
$progress-value-background-color: $text !default
|
3
|
+
$progress-border-radius: $radius-rounded !default
|
4
|
+
|
5
|
+
$progress-indeterminate-duration: 1.5s !default
|
6
|
+
|
7
|
+
.progress
|
8
|
+
@extend %block
|
9
|
+
-moz-appearance: none
|
10
|
+
-webkit-appearance: none
|
11
|
+
border: none
|
12
|
+
border-radius: $progress-border-radius
|
13
|
+
display: block
|
14
|
+
height: $size-normal
|
15
|
+
overflow: hidden
|
16
|
+
padding: 0
|
17
|
+
width: 100%
|
18
|
+
&::-webkit-progress-bar
|
19
|
+
background-color: $progress-bar-background-color
|
20
|
+
&::-webkit-progress-value
|
21
|
+
background-color: $progress-value-background-color
|
22
|
+
&::-moz-progress-bar
|
23
|
+
background-color: $progress-value-background-color
|
24
|
+
&::-ms-fill
|
25
|
+
background-color: $progress-value-background-color
|
26
|
+
border: none
|
27
|
+
// Colors
|
28
|
+
@each $name, $pair in $colors
|
29
|
+
$color: nth($pair, 1)
|
30
|
+
&.is-#{$name}
|
31
|
+
&::-webkit-progress-value
|
32
|
+
background-color: $color
|
33
|
+
&::-moz-progress-bar
|
34
|
+
background-color: $color
|
35
|
+
&::-ms-fill
|
36
|
+
background-color: $color
|
37
|
+
&:indeterminate
|
38
|
+
background-image: linear-gradient(to right, $color 30%, $progress-bar-background-color 30%)
|
39
|
+
|
40
|
+
&:indeterminate
|
41
|
+
animation-duration: $progress-indeterminate-duration
|
42
|
+
animation-iteration-count: infinite
|
43
|
+
animation-name: moveIndeterminate
|
44
|
+
animation-timing-function: linear
|
45
|
+
background-color: $progress-bar-background-color
|
46
|
+
background-image: linear-gradient(to right, $text 30%, $progress-bar-background-color 30%)
|
47
|
+
background-position: top left
|
48
|
+
background-repeat: no-repeat
|
49
|
+
background-size: 150% 150%
|
50
|
+
&::-webkit-progress-bar
|
51
|
+
background-color: transparent
|
52
|
+
&::-moz-progress-bar
|
53
|
+
background-color: transparent
|
54
|
+
|
55
|
+
// Sizes
|
56
|
+
&.is-small
|
57
|
+
height: $size-small
|
58
|
+
&.is-medium
|
59
|
+
height: $size-medium
|
60
|
+
&.is-large
|
61
|
+
height: $size-large
|
62
|
+
|
63
|
+
@keyframes moveIndeterminate
|
64
|
+
from
|
65
|
+
background-position: 200% 0
|
66
|
+
to
|
67
|
+
background-position: -200% 0
|
@@ -0,0 +1,129 @@
|
|
1
|
+
$table-color: $text-strong !default
|
2
|
+
$table-background-color: $scheme-main !default
|
3
|
+
|
4
|
+
$table-cell-border: 1px solid $border !default
|
5
|
+
$table-cell-border-width: 0 0 1px !default
|
6
|
+
$table-cell-padding: 0.5em 0.75em !default
|
7
|
+
$table-cell-heading-color: $text-strong !default
|
8
|
+
|
9
|
+
$table-head-cell-border-width: 0 0 2px !default
|
10
|
+
$table-head-cell-color: $text-strong !default
|
11
|
+
$table-foot-cell-border-width: 2px 0 0 !default
|
12
|
+
$table-foot-cell-color: $text-strong !default
|
13
|
+
|
14
|
+
$table-head-background-color: transparent !default
|
15
|
+
$table-body-background-color: transparent !default
|
16
|
+
$table-foot-background-color: transparent !default
|
17
|
+
|
18
|
+
$table-row-hover-background-color: $scheme-main-bis !default
|
19
|
+
|
20
|
+
$table-row-active-background-color: $primary !default
|
21
|
+
$table-row-active-color: $primary-invert !default
|
22
|
+
|
23
|
+
$table-striped-row-even-background-color: $scheme-main-bis !default
|
24
|
+
$table-striped-row-even-hover-background-color: $scheme-main-ter !default
|
25
|
+
|
26
|
+
.table
|
27
|
+
@extend %block
|
28
|
+
background-color: $table-background-color
|
29
|
+
color: $table-color
|
30
|
+
td,
|
31
|
+
th
|
32
|
+
border: $table-cell-border
|
33
|
+
border-width: $table-cell-border-width
|
34
|
+
padding: $table-cell-padding
|
35
|
+
vertical-align: top
|
36
|
+
// Colors
|
37
|
+
@each $name, $pair in $colors
|
38
|
+
$color: nth($pair, 1)
|
39
|
+
$color-invert: nth($pair, 2)
|
40
|
+
&.is-#{$name}
|
41
|
+
background-color: $color
|
42
|
+
border-color: $color
|
43
|
+
color: $color-invert
|
44
|
+
// Modifiers
|
45
|
+
&.is-narrow
|
46
|
+
white-space: nowrap
|
47
|
+
width: 1%
|
48
|
+
&.is-selected
|
49
|
+
background-color: $table-row-active-background-color
|
50
|
+
color: $table-row-active-color
|
51
|
+
a,
|
52
|
+
strong
|
53
|
+
color: currentColor
|
54
|
+
&.is-vcentered
|
55
|
+
vertical-align: middle
|
56
|
+
th
|
57
|
+
color: $table-cell-heading-color
|
58
|
+
&:not([align])
|
59
|
+
text-align: inherit
|
60
|
+
tr
|
61
|
+
&.is-selected
|
62
|
+
background-color: $table-row-active-background-color
|
63
|
+
color: $table-row-active-color
|
64
|
+
a,
|
65
|
+
strong
|
66
|
+
color: currentColor
|
67
|
+
td,
|
68
|
+
th
|
69
|
+
border-color: $table-row-active-color
|
70
|
+
color: currentColor
|
71
|
+
thead
|
72
|
+
background-color: $table-head-background-color
|
73
|
+
td,
|
74
|
+
th
|
75
|
+
border-width: $table-head-cell-border-width
|
76
|
+
color: $table-head-cell-color
|
77
|
+
tfoot
|
78
|
+
background-color: $table-foot-background-color
|
79
|
+
td,
|
80
|
+
th
|
81
|
+
border-width: $table-foot-cell-border-width
|
82
|
+
color: $table-foot-cell-color
|
83
|
+
tbody
|
84
|
+
background-color: $table-body-background-color
|
85
|
+
tr
|
86
|
+
&:last-child
|
87
|
+
td,
|
88
|
+
th
|
89
|
+
border-bottom-width: 0
|
90
|
+
// Modifiers
|
91
|
+
&.is-bordered
|
92
|
+
td,
|
93
|
+
th
|
94
|
+
border-width: 1px
|
95
|
+
tr
|
96
|
+
&:last-child
|
97
|
+
td,
|
98
|
+
th
|
99
|
+
border-bottom-width: 1px
|
100
|
+
&.is-fullwidth
|
101
|
+
width: 100%
|
102
|
+
&.is-hoverable
|
103
|
+
tbody
|
104
|
+
tr:not(.is-selected)
|
105
|
+
&:hover
|
106
|
+
background-color: $table-row-hover-background-color
|
107
|
+
&.is-striped
|
108
|
+
tbody
|
109
|
+
tr:not(.is-selected)
|
110
|
+
&:hover
|
111
|
+
background-color: $table-row-hover-background-color
|
112
|
+
&:nth-child(even)
|
113
|
+
background-color: $table-striped-row-even-hover-background-color
|
114
|
+
&.is-narrow
|
115
|
+
td,
|
116
|
+
th
|
117
|
+
padding: 0.25em 0.5em
|
118
|
+
&.is-striped
|
119
|
+
tbody
|
120
|
+
tr:not(.is-selected)
|
121
|
+
&:nth-child(even)
|
122
|
+
background-color: $table-striped-row-even-background-color
|
123
|
+
|
124
|
+
.table-container
|
125
|
+
@extend %block
|
126
|
+
+overflow-touch
|
127
|
+
overflow: auto
|
128
|
+
overflow-y: hidden
|
129
|
+
max-width: 100%
|