bulma-clean-theme 0.12 → 0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +10 -687
- data/_includes/head.html +1 -1
- data/_includes/header.html +1 -1
- data/_includes/image-modal.html +1 -1
- data/_includes/notification.html +2 -2
- data/node_modules/.package-lock.json +4 -9
- data/node_modules/bulma-block-list/changelog.txt +3 -0
- data/node_modules/bulma-block-list/docs/Gemfile +1 -1
- data/node_modules/bulma-block-list/docs/_data/menu.yaml +2 -0
- data/node_modules/bulma-block-list/docs/index.html +10 -2
- data/node_modules/bulma-block-list/package.json +3 -10
- data/package-lock.json +10 -22
- data/package.json +2 -2
- metadata +10 -65
- data/node_modules/bulma-block-list/node_modules/bulma/CHANGELOG.md +0 -1390
- data/node_modules/bulma-block-list/node_modules/bulma/LICENSE +0 -21
- data/node_modules/bulma-block-list/node_modules/bulma/README.md +0 -130
- data/node_modules/bulma-block-list/node_modules/bulma/bulma.sass +0 -9
- data/node_modules/bulma-block-list/node_modules/bulma/css/bulma.css +0 -10855
- data/node_modules/bulma-block-list/node_modules/bulma/css/bulma.css.map +0 -1
- data/node_modules/bulma-block-list/node_modules/bulma/css/bulma.min.css +0 -1
- data/node_modules/bulma-block-list/node_modules/bulma/package.json +0 -77
- data/node_modules/bulma-block-list/node_modules/bulma/sass/base/_all.sass +0 -5
- data/node_modules/bulma-block-list/node_modules/bulma/sass/base/generic.sass +0 -142
- data/node_modules/bulma-block-list/node_modules/bulma/sass/base/helpers.sass +0 -281
- data/node_modules/bulma-block-list/node_modules/bulma/sass/base/minireset.sass +0 -79
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/_all.sass +0 -15
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/breadcrumb.sass +0 -75
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/card.sass +0 -79
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/dropdown.sass +0 -81
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/level.sass +0 -77
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/list.sass +0 -39
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/media.sass +0 -50
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/menu.sass +0 -57
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/message.sass +0 -99
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/modal.sass +0 -113
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/navbar.sass +0 -441
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/pagination.sass +0 -150
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/panel.sass +0 -119
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/tabs.sass +0 -151
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/_all.sass +0 -15
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/box.sass +0 -24
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/button.sass +0 -323
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/container.sass +0 -24
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/content.sass +0 -155
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/form.sass +0 -1
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/icon.sass +0 -21
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/image.sass +0 -71
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/notification.sass +0 -43
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/other.sass +0 -39
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/progress.sass +0 -67
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/table.sass +0 -127
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/tag.sass +0 -128
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/title.sass +0 -70
- data/node_modules/bulma-block-list/node_modules/bulma/sass/form/_all.sass +0 -8
- data/node_modules/bulma-block-list/node_modules/bulma/sass/form/checkbox-radio.sass +0 -21
- data/node_modules/bulma-block-list/node_modules/bulma/sass/form/file.sass +0 -180
- data/node_modules/bulma-block-list/node_modules/bulma/sass/form/input-textarea.sass +0 -64
- data/node_modules/bulma-block-list/node_modules/bulma/sass/form/select.sass +0 -85
- data/node_modules/bulma-block-list/node_modules/bulma/sass/form/shared.sass +0 -55
- data/node_modules/bulma-block-list/node_modules/bulma/sass/form/tools.sass +0 -205
- data/node_modules/bulma-block-list/node_modules/bulma/sass/grid/_all.sass +0 -4
- data/node_modules/bulma-block-list/node_modules/bulma/sass/grid/columns.sass +0 -504
- data/node_modules/bulma-block-list/node_modules/bulma/sass/grid/tiles.sass +0 -34
- data/node_modules/bulma-block-list/node_modules/bulma/sass/layout/_all.sass +0 -5
- data/node_modules/bulma-block-list/node_modules/bulma/sass/layout/footer.sass +0 -9
- data/node_modules/bulma-block-list/node_modules/bulma/sass/layout/hero.sass +0 -145
- data/node_modules/bulma-block-list/node_modules/bulma/sass/layout/section.sass +0 -13
- data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/_all.sass +0 -8
- data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/animations.sass +0 -5
- data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/controls.sass +0 -50
- data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/derived-variables.sass +0 -106
- data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/functions.sass +0 -110
- data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/initial-variables.sass +0 -77
- data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/mixins.sass +0 -261
@@ -1,81 +0,0 @@
|
|
1
|
-
$dropdown-menu-min-width: 12rem !default
|
2
|
-
|
3
|
-
$dropdown-content-background-color: $scheme-main !default
|
4
|
-
$dropdown-content-arrow: $link !default
|
5
|
-
$dropdown-content-offset: 4px !default
|
6
|
-
$dropdown-content-padding-bottom: 0.5rem !default
|
7
|
-
$dropdown-content-padding-top: 0.5rem !default
|
8
|
-
$dropdown-content-radius: $radius !default
|
9
|
-
$dropdown-content-shadow: 0 0.5em 1em -0.125em rgba($scheme-invert, 0.1), 0 0px 0 1px rgba($scheme-invert, 0.02) !default
|
10
|
-
$dropdown-content-z: 20 !default
|
11
|
-
|
12
|
-
$dropdown-item-color: $text !default
|
13
|
-
$dropdown-item-hover-color: $scheme-invert !default
|
14
|
-
$dropdown-item-hover-background-color: $background !default
|
15
|
-
$dropdown-item-active-color: $link-invert !default
|
16
|
-
$dropdown-item-active-background-color: $link !default
|
17
|
-
|
18
|
-
$dropdown-divider-background-color: $border-light !default
|
19
|
-
|
20
|
-
.dropdown
|
21
|
-
display: inline-flex
|
22
|
-
position: relative
|
23
|
-
vertical-align: top
|
24
|
-
&.is-active,
|
25
|
-
&.is-hoverable:hover
|
26
|
-
.dropdown-menu
|
27
|
-
display: block
|
28
|
-
&.is-right
|
29
|
-
.dropdown-menu
|
30
|
-
left: auto
|
31
|
-
right: 0
|
32
|
-
&.is-up
|
33
|
-
.dropdown-menu
|
34
|
-
bottom: 100%
|
35
|
-
padding-bottom: $dropdown-content-offset
|
36
|
-
padding-top: initial
|
37
|
-
top: auto
|
38
|
-
|
39
|
-
.dropdown-menu
|
40
|
-
display: none
|
41
|
-
left: 0
|
42
|
-
min-width: $dropdown-menu-min-width
|
43
|
-
padding-top: $dropdown-content-offset
|
44
|
-
position: absolute
|
45
|
-
top: 100%
|
46
|
-
z-index: $dropdown-content-z
|
47
|
-
|
48
|
-
.dropdown-content
|
49
|
-
background-color: $dropdown-content-background-color
|
50
|
-
border-radius: $dropdown-content-radius
|
51
|
-
box-shadow: $dropdown-content-shadow
|
52
|
-
padding-bottom: $dropdown-content-padding-bottom
|
53
|
-
padding-top: $dropdown-content-padding-top
|
54
|
-
|
55
|
-
.dropdown-item
|
56
|
-
color: $dropdown-item-color
|
57
|
-
display: block
|
58
|
-
font-size: 0.875rem
|
59
|
-
line-height: 1.5
|
60
|
-
padding: 0.375rem 1rem
|
61
|
-
position: relative
|
62
|
-
|
63
|
-
a.dropdown-item,
|
64
|
-
button.dropdown-item
|
65
|
-
padding-right: 3rem
|
66
|
-
text-align: left
|
67
|
-
white-space: nowrap
|
68
|
-
width: 100%
|
69
|
-
&:hover
|
70
|
-
background-color: $dropdown-item-hover-background-color
|
71
|
-
color: $dropdown-item-hover-color
|
72
|
-
&.is-active
|
73
|
-
background-color: $dropdown-item-active-background-color
|
74
|
-
color: $dropdown-item-active-color
|
75
|
-
|
76
|
-
.dropdown-divider
|
77
|
-
background-color: $dropdown-divider-background-color
|
78
|
-
border: none
|
79
|
-
display: block
|
80
|
-
height: 1px
|
81
|
-
margin: 0.5rem 0
|
@@ -1,77 +0,0 @@
|
|
1
|
-
$level-item-spacing: ($block-spacing / 2) !default
|
2
|
-
|
3
|
-
.level
|
4
|
-
@extend %block
|
5
|
-
align-items: center
|
6
|
-
justify-content: space-between
|
7
|
-
code
|
8
|
-
border-radius: $radius
|
9
|
-
img
|
10
|
-
display: inline-block
|
11
|
-
vertical-align: top
|
12
|
-
// Modifiers
|
13
|
-
&.is-mobile
|
14
|
-
display: flex
|
15
|
-
.level-left,
|
16
|
-
.level-right
|
17
|
-
display: flex
|
18
|
-
.level-left + .level-right
|
19
|
-
margin-top: 0
|
20
|
-
.level-item
|
21
|
-
&:not(:last-child)
|
22
|
-
margin-bottom: 0
|
23
|
-
margin-right: $level-item-spacing
|
24
|
-
&:not(.is-narrow)
|
25
|
-
flex-grow: 1
|
26
|
-
// Responsiveness
|
27
|
-
+tablet
|
28
|
-
display: flex
|
29
|
-
& > .level-item
|
30
|
-
&:not(.is-narrow)
|
31
|
-
flex-grow: 1
|
32
|
-
|
33
|
-
.level-item
|
34
|
-
align-items: center
|
35
|
-
display: flex
|
36
|
-
flex-basis: auto
|
37
|
-
flex-grow: 0
|
38
|
-
flex-shrink: 0
|
39
|
-
justify-content: center
|
40
|
-
.title,
|
41
|
-
.subtitle
|
42
|
-
margin-bottom: 0
|
43
|
-
// Responsiveness
|
44
|
-
+mobile
|
45
|
-
&:not(:last-child)
|
46
|
-
margin-bottom: $level-item-spacing
|
47
|
-
|
48
|
-
.level-left,
|
49
|
-
.level-right
|
50
|
-
flex-basis: auto
|
51
|
-
flex-grow: 0
|
52
|
-
flex-shrink: 0
|
53
|
-
.level-item
|
54
|
-
// Modifiers
|
55
|
-
&.is-flexible
|
56
|
-
flex-grow: 1
|
57
|
-
// Responsiveness
|
58
|
-
+tablet
|
59
|
-
&:not(:last-child)
|
60
|
-
margin-right: $level-item-spacing
|
61
|
-
|
62
|
-
.level-left
|
63
|
-
align-items: center
|
64
|
-
justify-content: flex-start
|
65
|
-
// Responsiveness
|
66
|
-
+mobile
|
67
|
-
& + .level-right
|
68
|
-
margin-top: 1.5rem
|
69
|
-
+tablet
|
70
|
-
display: flex
|
71
|
-
|
72
|
-
.level-right
|
73
|
-
align-items: center
|
74
|
-
justify-content: flex-end
|
75
|
-
// Responsiveness
|
76
|
-
+tablet
|
77
|
-
display: flex
|
@@ -1,39 +0,0 @@
|
|
1
|
-
$list-background-color: $scheme-main !default
|
2
|
-
$list-shadow: 0 2px 3px rgba($scheme-invert, 0.1), 0 0 0 1px rgba($scheme-invert, 0.1) !default
|
3
|
-
$list-radius: $radius !default
|
4
|
-
|
5
|
-
$list-item-border: 1px solid $border !default
|
6
|
-
$list-item-color: $text !default
|
7
|
-
$list-item-active-background-color: $link !default
|
8
|
-
$list-item-active-color: $link-invert !default
|
9
|
-
$list-item-hover-background-color: $background !default
|
10
|
-
|
11
|
-
.list
|
12
|
-
@extend %block
|
13
|
-
background-color: $list-background-color
|
14
|
-
border-radius: $list-radius
|
15
|
-
box-shadow: $list-shadow
|
16
|
-
// &.is-hoverable > .list-item:hover:not(.is-active)
|
17
|
-
// background-color: $list-item-hover-background-color
|
18
|
-
// cursor: pointer
|
19
|
-
|
20
|
-
.list-item
|
21
|
-
display: block
|
22
|
-
padding: 0.5em 1em
|
23
|
-
&:not(a)
|
24
|
-
color: $list-item-color
|
25
|
-
&:first-child
|
26
|
-
border-top-left-radius: $list-radius
|
27
|
-
border-top-right-radius: $list-radius
|
28
|
-
&:last-child
|
29
|
-
border-bottom-left-radius: $list-radius
|
30
|
-
border-bottom-right-radius: $list-radius
|
31
|
-
&:not(:last-child)
|
32
|
-
border-bottom: $list-item-border
|
33
|
-
&.is-active
|
34
|
-
background-color: $list-item-active-background-color
|
35
|
-
color: $list-item-active-color
|
36
|
-
|
37
|
-
a.list-item
|
38
|
-
background-color: $list-item-hover-background-color
|
39
|
-
cursor: pointer
|
@@ -1,50 +0,0 @@
|
|
1
|
-
$media-border-color: bulmaRgba($border, 0.5) !default
|
2
|
-
|
3
|
-
.media
|
4
|
-
align-items: flex-start
|
5
|
-
display: flex
|
6
|
-
text-align: left
|
7
|
-
.content:not(:last-child)
|
8
|
-
margin-bottom: 0.75rem
|
9
|
-
.media
|
10
|
-
border-top: 1px solid $media-border-color
|
11
|
-
display: flex
|
12
|
-
padding-top: 0.75rem
|
13
|
-
.content:not(:last-child),
|
14
|
-
.control:not(:last-child)
|
15
|
-
margin-bottom: 0.5rem
|
16
|
-
.media
|
17
|
-
padding-top: 0.5rem
|
18
|
-
& + .media
|
19
|
-
margin-top: 0.5rem
|
20
|
-
& + .media
|
21
|
-
border-top: 1px solid $media-border-color
|
22
|
-
margin-top: 1rem
|
23
|
-
padding-top: 1rem
|
24
|
-
// Sizes
|
25
|
-
&.is-large
|
26
|
-
& + .media
|
27
|
-
margin-top: 1.5rem
|
28
|
-
padding-top: 1.5rem
|
29
|
-
|
30
|
-
.media-left,
|
31
|
-
.media-right
|
32
|
-
flex-basis: auto
|
33
|
-
flex-grow: 0
|
34
|
-
flex-shrink: 0
|
35
|
-
|
36
|
-
.media-left
|
37
|
-
margin-right: 1rem
|
38
|
-
|
39
|
-
.media-right
|
40
|
-
margin-left: 1rem
|
41
|
-
|
42
|
-
.media-content
|
43
|
-
flex-basis: auto
|
44
|
-
flex-grow: 1
|
45
|
-
flex-shrink: 1
|
46
|
-
text-align: left
|
47
|
-
|
48
|
-
+mobile
|
49
|
-
.media-content
|
50
|
-
overflow-x: auto
|
@@ -1,57 +0,0 @@
|
|
1
|
-
$menu-item-color: $text !default
|
2
|
-
$menu-item-radius: $radius-small !default
|
3
|
-
$menu-item-hover-color: $text-strong !default
|
4
|
-
$menu-item-hover-background-color: $background !default
|
5
|
-
$menu-item-active-color: $link-invert !default
|
6
|
-
$menu-item-active-background-color: $link !default
|
7
|
-
|
8
|
-
$menu-list-border-left: 1px solid $border !default
|
9
|
-
$menu-list-line-height: 1.25 !default
|
10
|
-
$menu-list-link-padding: 0.5em 0.75em !default
|
11
|
-
$menu-nested-list-margin: 0.75em !default
|
12
|
-
$menu-nested-list-padding-left: 0.75em !default
|
13
|
-
|
14
|
-
$menu-label-color: $text-light !default
|
15
|
-
$menu-label-font-size: 0.75em !default
|
16
|
-
$menu-label-letter-spacing: 0.1em !default
|
17
|
-
$menu-label-spacing: 1em !default
|
18
|
-
|
19
|
-
.menu
|
20
|
-
font-size: $size-normal
|
21
|
-
// Sizes
|
22
|
-
&.is-small
|
23
|
-
font-size: $size-small
|
24
|
-
&.is-medium
|
25
|
-
font-size: $size-medium
|
26
|
-
&.is-large
|
27
|
-
font-size: $size-large
|
28
|
-
|
29
|
-
.menu-list
|
30
|
-
line-height: $menu-list-line-height
|
31
|
-
a
|
32
|
-
border-radius: $menu-item-radius
|
33
|
-
color: $menu-item-color
|
34
|
-
display: block
|
35
|
-
padding: $menu-list-link-padding
|
36
|
-
&:hover
|
37
|
-
background-color: $menu-item-hover-background-color
|
38
|
-
color: $menu-item-hover-color
|
39
|
-
// Modifiers
|
40
|
-
&.is-active
|
41
|
-
background-color: $menu-item-active-background-color
|
42
|
-
color: $menu-item-active-color
|
43
|
-
li
|
44
|
-
ul
|
45
|
-
border-left: $menu-list-border-left
|
46
|
-
margin: $menu-nested-list-margin
|
47
|
-
padding-left: $menu-nested-list-padding-left
|
48
|
-
|
49
|
-
.menu-label
|
50
|
-
color: $menu-label-color
|
51
|
-
font-size: $menu-label-font-size
|
52
|
-
letter-spacing: $menu-label-letter-spacing
|
53
|
-
text-transform: uppercase
|
54
|
-
&:not(:first-child)
|
55
|
-
margin-top: $menu-label-spacing
|
56
|
-
&:not(:last-child)
|
57
|
-
margin-bottom: $menu-label-spacing
|
@@ -1,99 +0,0 @@
|
|
1
|
-
$message-background-color: $background !default
|
2
|
-
$message-radius: $radius !default
|
3
|
-
|
4
|
-
$message-header-background-color: $text !default
|
5
|
-
$message-header-color: $text-invert !default
|
6
|
-
$message-header-weight: $weight-bold !default
|
7
|
-
$message-header-padding: 0.75em 1em !default
|
8
|
-
$message-header-radius: $radius !default
|
9
|
-
|
10
|
-
$message-body-border-color: $border !default
|
11
|
-
$message-body-border-width: 0 0 0 4px !default
|
12
|
-
$message-body-color: $text !default
|
13
|
-
$message-body-padding: 1.25em 1.5em !default
|
14
|
-
$message-body-radius: $radius !default
|
15
|
-
|
16
|
-
$message-body-pre-background-color: $scheme-main !default
|
17
|
-
$message-body-pre-code-background-color: transparent !default
|
18
|
-
|
19
|
-
$message-header-body-border-width: 0 !default
|
20
|
-
$message-colors: $colors !default
|
21
|
-
|
22
|
-
.message
|
23
|
-
@extend %block
|
24
|
-
background-color: $message-background-color
|
25
|
-
border-radius: $message-radius
|
26
|
-
font-size: $size-normal
|
27
|
-
strong
|
28
|
-
color: currentColor
|
29
|
-
a:not(.button):not(.tag):not(.dropdown-item)
|
30
|
-
color: currentColor
|
31
|
-
text-decoration: underline
|
32
|
-
// Sizes
|
33
|
-
&.is-small
|
34
|
-
font-size: $size-small
|
35
|
-
&.is-medium
|
36
|
-
font-size: $size-medium
|
37
|
-
&.is-large
|
38
|
-
font-size: $size-large
|
39
|
-
// Colors
|
40
|
-
@each $name, $components in $message-colors
|
41
|
-
$color: nth($components, 1)
|
42
|
-
$color-invert: nth($components, 2)
|
43
|
-
$color-light: null
|
44
|
-
$color-dark: null
|
45
|
-
|
46
|
-
@if length($components) >= 3
|
47
|
-
$color-light: nth($components, 3)
|
48
|
-
@if length($components) >= 4
|
49
|
-
$color-dark: nth($components, 4)
|
50
|
-
@else
|
51
|
-
$color-luminance: colorLuminance($color)
|
52
|
-
$darken-percentage: $color-luminance * 70%
|
53
|
-
$desaturate-percentage: $color-luminance * 30%
|
54
|
-
$color-dark: desaturate(darken($color, $darken-percentage), $desaturate-percentage)
|
55
|
-
@else
|
56
|
-
$color-lightning: max((100% - lightness($color)) - 2%, 0%)
|
57
|
-
$color-light: lighten($color, $color-lightning)
|
58
|
-
|
59
|
-
&.is-#{$name}
|
60
|
-
background-color: $color-light
|
61
|
-
.message-header
|
62
|
-
background-color: $color
|
63
|
-
color: $color-invert
|
64
|
-
.message-body
|
65
|
-
border-color: $color
|
66
|
-
color: $color-dark
|
67
|
-
|
68
|
-
.message-header
|
69
|
-
align-items: center
|
70
|
-
background-color: $message-header-background-color
|
71
|
-
border-radius: $message-header-radius $message-header-radius 0 0
|
72
|
-
color: $message-header-color
|
73
|
-
display: flex
|
74
|
-
font-weight: $message-header-weight
|
75
|
-
justify-content: space-between
|
76
|
-
line-height: 1.25
|
77
|
-
padding: $message-header-padding
|
78
|
-
position: relative
|
79
|
-
.delete
|
80
|
-
flex-grow: 0
|
81
|
-
flex-shrink: 0
|
82
|
-
margin-left: 0.75em
|
83
|
-
& + .message-body
|
84
|
-
border-width: $message-header-body-border-width
|
85
|
-
border-top-left-radius: 0
|
86
|
-
border-top-right-radius: 0
|
87
|
-
|
88
|
-
.message-body
|
89
|
-
border-color: $message-body-border-color
|
90
|
-
border-radius: $message-body-radius
|
91
|
-
border-style: solid
|
92
|
-
border-width: $message-body-border-width
|
93
|
-
color: $message-body-color
|
94
|
-
padding: $message-body-padding
|
95
|
-
code,
|
96
|
-
pre
|
97
|
-
background-color: $message-body-pre-background-color
|
98
|
-
pre code
|
99
|
-
background-color: $message-body-pre-code-background-color
|
@@ -1,113 +0,0 @@
|
|
1
|
-
$modal-z: 40 !default
|
2
|
-
|
3
|
-
$modal-background-background-color: bulmaRgba($scheme-invert, 0.86) !default
|
4
|
-
|
5
|
-
$modal-content-width: 640px !default
|
6
|
-
$modal-content-margin-mobile: 20px !default
|
7
|
-
$modal-content-spacing-mobile: 160px !default
|
8
|
-
$modal-content-spacing-tablet: 40px !default
|
9
|
-
|
10
|
-
$modal-close-dimensions: 40px !default
|
11
|
-
$modal-close-right: 20px !default
|
12
|
-
$modal-close-top: 20px !default
|
13
|
-
|
14
|
-
$modal-card-spacing: 40px !default
|
15
|
-
|
16
|
-
$modal-card-head-background-color: $background !default
|
17
|
-
$modal-card-head-border-bottom: 1px solid $border !default
|
18
|
-
$modal-card-head-padding: 20px !default
|
19
|
-
$modal-card-head-radius: $radius-large !default
|
20
|
-
|
21
|
-
$modal-card-title-color: $text-strong !default
|
22
|
-
$modal-card-title-line-height: 1 !default
|
23
|
-
$modal-card-title-size: $size-4 !default
|
24
|
-
|
25
|
-
$modal-card-foot-radius: $radius-large !default
|
26
|
-
$modal-card-foot-border-top: 1px solid $border !default
|
27
|
-
|
28
|
-
$modal-card-body-background-color: $scheme-main !default
|
29
|
-
$modal-card-body-padding: 20px !default
|
30
|
-
|
31
|
-
.modal
|
32
|
-
@extend %overlay
|
33
|
-
align-items: center
|
34
|
-
display: none
|
35
|
-
flex-direction: column
|
36
|
-
justify-content: center
|
37
|
-
overflow: hidden
|
38
|
-
position: fixed
|
39
|
-
z-index: $modal-z
|
40
|
-
// Modifiers
|
41
|
-
&.is-active
|
42
|
-
display: flex
|
43
|
-
|
44
|
-
.modal-background
|
45
|
-
@extend %overlay
|
46
|
-
background-color: $modal-background-background-color
|
47
|
-
|
48
|
-
.modal-content,
|
49
|
-
.modal-card
|
50
|
-
margin: 0 $modal-content-margin-mobile
|
51
|
-
max-height: calc(100vh - #{$modal-content-spacing-mobile})
|
52
|
-
overflow: auto
|
53
|
-
position: relative
|
54
|
-
width: 100%
|
55
|
-
// Responsiveness
|
56
|
-
+tablet
|
57
|
-
margin: 0 auto
|
58
|
-
max-height: calc(100vh - #{$modal-content-spacing-tablet})
|
59
|
-
width: $modal-content-width
|
60
|
-
|
61
|
-
.modal-close
|
62
|
-
@extend %delete
|
63
|
-
background: none
|
64
|
-
height: $modal-close-dimensions
|
65
|
-
position: fixed
|
66
|
-
right: $modal-close-right
|
67
|
-
top: $modal-close-top
|
68
|
-
width: $modal-close-dimensions
|
69
|
-
|
70
|
-
.modal-card
|
71
|
-
display: flex
|
72
|
-
flex-direction: column
|
73
|
-
max-height: calc(100vh - #{$modal-card-spacing})
|
74
|
-
overflow: hidden
|
75
|
-
-ms-overflow-y: visible
|
76
|
-
|
77
|
-
.modal-card-head,
|
78
|
-
.modal-card-foot
|
79
|
-
align-items: center
|
80
|
-
background-color: $modal-card-head-background-color
|
81
|
-
display: flex
|
82
|
-
flex-shrink: 0
|
83
|
-
justify-content: flex-start
|
84
|
-
padding: $modal-card-head-padding
|
85
|
-
position: relative
|
86
|
-
|
87
|
-
.modal-card-head
|
88
|
-
border-bottom: $modal-card-head-border-bottom
|
89
|
-
border-top-left-radius: $modal-card-head-radius
|
90
|
-
border-top-right-radius: $modal-card-head-radius
|
91
|
-
|
92
|
-
.modal-card-title
|
93
|
-
color: $modal-card-title-color
|
94
|
-
flex-grow: 1
|
95
|
-
flex-shrink: 0
|
96
|
-
font-size: $modal-card-title-size
|
97
|
-
line-height: $modal-card-title-line-height
|
98
|
-
|
99
|
-
.modal-card-foot
|
100
|
-
border-bottom-left-radius: $modal-card-foot-radius
|
101
|
-
border-bottom-right-radius: $modal-card-foot-radius
|
102
|
-
border-top: $modal-card-foot-border-top
|
103
|
-
.button
|
104
|
-
&:not(:last-child)
|
105
|
-
margin-right: 0.5em
|
106
|
-
|
107
|
-
.modal-card-body
|
108
|
-
+overflow-touch
|
109
|
-
background-color: $modal-card-body-background-color
|
110
|
-
flex-grow: 1
|
111
|
-
flex-shrink: 1
|
112
|
-
overflow: auto
|
113
|
-
padding: $modal-card-body-padding
|