vitrina 0.2.4 → 0.3.1
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 +42 -0
- data/.gitignore +7 -0
- data/.travis.yml +6 -0
- data/404.md +5 -0
- data/CHANGELOG.md +88 -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 +63 -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 +8 -0
- data/_projects/Mood.md +5 -0
- data/_projects/Take.md +8 -0
- data/_projects/Think.md +8 -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 +501 -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/favicon.ico +0 -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 +1 -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 +24 -0
- metadata +201 -4
@@ -0,0 +1,119 @@
|
|
1
|
+
$panel-margin: $block-spacing !default
|
2
|
+
$panel-item-border: 1px solid $border-light !default
|
3
|
+
$panel-radius: $radius-large !default
|
4
|
+
$panel-shadow: 0 0.5em 1em -0.125em rgba($scheme-invert, 0.1), 0 0px 0 1px rgba($scheme-invert, 0.02) !default
|
5
|
+
|
6
|
+
$panel-heading-background-color: $border-light !default
|
7
|
+
$panel-heading-color: $text-strong !default
|
8
|
+
$panel-heading-line-height: 1.25 !default
|
9
|
+
$panel-heading-padding: 0.75em 1em !default
|
10
|
+
$panel-heading-radius: $radius !default
|
11
|
+
$panel-heading-size: 1.25em !default
|
12
|
+
$panel-heading-weight: $weight-bold !default
|
13
|
+
|
14
|
+
$panel-tabs-font-size: 0.875em !default
|
15
|
+
$panel-tab-border-bottom: 1px solid $border !default
|
16
|
+
$panel-tab-active-border-bottom-color: $link-active-border !default
|
17
|
+
$panel-tab-active-color: $link-active !default
|
18
|
+
|
19
|
+
$panel-list-item-color: $text !default
|
20
|
+
$panel-list-item-hover-color: $link !default
|
21
|
+
|
22
|
+
$panel-block-color: $text-strong !default
|
23
|
+
$panel-block-hover-background-color: $background !default
|
24
|
+
$panel-block-active-border-left-color: $link !default
|
25
|
+
$panel-block-active-color: $link-active !default
|
26
|
+
$panel-block-active-icon-color: $link !default
|
27
|
+
|
28
|
+
$panel-icon-color: $text-light !default
|
29
|
+
$panel-colors: $colors !default
|
30
|
+
|
31
|
+
.panel
|
32
|
+
border-radius: $panel-radius
|
33
|
+
box-shadow: $panel-shadow
|
34
|
+
font-size: $size-normal
|
35
|
+
&:not(:last-child)
|
36
|
+
margin-bottom: $panel-margin
|
37
|
+
// Colors
|
38
|
+
@each $name, $components in $panel-colors
|
39
|
+
$color: nth($components, 1)
|
40
|
+
$color-invert: nth($components, 2)
|
41
|
+
&.is-#{$name}
|
42
|
+
.panel-heading
|
43
|
+
background-color: $color
|
44
|
+
color: $color-invert
|
45
|
+
.panel-tabs a.is-active
|
46
|
+
border-bottom-color: $color
|
47
|
+
.panel-block.is-active .panel-icon
|
48
|
+
color: $color
|
49
|
+
|
50
|
+
.panel-tabs,
|
51
|
+
.panel-block
|
52
|
+
&:not(:last-child)
|
53
|
+
border-bottom: $panel-item-border
|
54
|
+
|
55
|
+
.panel-heading
|
56
|
+
background-color: $panel-heading-background-color
|
57
|
+
border-radius: $panel-radius $panel-radius 0 0
|
58
|
+
color: $panel-heading-color
|
59
|
+
font-size: $panel-heading-size
|
60
|
+
font-weight: $panel-heading-weight
|
61
|
+
line-height: $panel-heading-line-height
|
62
|
+
padding: $panel-heading-padding
|
63
|
+
|
64
|
+
.panel-tabs
|
65
|
+
align-items: flex-end
|
66
|
+
display: flex
|
67
|
+
font-size: $panel-tabs-font-size
|
68
|
+
justify-content: center
|
69
|
+
a
|
70
|
+
border-bottom: $panel-tab-border-bottom
|
71
|
+
margin-bottom: -1px
|
72
|
+
padding: 0.5em
|
73
|
+
// Modifiers
|
74
|
+
&.is-active
|
75
|
+
border-bottom-color: $panel-tab-active-border-bottom-color
|
76
|
+
color: $panel-tab-active-color
|
77
|
+
|
78
|
+
.panel-list
|
79
|
+
a
|
80
|
+
color: $panel-list-item-color
|
81
|
+
&:hover
|
82
|
+
color: $panel-list-item-hover-color
|
83
|
+
|
84
|
+
.panel-block
|
85
|
+
align-items: center
|
86
|
+
color: $panel-block-color
|
87
|
+
display: flex
|
88
|
+
justify-content: flex-start
|
89
|
+
padding: 0.5em 0.75em
|
90
|
+
input[type="checkbox"]
|
91
|
+
+ltr-property("margin", 0.75em)
|
92
|
+
& > .control
|
93
|
+
flex-grow: 1
|
94
|
+
flex-shrink: 1
|
95
|
+
width: 100%
|
96
|
+
&.is-wrapped
|
97
|
+
flex-wrap: wrap
|
98
|
+
&.is-active
|
99
|
+
border-left-color: $panel-block-active-border-left-color
|
100
|
+
color: $panel-block-active-color
|
101
|
+
.panel-icon
|
102
|
+
color: $panel-block-active-icon-color
|
103
|
+
&:last-child
|
104
|
+
border-bottom-left-radius: $panel-radius
|
105
|
+
border-bottom-right-radius: $panel-radius
|
106
|
+
|
107
|
+
a.panel-block,
|
108
|
+
label.panel-block
|
109
|
+
cursor: pointer
|
110
|
+
&:hover
|
111
|
+
background-color: $panel-block-hover-background-color
|
112
|
+
|
113
|
+
.panel-icon
|
114
|
+
+fa(14px, 1em)
|
115
|
+
color: $panel-icon-color
|
116
|
+
+ltr-property("margin", 0.75em)
|
117
|
+
.fa
|
118
|
+
font-size: inherit
|
119
|
+
line-height: inherit
|
@@ -0,0 +1,174 @@
|
|
1
|
+
$tabs-border-bottom-color: $border !default
|
2
|
+
$tabs-border-bottom-style: solid !default
|
3
|
+
$tabs-border-bottom-width: 1px !default
|
4
|
+
$tabs-link-color: $text !default
|
5
|
+
$tabs-link-hover-border-bottom-color: $text-strong !default
|
6
|
+
$tabs-link-hover-color: $text-strong !default
|
7
|
+
$tabs-link-active-border-bottom-color: $link !default
|
8
|
+
$tabs-link-active-color: $link !default
|
9
|
+
$tabs-link-padding: 0.5em 1em !default
|
10
|
+
|
11
|
+
$tabs-boxed-link-radius: $radius !default
|
12
|
+
$tabs-boxed-link-hover-background-color: $background !default
|
13
|
+
$tabs-boxed-link-hover-border-bottom-color: $border !default
|
14
|
+
|
15
|
+
$tabs-boxed-link-active-background-color: $scheme-main !default
|
16
|
+
$tabs-boxed-link-active-border-color: $border !default
|
17
|
+
$tabs-boxed-link-active-border-bottom-color: transparent !default
|
18
|
+
|
19
|
+
$tabs-toggle-link-border-color: $border !default
|
20
|
+
$tabs-toggle-link-border-style: solid !default
|
21
|
+
$tabs-toggle-link-border-width: 1px !default
|
22
|
+
$tabs-toggle-link-hover-background-color: $background !default
|
23
|
+
$tabs-toggle-link-hover-border-color: $border-hover !default
|
24
|
+
$tabs-toggle-link-radius: $radius !default
|
25
|
+
$tabs-toggle-link-active-background-color: $link !default
|
26
|
+
$tabs-toggle-link-active-border-color: $link !default
|
27
|
+
$tabs-toggle-link-active-color: $link-invert !default
|
28
|
+
|
29
|
+
.tabs
|
30
|
+
@extend %block
|
31
|
+
+overflow-touch
|
32
|
+
@extend %unselectable
|
33
|
+
align-items: stretch
|
34
|
+
display: flex
|
35
|
+
font-size: $size-normal
|
36
|
+
justify-content: space-between
|
37
|
+
overflow: hidden
|
38
|
+
overflow-x: auto
|
39
|
+
white-space: nowrap
|
40
|
+
a
|
41
|
+
align-items: center
|
42
|
+
border-bottom-color: $tabs-border-bottom-color
|
43
|
+
border-bottom-style: $tabs-border-bottom-style
|
44
|
+
border-bottom-width: $tabs-border-bottom-width
|
45
|
+
color: $tabs-link-color
|
46
|
+
display: flex
|
47
|
+
justify-content: center
|
48
|
+
margin-bottom: -#{$tabs-border-bottom-width}
|
49
|
+
padding: $tabs-link-padding
|
50
|
+
vertical-align: top
|
51
|
+
&:hover
|
52
|
+
border-bottom-color: $tabs-link-hover-border-bottom-color
|
53
|
+
color: $tabs-link-hover-color
|
54
|
+
li
|
55
|
+
display: block
|
56
|
+
&.is-active
|
57
|
+
a
|
58
|
+
border-bottom-color: $tabs-link-active-border-bottom-color
|
59
|
+
color: $tabs-link-active-color
|
60
|
+
ul
|
61
|
+
align-items: center
|
62
|
+
border-bottom-color: $tabs-border-bottom-color
|
63
|
+
border-bottom-style: $tabs-border-bottom-style
|
64
|
+
border-bottom-width: $tabs-border-bottom-width
|
65
|
+
display: flex
|
66
|
+
flex-grow: 1
|
67
|
+
flex-shrink: 0
|
68
|
+
justify-content: flex-start
|
69
|
+
&.is-left
|
70
|
+
padding-right: 0.75em
|
71
|
+
&.is-center
|
72
|
+
flex: none
|
73
|
+
justify-content: center
|
74
|
+
padding-left: 0.75em
|
75
|
+
padding-right: 0.75em
|
76
|
+
&.is-right
|
77
|
+
justify-content: flex-end
|
78
|
+
padding-left: 0.75em
|
79
|
+
.icon
|
80
|
+
&:first-child
|
81
|
+
+ltr-property("margin", 0.5em)
|
82
|
+
&:last-child
|
83
|
+
+ltr-property("margin", 0.5em, false)
|
84
|
+
// Alignment
|
85
|
+
&.is-centered
|
86
|
+
ul
|
87
|
+
justify-content: center
|
88
|
+
&.is-right
|
89
|
+
ul
|
90
|
+
justify-content: flex-end
|
91
|
+
// Styles
|
92
|
+
&.is-boxed
|
93
|
+
a
|
94
|
+
border: 1px solid transparent
|
95
|
+
+ltr
|
96
|
+
border-radius: $tabs-boxed-link-radius $tabs-boxed-link-radius 0 0
|
97
|
+
+rtl
|
98
|
+
border-radius: 0 0 $tabs-boxed-link-radius $tabs-boxed-link-radius
|
99
|
+
&:hover
|
100
|
+
background-color: $tabs-boxed-link-hover-background-color
|
101
|
+
border-bottom-color: $tabs-boxed-link-hover-border-bottom-color
|
102
|
+
li
|
103
|
+
&.is-active
|
104
|
+
a
|
105
|
+
background-color: $tabs-boxed-link-active-background-color
|
106
|
+
border-color: $tabs-boxed-link-active-border-color
|
107
|
+
border-bottom-color: $tabs-boxed-link-active-border-bottom-color !important
|
108
|
+
&.is-fullwidth
|
109
|
+
li
|
110
|
+
flex-grow: 1
|
111
|
+
flex-shrink: 0
|
112
|
+
&.is-toggle
|
113
|
+
a
|
114
|
+
border-color: $tabs-toggle-link-border-color
|
115
|
+
border-style: $tabs-toggle-link-border-style
|
116
|
+
border-width: $tabs-toggle-link-border-width
|
117
|
+
margin-bottom: 0
|
118
|
+
position: relative
|
119
|
+
&:hover
|
120
|
+
background-color: $tabs-toggle-link-hover-background-color
|
121
|
+
border-color: $tabs-toggle-link-hover-border-color
|
122
|
+
z-index: 2
|
123
|
+
li
|
124
|
+
& + li
|
125
|
+
+ltr-property("margin", -#{$tabs-toggle-link-border-width}, false)
|
126
|
+
&:first-child a
|
127
|
+
+ltr
|
128
|
+
border-top-left-radius: $tabs-toggle-link-radius
|
129
|
+
border-bottom-left-radius: $tabs-toggle-link-radius
|
130
|
+
+rtl
|
131
|
+
border-top-right-radius: $tabs-toggle-link-radius
|
132
|
+
border-bottom-right-radius: $tabs-toggle-link-radius
|
133
|
+
&:last-child a
|
134
|
+
+ltr
|
135
|
+
border-top-right-radius: $tabs-toggle-link-radius
|
136
|
+
border-bottom-right-radius: $tabs-toggle-link-radius
|
137
|
+
+rtl
|
138
|
+
border-top-left-radius: $tabs-toggle-link-radius
|
139
|
+
border-bottom-left-radius: $tabs-toggle-link-radius
|
140
|
+
&.is-active
|
141
|
+
a
|
142
|
+
background-color: $tabs-toggle-link-active-background-color
|
143
|
+
border-color: $tabs-toggle-link-active-border-color
|
144
|
+
color: $tabs-toggle-link-active-color
|
145
|
+
z-index: 1
|
146
|
+
ul
|
147
|
+
border-bottom: none
|
148
|
+
&.is-toggle-rounded
|
149
|
+
li
|
150
|
+
&:first-child a
|
151
|
+
+ltr
|
152
|
+
border-bottom-left-radius: $radius-rounded
|
153
|
+
border-top-left-radius: $radius-rounded
|
154
|
+
padding-left: 1.25em
|
155
|
+
+rtl
|
156
|
+
border-bottom-right-radius: $radius-rounded
|
157
|
+
border-top-right-radius: $radius-rounded
|
158
|
+
padding-right: 1.25em
|
159
|
+
&:last-child a
|
160
|
+
+ltr
|
161
|
+
border-bottom-right-radius: $radius-rounded
|
162
|
+
border-top-right-radius: $radius-rounded
|
163
|
+
padding-right: 1.25em
|
164
|
+
+rtl
|
165
|
+
border-bottom-left-radius: $radius-rounded
|
166
|
+
border-top-left-radius: $radius-rounded
|
167
|
+
padding-left: 1.25em
|
168
|
+
// Sizes
|
169
|
+
&.is-small
|
170
|
+
font-size: $size-small
|
171
|
+
&.is-medium
|
172
|
+
font-size: $size-medium
|
173
|
+
&.is-large
|
174
|
+
font-size: $size-large
|
@@ -0,0 +1,15 @@
|
|
1
|
+
@charset "utf-8"
|
2
|
+
|
3
|
+
@import "box.sass"
|
4
|
+
@import "button.sass"
|
5
|
+
@import "container.sass"
|
6
|
+
@import "content.sass"
|
7
|
+
@import "icon.sass"
|
8
|
+
@import "image.sass"
|
9
|
+
@import "notification.sass"
|
10
|
+
@import "progress.sass"
|
11
|
+
@import "table.sass"
|
12
|
+
@import "tag.sass"
|
13
|
+
@import "title.sass"
|
14
|
+
|
15
|
+
@import "other.sass"
|
@@ -0,0 +1,24 @@
|
|
1
|
+
$box-color: $text !default
|
2
|
+
$box-background-color: $scheme-main !default
|
3
|
+
$box-radius: $radius-large !default
|
4
|
+
$box-shadow: 0 0.5em 1em -0.125em rgba($scheme-invert, 0.1), 0 0px 0 1px rgba($scheme-invert, 0.02) !default
|
5
|
+
$box-padding: 1.25rem !default
|
6
|
+
|
7
|
+
$box-link-hover-shadow: 0 0.5em 1em -0.125em rgba($scheme-invert, 0.1), 0 0 0 1px $link !default
|
8
|
+
$box-link-active-shadow: inset 0 1px 2px rgba($scheme-invert, 0.2), 0 0 0 1px $link !default
|
9
|
+
|
10
|
+
.box
|
11
|
+
@extend %block
|
12
|
+
background-color: $box-background-color
|
13
|
+
border-radius: $box-radius
|
14
|
+
box-shadow: $box-shadow
|
15
|
+
color: $box-color
|
16
|
+
display: block
|
17
|
+
padding: $box-padding
|
18
|
+
|
19
|
+
a.box
|
20
|
+
&:hover,
|
21
|
+
&:focus
|
22
|
+
box-shadow: $box-link-hover-shadow
|
23
|
+
&:active
|
24
|
+
box-shadow: $box-link-active-shadow
|
@@ -0,0 +1,323 @@
|
|
1
|
+
$button-color: $text-strong !default
|
2
|
+
$button-background-color: $scheme-main !default
|
3
|
+
$button-family: false !default
|
4
|
+
|
5
|
+
$button-border-color: $border !default
|
6
|
+
$button-border-width: $control-border-width !default
|
7
|
+
|
8
|
+
$button-padding-vertical: calc(0.5em - #{$button-border-width}) !default
|
9
|
+
$button-padding-horizontal: 1em !default
|
10
|
+
|
11
|
+
$button-hover-color: $link-hover !default
|
12
|
+
$button-hover-border-color: $link-hover-border !default
|
13
|
+
|
14
|
+
$button-focus-color: $link-focus !default
|
15
|
+
$button-focus-border-color: $link-focus-border !default
|
16
|
+
$button-focus-box-shadow-size: 0 0 0 0.125em !default
|
17
|
+
$button-focus-box-shadow-color: bulmaRgba($link, 0.25) !default
|
18
|
+
|
19
|
+
$button-active-color: $link-active !default
|
20
|
+
$button-active-border-color: $link-active-border !default
|
21
|
+
|
22
|
+
$button-text-color: $text !default
|
23
|
+
$button-text-decoration: underline !default
|
24
|
+
$button-text-hover-background-color: $background !default
|
25
|
+
$button-text-hover-color: $text-strong !default
|
26
|
+
|
27
|
+
$button-disabled-background-color: $scheme-main !default
|
28
|
+
$button-disabled-border-color: $border !default
|
29
|
+
$button-disabled-shadow: none !default
|
30
|
+
$button-disabled-opacity: 0.5 !default
|
31
|
+
|
32
|
+
$button-static-color: $text-light !default
|
33
|
+
$button-static-background-color: $scheme-main-ter !default
|
34
|
+
$button-static-border-color: $border !default
|
35
|
+
|
36
|
+
// The button sizes use mixins so they can be used at different breakpoints
|
37
|
+
=button-small
|
38
|
+
border-radius: $radius-small
|
39
|
+
font-size: $size-small
|
40
|
+
=button-normal
|
41
|
+
font-size: $size-normal
|
42
|
+
=button-medium
|
43
|
+
font-size: $size-medium
|
44
|
+
=button-large
|
45
|
+
font-size: $size-large
|
46
|
+
|
47
|
+
.button
|
48
|
+
@extend %control
|
49
|
+
@extend %unselectable
|
50
|
+
background-color: $button-background-color
|
51
|
+
border-color: $button-border-color
|
52
|
+
border-width: $button-border-width
|
53
|
+
color: $button-color
|
54
|
+
cursor: pointer
|
55
|
+
@if $button-family
|
56
|
+
font-family: $button-family
|
57
|
+
justify-content: center
|
58
|
+
padding-bottom: $button-padding-vertical
|
59
|
+
padding-left: $button-padding-horizontal
|
60
|
+
padding-right: $button-padding-horizontal
|
61
|
+
padding-top: $button-padding-vertical
|
62
|
+
text-align: center
|
63
|
+
white-space: nowrap
|
64
|
+
strong
|
65
|
+
color: inherit
|
66
|
+
.icon
|
67
|
+
&,
|
68
|
+
&.is-small,
|
69
|
+
&.is-medium,
|
70
|
+
&.is-large
|
71
|
+
height: 1.5em
|
72
|
+
width: 1.5em
|
73
|
+
&:first-child:not(:last-child)
|
74
|
+
+ltr-property("margin", calc(#{-1 / 2 * $button-padding-horizontal} - #{$button-border-width}), false)
|
75
|
+
+ltr-property("margin", $button-padding-horizontal / 4)
|
76
|
+
&:last-child:not(:first-child)
|
77
|
+
+ltr-property("margin", $button-padding-horizontal / 4, false)
|
78
|
+
+ltr-property("margin", calc(#{-1 / 2 * $button-padding-horizontal} - #{$button-border-width}))
|
79
|
+
&:first-child:last-child
|
80
|
+
margin-left: calc(#{-1 / 2 * $button-padding-horizontal} - #{$button-border-width})
|
81
|
+
margin-right: calc(#{-1 / 2 * $button-padding-horizontal} - #{$button-border-width})
|
82
|
+
// States
|
83
|
+
&:hover,
|
84
|
+
&.is-hovered
|
85
|
+
border-color: $button-hover-border-color
|
86
|
+
color: $button-hover-color
|
87
|
+
&:focus,
|
88
|
+
&.is-focused
|
89
|
+
border-color: $button-focus-border-color
|
90
|
+
color: $button-focus-color
|
91
|
+
&:not(:active)
|
92
|
+
box-shadow: $button-focus-box-shadow-size $button-focus-box-shadow-color
|
93
|
+
&:active,
|
94
|
+
&.is-active
|
95
|
+
border-color: $button-active-border-color
|
96
|
+
color: $button-active-color
|
97
|
+
// Colors
|
98
|
+
&.is-text
|
99
|
+
background-color: transparent
|
100
|
+
border-color: transparent
|
101
|
+
color: $button-text-color
|
102
|
+
text-decoration: $button-text-decoration
|
103
|
+
&:hover,
|
104
|
+
&.is-hovered,
|
105
|
+
&:focus,
|
106
|
+
&.is-focused
|
107
|
+
background-color: $button-text-hover-background-color
|
108
|
+
color: $button-text-hover-color
|
109
|
+
&:active,
|
110
|
+
&.is-active
|
111
|
+
background-color: bulmaDarken($button-text-hover-background-color, 5%)
|
112
|
+
color: $button-text-hover-color
|
113
|
+
&[disabled],
|
114
|
+
fieldset[disabled] &
|
115
|
+
background-color: transparent
|
116
|
+
border-color: transparent
|
117
|
+
box-shadow: none
|
118
|
+
@each $name, $pair in $colors
|
119
|
+
$color: nth($pair, 1)
|
120
|
+
$color-invert: nth($pair, 2)
|
121
|
+
&.is-#{$name}
|
122
|
+
background-color: $color
|
123
|
+
border-color: transparent
|
124
|
+
color: $color-invert
|
125
|
+
&:hover,
|
126
|
+
&.is-hovered
|
127
|
+
background-color: bulmaDarken($color, 2.5%)
|
128
|
+
border-color: transparent
|
129
|
+
color: $color-invert
|
130
|
+
&:focus,
|
131
|
+
&.is-focused
|
132
|
+
border-color: transparent
|
133
|
+
color: $color-invert
|
134
|
+
&:not(:active)
|
135
|
+
box-shadow: $button-focus-box-shadow-size bulmaRgba($color, 0.25)
|
136
|
+
&:active,
|
137
|
+
&.is-active
|
138
|
+
background-color: bulmaDarken($color, 5%)
|
139
|
+
border-color: transparent
|
140
|
+
color: $color-invert
|
141
|
+
&[disabled],
|
142
|
+
fieldset[disabled] &
|
143
|
+
background-color: $color
|
144
|
+
border-color: transparent
|
145
|
+
box-shadow: none
|
146
|
+
&.is-inverted
|
147
|
+
background-color: $color-invert
|
148
|
+
color: $color
|
149
|
+
&:hover,
|
150
|
+
&.is-hovered
|
151
|
+
background-color: bulmaDarken($color-invert, 5%)
|
152
|
+
&[disabled],
|
153
|
+
fieldset[disabled] &
|
154
|
+
background-color: $color-invert
|
155
|
+
border-color: transparent
|
156
|
+
box-shadow: none
|
157
|
+
color: $color
|
158
|
+
&.is-loading
|
159
|
+
&::after
|
160
|
+
border-color: transparent transparent $color-invert $color-invert !important
|
161
|
+
&.is-outlined
|
162
|
+
background-color: transparent
|
163
|
+
border-color: $color
|
164
|
+
color: $color
|
165
|
+
&:hover,
|
166
|
+
&.is-hovered,
|
167
|
+
&:focus,
|
168
|
+
&.is-focused
|
169
|
+
background-color: $color
|
170
|
+
border-color: $color
|
171
|
+
color: $color-invert
|
172
|
+
&.is-loading
|
173
|
+
&::after
|
174
|
+
border-color: transparent transparent $color $color !important
|
175
|
+
&:hover,
|
176
|
+
&.is-hovered,
|
177
|
+
&:focus,
|
178
|
+
&.is-focused
|
179
|
+
&::after
|
180
|
+
border-color: transparent transparent $color-invert $color-invert !important
|
181
|
+
&[disabled],
|
182
|
+
fieldset[disabled] &
|
183
|
+
background-color: transparent
|
184
|
+
border-color: $color
|
185
|
+
box-shadow: none
|
186
|
+
color: $color
|
187
|
+
&.is-inverted.is-outlined
|
188
|
+
background-color: transparent
|
189
|
+
border-color: $color-invert
|
190
|
+
color: $color-invert
|
191
|
+
&:hover,
|
192
|
+
&.is-hovered,
|
193
|
+
&:focus,
|
194
|
+
&.is-focused
|
195
|
+
background-color: $color-invert
|
196
|
+
color: $color
|
197
|
+
&.is-loading
|
198
|
+
&:hover,
|
199
|
+
&.is-hovered,
|
200
|
+
&:focus,
|
201
|
+
&.is-focused
|
202
|
+
&::after
|
203
|
+
border-color: transparent transparent $color $color !important
|
204
|
+
&[disabled],
|
205
|
+
fieldset[disabled] &
|
206
|
+
background-color: transparent
|
207
|
+
border-color: $color-invert
|
208
|
+
box-shadow: none
|
209
|
+
color: $color-invert
|
210
|
+
// If light and dark colors are provided
|
211
|
+
@if length($pair) >= 4
|
212
|
+
$color-light: nth($pair, 3)
|
213
|
+
$color-dark: nth($pair, 4)
|
214
|
+
&.is-light
|
215
|
+
background-color: $color-light
|
216
|
+
color: $color-dark
|
217
|
+
&:hover,
|
218
|
+
&.is-hovered
|
219
|
+
background-color: bulmaDarken($color-light, 2.5%)
|
220
|
+
border-color: transparent
|
221
|
+
color: $color-dark
|
222
|
+
&:active,
|
223
|
+
&.is-active
|
224
|
+
background-color: bulmaDarken($color-light, 5%)
|
225
|
+
border-color: transparent
|
226
|
+
color: $color-dark
|
227
|
+
// Sizes
|
228
|
+
&.is-small
|
229
|
+
+button-small
|
230
|
+
&.is-normal
|
231
|
+
+button-normal
|
232
|
+
&.is-medium
|
233
|
+
+button-medium
|
234
|
+
&.is-large
|
235
|
+
+button-large
|
236
|
+
// Modifiers
|
237
|
+
&[disabled],
|
238
|
+
fieldset[disabled] &
|
239
|
+
background-color: $button-disabled-background-color
|
240
|
+
border-color: $button-disabled-border-color
|
241
|
+
box-shadow: $button-disabled-shadow
|
242
|
+
opacity: $button-disabled-opacity
|
243
|
+
&.is-fullwidth
|
244
|
+
display: flex
|
245
|
+
width: 100%
|
246
|
+
&.is-loading
|
247
|
+
color: transparent !important
|
248
|
+
pointer-events: none
|
249
|
+
&::after
|
250
|
+
@extend %loader
|
251
|
+
+center(1em)
|
252
|
+
position: absolute !important
|
253
|
+
&.is-static
|
254
|
+
background-color: $button-static-background-color
|
255
|
+
border-color: $button-static-border-color
|
256
|
+
color: $button-static-color
|
257
|
+
box-shadow: none
|
258
|
+
pointer-events: none
|
259
|
+
&.is-rounded
|
260
|
+
border-radius: $radius-rounded
|
261
|
+
padding-left: calc(#{$button-padding-horizontal} + 0.25em)
|
262
|
+
padding-right: calc(#{$button-padding-horizontal} + 0.25em)
|
263
|
+
|
264
|
+
.buttons
|
265
|
+
align-items: center
|
266
|
+
display: flex
|
267
|
+
flex-wrap: wrap
|
268
|
+
justify-content: flex-start
|
269
|
+
.button
|
270
|
+
margin-bottom: 0.5rem
|
271
|
+
&:not(:last-child):not(.is-fullwidth)
|
272
|
+
+ltr-property("margin", 0.5rem)
|
273
|
+
&:last-child
|
274
|
+
margin-bottom: -0.5rem
|
275
|
+
&:not(:last-child)
|
276
|
+
margin-bottom: 1rem
|
277
|
+
// Sizes
|
278
|
+
&.are-small
|
279
|
+
.button:not(.is-normal):not(.is-medium):not(.is-large)
|
280
|
+
+button-small
|
281
|
+
&.are-medium
|
282
|
+
.button:not(.is-small):not(.is-normal):not(.is-large)
|
283
|
+
+button-medium
|
284
|
+
&.are-large
|
285
|
+
.button:not(.is-small):not(.is-normal):not(.is-medium)
|
286
|
+
+button-large
|
287
|
+
&.has-addons
|
288
|
+
.button
|
289
|
+
&:not(:first-child)
|
290
|
+
border-bottom-left-radius: 0
|
291
|
+
border-top-left-radius: 0
|
292
|
+
&:not(:last-child)
|
293
|
+
border-bottom-right-radius: 0
|
294
|
+
border-top-right-radius: 0
|
295
|
+
+ltr-property("margin", -1px)
|
296
|
+
&:last-child
|
297
|
+
+ltr-property("margin", 0)
|
298
|
+
&:hover,
|
299
|
+
&.is-hovered
|
300
|
+
z-index: 2
|
301
|
+
&:focus,
|
302
|
+
&.is-focused,
|
303
|
+
&:active,
|
304
|
+
&.is-active,
|
305
|
+
&.is-selected
|
306
|
+
z-index: 3
|
307
|
+
&:hover
|
308
|
+
z-index: 4
|
309
|
+
&.is-expanded
|
310
|
+
flex-grow: 1
|
311
|
+
flex-shrink: 1
|
312
|
+
&.is-centered
|
313
|
+
justify-content: center
|
314
|
+
&:not(.has-addons)
|
315
|
+
.button:not(.is-fullwidth)
|
316
|
+
margin-left: 0.25rem
|
317
|
+
margin-right: 0.25rem
|
318
|
+
&.is-right
|
319
|
+
justify-content: flex-end
|
320
|
+
&:not(.has-addons)
|
321
|
+
.button:not(.is-fullwidth)
|
322
|
+
margin-left: 0.25rem
|
323
|
+
margin-right: 0.25rem
|