oulu 0.19.1 → 1.0.0.beta1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (114) hide show
  1. checksums.yaml +5 -5
  2. data/README.md +0 -30
  3. data/app/assets/stylesheets/_oulu-base.sass +1 -3
  4. data/app/assets/stylesheets/_oulu.sass +9 -24
  5. data/app/assets/stylesheets/helpers/_block.sass +33 -9
  6. data/app/assets/stylesheets/helpers/_margin-padding.sass +108 -33
  7. data/app/assets/stylesheets/helpers/_position.sass +8 -32
  8. data/app/assets/stylesheets/helpers/_typoglaphy.sass +9 -25
  9. data/app/assets/stylesheets/modules/buttons/_button-base.sass +35 -89
  10. data/app/assets/stylesheets/modules/buttons/_button-helper.sass +12 -39
  11. data/app/assets/stylesheets/modules/buttons/_buttons.sass +6 -22
  12. data/app/assets/stylesheets/modules/buttons/styles/_border.sass +8 -6
  13. data/app/assets/stylesheets/modules/buttons/styles/_flat-emboss.sass +10 -8
  14. data/app/assets/stylesheets/modules/buttons/styles/_flat-round.sass +7 -5
  15. data/app/assets/stylesheets/modules/buttons/styles/_material.sass +4 -2
  16. data/app/assets/stylesheets/modules/buttons/styles/_normal.sass +13 -10
  17. data/app/assets/stylesheets/modules/buttons/styles/_super-bold-border.sass +29 -19
  18. data/app/assets/stylesheets/modules/glitch/_glitch.sass +2 -3
  19. data/app/assets/stylesheets/modules/glitch/_glitch.sass~organize-modules +31 -0
  20. data/app/assets/stylesheets/modules/web-fonts/_font-awsome.sass +17 -0
  21. data/app/assets/stylesheets/modules/web-fonts/_icomoon.sass +2 -0
  22. data/app/assets/stylesheets/settings/functions/_animation.sass +90 -0
  23. data/app/assets/stylesheets/settings/functions/_background.sass +16 -31
  24. data/app/assets/stylesheets/settings/functions/_color.sass +29 -15
  25. data/app/assets/stylesheets/settings/functions/_display.sass +1 -1
  26. data/app/assets/stylesheets/settings/functions/_length.sass +0 -7
  27. data/app/assets/stylesheets/settings/functions/_map.sass +0 -52
  28. data/app/assets/stylesheets/settings/functions/_math.sass +0 -12
  29. data/app/assets/stylesheets/settings/functions/_number.sass +2 -18
  30. data/app/assets/stylesheets/settings/functions/_string.sass +0 -19
  31. data/app/assets/stylesheets/settings/initializers/_reboot.sass +2 -24
  32. data/app/assets/stylesheets/settings/initializers/_sanitize.sass +102 -75
  33. data/app/assets/stylesheets/settings/mixins/_animation.sass +32 -0
  34. data/app/assets/stylesheets/settings/mixins/_background.sass +2 -2
  35. data/app/assets/stylesheets/settings/mixins/_balloon-tail.sass +89 -281
  36. data/app/assets/stylesheets/settings/mixins/_basic-font.sass +1 -1
  37. data/app/assets/stylesheets/settings/mixins/_block.sass +1 -29
  38. data/app/assets/stylesheets/settings/mixins/_form.sass +18 -0
  39. data/app/assets/stylesheets/settings/mixins/_grid.sass +44 -151
  40. data/app/assets/stylesheets/settings/mixins/_ie-hacks.sass +1 -7
  41. data/app/assets/stylesheets/settings/mixins/_link.sass +1 -10
  42. data/app/assets/stylesheets/settings/mixins/_list.sass +20 -0
  43. data/app/assets/stylesheets/settings/mixins/_margin-padding.sass +1 -1
  44. data/app/assets/stylesheets/settings/mixins/_rem.sass +3 -1
  45. data/app/assets/stylesheets/settings/mixins/_responsive-utilities.sass +151 -62
  46. data/app/assets/stylesheets/settings/mixins/_text.sass +27 -29
  47. data/app/assets/stylesheets/settings/mixins/grid/_grid-framework.scss +81 -0
  48. data/app/assets/stylesheets/settings/mixins/grid/_grid.scss +122 -0
  49. data/app/assets/stylesheets/settings/variables/_default.sass +115 -29
  50. data/app/assets/stylesheets/settings/variables/_modules.sass +24 -37
  51. data/bower.json +1 -1
  52. data/lib/oulu/version.rb +1 -1
  53. data/lib/oulu.rb +5 -9
  54. data/oulu.gemspec +3 -3
  55. data/package.json +1 -1
  56. metadata +20 -69
  57. data/app/assets/stylesheets/_oulu-functions-after-variables.sass +0 -6
  58. data/app/assets/stylesheets/_oulu-functions-before-variables.sass +0 -20
  59. data/app/assets/stylesheets/_oulu-functions.sass +0 -21
  60. data/app/assets/stylesheets/_oulu-helpers.sass +0 -10
  61. data/app/assets/stylesheets/_oulu-initializers.sass +0 -6
  62. data/app/assets/stylesheets/_oulu-mixins.sass +0 -28
  63. data/app/assets/stylesheets/_oulu-variables.sass +0 -7
  64. data/app/assets/stylesheets/helpers/_margin.sass +0 -36
  65. data/app/assets/stylesheets/helpers/_padding.sass +0 -35
  66. data/app/assets/stylesheets/helpers/_visibility.sass +0 -67
  67. data/app/assets/stylesheets/modules/buttons/_button-sizes.sass +0 -156
  68. data/app/assets/stylesheets/modules/buttons/styles/_flat.sass +0 -61
  69. data/app/assets/stylesheets/modules/buttons/styles/_simple.sass +0 -51
  70. data/app/assets/stylesheets/modules/buttons/styles/_standard.sass +0 -63
  71. data/app/assets/stylesheets/modules/text-style/_amazlet.sass +0 -38
  72. data/app/assets/stylesheets/modules/text-style/_disabled-h1.sass +0 -23
  73. data/app/assets/stylesheets/modules/text-style/_link-card.sass +0 -67
  74. data/app/assets/stylesheets/modules/text-style/_list.sass +0 -16
  75. data/app/assets/stylesheets/modules/text-style/_long-text-style.sass +0 -207
  76. data/app/assets/stylesheets/modules/text-style/_twitter-tweet.sass +0 -9
  77. data/app/assets/stylesheets/modules/themes/admin/_admin.sass +0 -59
  78. data/app/assets/stylesheets/modules/themes/admin/_base.sass +0 -34
  79. data/app/assets/stylesheets/modules/themes/admin/blocks/admin/_admin-page-header.sass +0 -9
  80. data/app/assets/stylesheets/modules/themes/admin/blocks/form/_admin-actions.sass +0 -36
  81. data/app/assets/stylesheets/modules/themes/admin/blocks/form/_admin-flash.sass +0 -58
  82. data/app/assets/stylesheets/modules/themes/admin/blocks/form/_admin-form-file.sass +0 -33
  83. data/app/assets/stylesheets/modules/themes/admin/blocks/form/_admin-form-inputs.sass +0 -13
  84. data/app/assets/stylesheets/modules/themes/admin/blocks/form/_admin-form-radio.sass +0 -82
  85. data/app/assets/stylesheets/modules/themes/admin/blocks/form/_admin-form.sass +0 -117
  86. data/app/assets/stylesheets/modules/themes/admin/blocks/header/_admin-header-nav.sass +0 -22
  87. data/app/assets/stylesheets/modules/themes/admin/blocks/header/_admin-header-show-mobile-nav.sass +0 -8
  88. data/app/assets/stylesheets/modules/themes/admin/blocks/header/_admin-header.sass +0 -19
  89. data/app/assets/stylesheets/modules/themes/admin/blocks/navs/_admin-breadcrumbs.sass +0 -45
  90. data/app/assets/stylesheets/modules/themes/admin/blocks/navs/_admin-stack-nav.sass +0 -51
  91. data/app/assets/stylesheets/modules/themes/admin/blocks/navs/_admin-tabs-nav.sass +0 -49
  92. data/app/assets/stylesheets/modules/themes/admin/blocks/navs/_pagination.sass +0 -63
  93. data/app/assets/stylesheets/modules/themes/admin/blocks/table/_admin-table-form.sass +0 -10
  94. data/app/assets/stylesheets/modules/themes/admin/blocks/table/_admin-table-sort.sass +0 -21
  95. data/app/assets/stylesheets/modules/themes/admin/blocks/table/_admin-table.sass +0 -82
  96. data/app/assets/stylesheets/modules/themes/admin/settings/_admin-colors.sass +0 -101
  97. data/app/assets/stylesheets/modules/themes/style-guide/_base.sass +0 -5
  98. data/app/assets/stylesheets/modules/themes/style-guide/_style-guide.sass +0 -43
  99. data/app/assets/stylesheets/modules/themes/style-guide/blocks/_style-guide-color.sass +0 -42
  100. data/app/assets/stylesheets/modules/themes/style-guide/blocks/_style-guide-global-nav.sass +0 -32
  101. data/app/assets/stylesheets/modules/themes/style-guide/blocks/_style-guide-header.sass +0 -12
  102. data/app/assets/stylesheets/modules/themes/style-guide/blocks/_style-guide-section.sass +0 -8
  103. data/app/assets/stylesheets/modules/themes/style-guide/settings/_style-guide-colors.sass +0 -33
  104. data/app/assets/stylesheets/modules/web-fonts/_playfair.sass +0 -11
  105. data/app/assets/stylesheets/settings/functions/_assign-inputs.sass +0 -35
  106. data/app/assets/stylesheets/settings/functions/_flex.sass +0 -70
  107. data/app/assets/stylesheets/settings/mixins/_break-points.sass +0 -37
  108. data/app/assets/stylesheets/settings/mixins/_flex.sass +0 -5
  109. data/app/assets/stylesheets/settings/mixins/_font-awesome.sass +0 -56
  110. data/app/assets/stylesheets/settings/mixins/_word-wrap.sass +0 -8
  111. data/app/assets/stylesheets/settings/mixins/grid/_grid-framework.sass +0 -42
  112. data/app/assets/stylesheets/settings/mixins/grid/_grid.sass +0 -15
  113. data/app/assets/stylesheets/settings/variables/_sanitize.sass +0 -20
  114. data/circle.yml +0 -13
@@ -1,19 +0,0 @@
1
- .admin-header
2
- border-bottom: solid .125rem $admin-main-color
3
- background-color: $admin-base-color
4
-
5
- .admin-header__inner
6
- display: flex
7
- justify-content: space-between
8
- align-items: center
9
- height: 3.25rem
10
- +media-breakpoint-down(sm)
11
- height: 3rem
12
-
13
- .admin-header__title
14
- +text-block(1.25rem 1, $admin-main-color 700)
15
- +media-breakpoint-down(sm)
16
- font-size: 1rem
17
-
18
- .admin-header__title-link
19
- color: $admin-main-color
@@ -1,45 +0,0 @@
1
- $admin-breadcrumbs-height: 1.5rem
2
-
3
- .admin-breadcrumbs
4
- background-color: $admin-base-color
5
- border-bottom: solid .0625rem $admin-border
6
- +media-breakpoint-down(sm)
7
- display: none
8
-
9
- .admin-breadcrumbs__items
10
- height: 1.75rem
11
- display: flex
12
- flex-wrap: wrap
13
- align-items: center
14
-
15
- .admin-breadcrumbs__item
16
- +position(relative)
17
- padding-right: $admin-breadcrumbs-height
18
- &::before
19
- content: ">"
20
- +text-block(.875rem 1, $admin-muted-text flex)
21
- +position(absolute, right 0, top 0)
22
- +size($admin-breadcrumbs-height)
23
- align-items: center
24
- justify-content: center
25
- &:last-child
26
- padding-right: 0
27
- &::before
28
- content: none
29
-
30
- .admin-breadcrumbs__item-link
31
- +text-block(.75rem 1.3, $admin-muted-text flex)
32
- +hover-link
33
- height: $admin-breadcrumbs-height
34
- align-items: center
35
- &:hover
36
- color: $admin-link-text
37
- .admin-breadcrumbs__item:last-child &,
38
- .admin-breadcrumbs__item:last-child &:hover
39
- text-decoration: none
40
- cursor: default
41
- color: $admin-muted-text
42
- &.is-home
43
- font-size: 1rem
44
- +padding(horizontal, .125rem)
45
- margin-left: -.125rem
@@ -1,51 +0,0 @@
1
- $admin-stack-nav-width: 12rem !default
2
- $admin-stack-nav-font-size: .8125rem !default
3
-
4
- body
5
- padding-left: $admin-stack-nav-width
6
- +media-breakpoint-down(sm)
7
- padding-left: 0
8
-
9
- .admin-stack-nav
10
- +position(fixed, left 0, top 0, bottom 0)
11
- background-color: $admin-main-color
12
- width: $admin-stack-nav-width
13
- font-size: $admin-stack-nav-font-size
14
- +media-breakpoint-down(sm)
15
- display: none
16
-
17
- .admin-stack-nav__item
18
- border-bottom: solid .0625rem rgba(white, .15)
19
-
20
- .admin-stack-nav__item-link
21
- +text-block(1em 1.4, $admin-reversal-text flex)
22
- padding: .875em
23
- min-height: 3.15em
24
- align-items: center
25
- &:hover
26
- background-color: shade($admin-main-color, 20%)
27
- &.is-current
28
- background-color: shade($admin-main-color, 30%)
29
- &:hover
30
- background-color: shade($admin-main-color, 30%)
31
-
32
- .admin-stack-nav__item-link-icon
33
- font-size: 1.125em
34
- margin-right: .5em
35
-
36
- .admin-stack-nav-children__item
37
- &:not(:last-child)
38
- border-bottom: solid .0625rem rgba(white, .15)
39
-
40
- .admin-stack-nav-children__item-link
41
- +text-block(1em 1.4, $admin-reversal-text flex)
42
- padding: .875em
43
- min-height: 3.15em
44
- align-items: center
45
- background-color: shade($admin-main-color, 20%)
46
- &:hover
47
- background-color: shade($admin-main-color, 20%)
48
- &.is-current
49
- background-color: shade($admin-main-color, 30%)
50
- &:hover
51
- background-color: shade($admin-main-color, 30%)
@@ -1,49 +0,0 @@
1
- $admin-tabs-nav-font-size: .75rem
2
- $admin-tabs-nav-height: 3em
3
-
4
- .admin-tabs-nav
5
- font-size: $admin-tabs-nav-font-size
6
- +overflow(auto hidden)
7
- -webkit-overflow-scrolling: touch
8
- position: relative
9
- padding-top: .5em
10
- background-color: $admin-background-shade
11
- &.has-scroll-x
12
- height: calc(#{$admin-tabs-nav-height} + .9375rem)
13
- +media-breakpoint-down(md)
14
- height: $admin-tabs-nav-height
15
- &::before
16
- content: ''
17
- +size(100% 1px)
18
- background-color: $admin-border
19
- display: block
20
- +position(absolute, left 0, bottom 0)
21
-
22
- .admin-tabs-nav__items
23
- display: flex
24
- +position(relative)
25
- .admin-tabs-nav >&
26
- +padding(horizontal, 1rem)
27
-
28
- .admin-tabs-nav__item-link
29
- +text-block(1em 1.3, flex $admin-muted-text)
30
- align-items: center
31
- justify-content: center
32
- +size(auto $admin-tabs-nav-height)
33
- padding-bottom: .0625rem
34
- +padding(horizontal, 1em)
35
- border: .0625rem solid transparent
36
- +border-radius(top, .1875rem)
37
- transition: all .2s ease-in
38
- min-width: 9em
39
- &.is-active,
40
- &.is-active:hover
41
- border-color: $admin-border
42
- border-bottom-color: $admin-base-color
43
- background-color: $admin-base-color
44
- color: $admin-default-text
45
- text-decoration: none
46
- cursor: default
47
- &:hover
48
- color: $admin-default-text
49
- text-decoration: underline
@@ -1,63 +0,0 @@
1
- .pagination
2
- display: flex
3
- justify-content: center
4
- margin-bottom: 1rem
5
- +media-breakpoint-down(md)
6
- align-items: center
7
- justify-content: center
8
- .admin-table__inner + &
9
- +margin(vertical, 1rem 0)
10
-
11
- .pagination__page-count
12
- display: none
13
- +media-breakpoint-down(md)
14
- +text-block(.75rem 1, center block)
15
- +margin(horizontal, 1.25rem)
16
- .pagination.is-first &
17
- margin-left: 3.5rem
18
- .pagination.is-last &
19
- margin-right: 3.5rem
20
-
21
- .pagination__item
22
- +text-block(.75rem 1, center flex)
23
- align-items: center
24
- justify-content: center
25
- +size(1.75rem)
26
- border: solid .0625rem $admin-border
27
- &:not(:first-child)
28
- border-left: none
29
- &.is-current
30
- background-color: $admin-background-dark
31
- color: $admin-default-text
32
- &.is-gap
33
- +border(vertical, none)
34
- &.is-prev,
35
- &.is-next
36
- +media-breakpoint-down(md)
37
- +size(2.25rem)
38
- border: none
39
- a
40
- border: solid .0625rem $admin-border
41
- +size(2.25rem)
42
- border-radius: .25rem
43
- &.is-page,
44
- &.is-first,
45
- &.is-last
46
- +media-breakpoint-down(md)
47
- display: none
48
-
49
- .pagination__link
50
- border: none
51
- +size(100%)
52
- +flex-link
53
- align-items: center
54
- justify-content: center
55
- color: $admin-muted-text
56
- background-color: $admin-base-color
57
- &:link,
58
- &:visited
59
- color: $admin-muted-text
60
- &:hover,
61
- &:active
62
- color: $admin-default-text
63
- background-color: $admin-background-shade
@@ -1,10 +0,0 @@
1
- .admin-table-form
2
- .container
3
- +media-breakpoint-down(sm)
4
- +padding(horizontal, 0)
5
-
6
- .admin-table-form__inner
7
- background-color: $admin-background
8
- border: solid .0625rem $admin-border-tint
9
- padding: 1rem
10
- margin-bottom: 1.5rem
@@ -1,21 +0,0 @@
1
- .admin-table-sort
2
- display: flex
3
- align-items: center
4
-
5
- .admin-table-sort__label
6
- flex: 100
7
-
8
- .admin-table-sort__items
9
- display: flex
10
- +margin(vertical, -.25rem)
11
-
12
- .admin-table-sort__link
13
- +text-block(1rem 1, flex $admin-default-text)
14
- align-items: center
15
- justify-content: center
16
- +size(1.5rem)
17
- border-radius: .25rem
18
- .admin-table__table &
19
- text-decoration: none
20
- &:hover
21
- background-color: $admin-background
@@ -1,82 +0,0 @@
1
- $admin-table-font-size: .75rem
2
-
3
- .admin-table
4
- width: 100%
5
- +margin(vertical, 1.25rem)
6
- +padding(horizontal, 1rem)
7
- +media-breakpoint-down(sm)
8
- +padding(horizontal, .5rem)
9
- .container &
10
- +padding(horizontal, 0)
11
- .admin-table + &
12
- margin-top: 2rem
13
-
14
- .admin-tablet__title
15
- border-left: solid 6px $admin-main-color
16
- padding-left: .625rem
17
- +padding(vertical, .125rem)
18
- +text-block(1.125rem 1.4 .875rem, 700)
19
-
20
- .admin-table__inner
21
- overflow-x: auto
22
-
23
- .admin-table__table
24
- min-width: 100%
25
- background-color: $admin-base-color
26
- font-size: $admin-table-font-size
27
-
28
- .admin-table__header-label,
29
- .admin-table__header-value,
30
- .admin-table__body-label,
31
- .admin-table__body-value,
32
- .admin-table-body-actions
33
- border: solid .0625rem $admin-border
34
- +text-block(1em 1.4)
35
- padding: .5em 1em
36
- +media-breakpoint-down(sm)
37
- font-size: .75rem
38
-
39
- .admin-table__body-item
40
- &:nth-child(even)
41
- background-color: $admin-background
42
-
43
- .admin-table__body-label,
44
- .admin-table__header-label
45
- font-weight: 700
46
- background-color: $admin-background-dark
47
- border: solid .0625rem $admin-border-shade
48
- color: $admin-default-text
49
- white-space: nowrap
50
-
51
- .admin-table__header-label
52
- &.is-one-checkbox::before,
53
- &.is-one-checkbox::after
54
-
55
- .admin-table__body-label
56
- vertical-align: top
57
- text-align: right
58
- width: 15rem
59
- +media-breakpoint-down(sm)
60
- text-align: left
61
- width: auto
62
- .admin-table__body-item:nth-child(even) &
63
- background-color: $admin-background-dark-more
64
-
65
- .admin-table__body-value
66
- +long-text-style(.8125rem, .75rem)
67
-
68
- .admin-table-body-actions__items
69
- display: flex
70
- align-items: center
71
- justify-content: center
72
- +media-breakpoint-down(sm)
73
- display: block
74
-
75
- .admin-table-body-actions__item
76
- flex: 0 0 2.75em
77
- +padding(horizontal, .25em)
78
- +media-breakpoint-down(sm)
79
- &:not(:last-child)
80
- margin-bottom: .5rem
81
- a
82
- text-decoration: none
@@ -1,101 +0,0 @@
1
- //////////////////////
2
- // UI Colors
3
- //////////////////////
4
-
5
- $primary: #007bff !default
6
- $secondary: #868e96 !default
7
- $warning: #ffc107 !default
8
- $danger: #dc3545 !default
9
- $info: #28a745 !default
10
-
11
- $base-color: #fff
12
-
13
- //////////////////////
14
- // Bland Colors
15
- //////////////////////
16
-
17
- $admin-main-color: #0e5287 !default
18
- $admin-base-color: #fff !default
19
-
20
- $admin-background: #f8f8f8 !default
21
- $admin-background-shade: #e3e3e3 !default
22
- $admin-background-dark: #d9d9d9 !default
23
- $admin-background-dark-more: #ccc !default
24
-
25
- //////////////////////
26
- // Text Colors
27
- //////////////////////
28
-
29
- $admin-default-text: #333 !default
30
- $admin-reversal-text: #fff !default
31
- $admin-muted-text: #7c7c7c !default
32
- $admin-danger-text: #CC3434 !default
33
-
34
- $admin-link-text: #1A0DAB !default
35
- $admin-visited-text: #660099 !default
36
- $admin-hover-text: $admin-danger-text !default
37
- $admin-active-text: $admin-danger-text !default
38
-
39
- =admin-default-text-link
40
- &:link
41
- color: $admin-link-text
42
- &:visited
43
- color: $admin-visited-text
44
- &:hover
45
- color: $admin-hover-text
46
- &:active
47
- color: $admin-active-text
48
-
49
- //////////////////////
50
- // Border Colors
51
- //////////////////////
52
-
53
- $admin-border: #c8c8c8 !default
54
- $admin-border-shade: #9f9f9f !default
55
- $admin-border-tint: #dddddd !default
56
-
57
- //////////////////////
58
- // Form Colors
59
- //////////////////////
60
-
61
- $admin-text-input-background: #fcfcfc !default
62
- $admin-text-input-border: $admin-border !default
63
- $admin-focused-text-input-background: $admin-base-color !default
64
- $admin-focused-text-input-border: tint($admin-main-color, 40%) !default
65
- $admin-form-check: #2476ff !default
66
- $admin-flash-alert-background: #f8d7da !default
67
- $admin-flash-alert-text: #721c24 !default
68
- $admin-flash-notice-background: #d4edda !default
69
- $admin-flash-notice-text: #155724 !default
70
- $admin-placeholder-text: #afafaf !default
71
- $admin-text-input: $admin-default-text !default
72
-
73
- #{$all-text-inputs}
74
- color: $admin-text-input
75
-
76
-
77
-
78
-
79
- $root-font-family: $basic-sans-serif
80
-
81
- $xs-button-font-size: .625rem
82
- $sm-button-font-size: .75rem
83
- $md-button-font-size: .8125rem
84
- $lg-button-font-size: .875rem
85
- $xl-button-font-size: 1rem
86
-
87
- $button-sizes: xs, sm, md, lg, xl !default
88
- $button-color-names: secondary, primary, success, info, warning, danger !default
89
- $button-styles: flat
90
-
91
- $button-xs-height-ratio: 2.85 !default
92
- $button-sm-height-ratio: 2.6
93
- $button-md-height-ratio: 2.8
94
- $button-lg-height-ratio: 3
95
- $button-xl-height-ratio: 2.9
96
-
97
- $button-xs-horizontal-padding: 1
98
- $button-sm-horizontal-padding: 1
99
- $button-md-horizontal-padding: .5
100
- $button-lg-horizontal-padding: 1
101
- $button-xl-horizontal-padding: 1
@@ -1,5 +0,0 @@
1
- .style-guide-main
2
- +padding(horizontal, 6.5rem 1rem)
3
- max-width: 1200px
4
- +media-breakpoint-down(sm)
5
- padding-left: 1rem
@@ -1,43 +0,0 @@
1
- //////////////
2
- //settings
3
- //////////////
4
-
5
- // functions-before-variables
6
- @import oulu-functions-before-variables
7
-
8
- // variables
9
- @import oulu-variables
10
-
11
- // oulu-functions-after-variables (functions need variables)
12
- @import oulu-functions-after-variables
13
-
14
- // mixins
15
- @import oulu-mixins
16
-
17
- @import modules/themes/admin/settings/admin-colors
18
- @import modules/themes/style-guide/settings/style-guide-colors
19
-
20
- //////////////
21
- // initializers
22
- //////////////
23
-
24
- @import oulu-initializers
25
-
26
- //////////////
27
- // helpers
28
- //////////////
29
-
30
- @import oulu-helpers
31
-
32
- //////////////
33
- // blocks
34
- //////////////
35
-
36
- @import modules/text-style/long-text-style
37
- @import modules/buttons/buttons
38
-
39
- @import modules/themes/style-guide/base
40
- @import modules/themes/style-guide/blocks/style-guide-color
41
- @import modules/themes/style-guide/blocks/style-guide-global-nav
42
- @import modules/themes/style-guide/blocks/style-guide-header
43
- @import modules/themes/style-guide/blocks/style-guide-section
@@ -1,42 +0,0 @@
1
- .style-guide-color
2
- margin-bottom: 2rem
3
-
4
- .style-guide-color__sample
5
- +size(100% 6rem)
6
- margin-bottom: .5rem
7
-
8
- .style-guide-color__hex
9
- +text-block(.875rem 1.45 .25rem, 700)
10
-
11
- .style-guide-color__luma
12
- +text-block(.875rem 1.45 .25rem, 700)
13
-
14
- .style-guide-color__name
15
- +text-block(.875rem 1.45 .25rem, 700)
16
-
17
- // ui-colors
18
- $ui-colors: primary secondary warning danger info
19
- $color-set: ""
20
- $colors: main tint tint-more shade text
21
- @each $ui-color in $ui-colors
22
- @each $color in $colors
23
- @if $ui-color == primary
24
- $color-set: $primary-colors
25
- @else if $ui-color == secondary
26
- $color-set: $secondary-colors
27
- @else if $ui-color == warning
28
- $color-set: $warning-colors
29
- @else if $ui-color == danger
30
- $color-set: $danger-colors
31
- @else if $ui-color == info
32
- $color-set: $info-colors
33
- .style-guide-color.is-#{$ui-color}-color-#{$color}
34
- .style-guide-color__sample
35
- background-color: map-get($color-set, $color)
36
- padding: 1rem
37
- .style-guide-color__text
38
- color: map-get($color-set, text)
39
- .style-guide-color__hex::after
40
- content: ": #{map-get($color-set, $color)}"
41
- .style-guide-color__luma::after
42
- content: ": #{luma(map-get($color-set, $color))}"
@@ -1,32 +0,0 @@
1
- .style-guide-global-nav
2
- width: 5rem
3
- +position(fixed, left 0, top 0, bottom 0)
4
- background-color: $main-color
5
- +media-breakpoint-down(sm)
6
- display: none
7
-
8
- .style-guide-global-nav__items
9
- display: flex
10
- flex-direction: column
11
-
12
- .style-guide-global-nav__item
13
- display: flex
14
- +size(5rem 4.5rem)
15
- border-bottom: .0625rem solid tint($main-color, 40%)
16
-
17
- .style-guide-global-nav__item-link
18
- +flex-link
19
- flex-direction: column
20
- +size(100%)
21
- justify-content: center
22
- align-items: center
23
-
24
- .style-guide-global-nav__item-link-icon
25
- display: flex
26
- +size(2.75rem)
27
- justify-content: center
28
- align-items: center
29
- +text-block(1.75rem 1, center $reversal-text)
30
-
31
- .style-guide-global-nav__item-link-label
32
- +text-block(.75rem 1.4 center, $reversal-text 600)
@@ -1,12 +0,0 @@
1
- .style-guide-header
2
- background-color: $secondary
3
- +padding(horizontal, 6.5rem 1rem)
4
- display: flex
5
- align-items: center
6
- height: 3rem
7
- margin-bottom: 1rem
8
- +media-breakpoint-down(sm)
9
- padding-left: 1rem
10
-
11
- .style-guide-header__title
12
- +text-block(1.25rem 1, 600 $default-text)
@@ -1,8 +0,0 @@
1
- .style-guide-section
2
- margin-bottom: 2.5rem
3
-
4
- .style-guide-section__title
5
- +text-block(1.75rem 1.45 1rem)
6
-
7
- .style-guide-section__sub-title
8
- +text-block(1.25rem 1.45 1rem)
@@ -1,33 +0,0 @@
1
- //////////////////////
2
- // UI Colors
3
- //////////////////////
4
-
5
- // primary
6
- $primary-colors: (main: #34c382, tint: #cdecde, shade: #2a9c69, text: #1e734d)
7
- $primary: map-get($primary-colors, main)
8
-
9
- // secondary
10
- $secondary-colors: (main: #f2f2f2, tint: #e8e8e8, shade: #d2d2d2, text: #636363)
11
- $secondary: map-get($secondary-colors, main)
12
-
13
- // warning
14
- $warning-colors: (main: #efca10, tint: #f1e2a0, shade: #d0ae12, text: #79660a)
15
- $warning: map-get($warning-colors, main)
16
-
17
- // danger
18
- $danger-colors: (main: #dd6d68, tint: #f2c4d6, shade: #bb5c57, text: #903d39)
19
- $danger: map-get($danger-colors, main)
20
-
21
- // info
22
- $info-colors: (main: #25bed5, tint: #c0e4ec, shade: #1e91a2, text: #1c7c8a)
23
- $info: map-get($info-colors, main)
24
-
25
-
26
- //////////////////////
27
- // Bland Colors
28
- //////////////////////
29
-
30
- $main-color: #25bed5
31
- $main-color-text: #3774AE
32
- $base-color: #fff
33
- $background-color: #e8e8ef
@@ -1,11 +0,0 @@
1
- @import url(//fonts.googleapis.com/css?family=Playfair+Display:400,900,400italic,700,700italic,900italic)
2
- =playfair($fw: 400, $ls: 0, $fs: null, $tx-rendering: true)
3
- // $fw: フォントの太さ, $ls: 字間, $fs: フォントスタイル
4
- font-family: 'Playfair Display', serif
5
- font-weight: $fw
6
- @if not $ls == 0
7
- letter-spacing: $ls
8
- @if (not $fs == null)
9
- font-style: italic
10
- @if $tx-rendering
11
- text-rendering: optimizelegibility
@@ -1,35 +0,0 @@
1
- // https://github.com/thoughtbot/bourbon/blob/master/core/bourbon/utilities/_assign-inputs.scss
2
-
3
- /// Append pseudo-classes to a selector(s).
4
- ///
5
- /// @argument {list | string} $inputs
6
- /// A selector, or list of selectors, to apply the pseudo-class to.
7
- ///
8
- /// @argument {pseudo-class} $pseudo [null]
9
- /// The pseudo-class to be appended.
10
- ///
11
- /// @return {list}
12
- ///
13
- /// @access private
14
-
15
- @function assign-inputs($inputs, $pseudo: null)
16
- $list: ()
17
- @each $input in $inputs
18
- $input: unquote($input)
19
- $input: if($pseudo, $input + ":" + $pseudo, $input)
20
- $list: append($list, $input, comma)
21
- @return $list
22
-
23
- /////////////////
24
- // text-inputs
25
- ////////////////
26
-
27
- $text-inputs-list: 'input[type="color"]','input[type="date"]','input[type="datetime"]','input[type="datetime-local"]','input[type="email"]','input[type="month"]','input[type="number"]','input[type="password"]','input[type="search"]','input[type="tel"]','input[type="text"]','input[type="time"]','input[type="url"]','input[type="week"]','input:not([type])','textarea' !default
28
-
29
- $all-text-inputs: assign-inputs($text-inputs-list)
30
- $all-text-inputs-active: assign-inputs($text-inputs-list, active)
31
- $all-text-inputs-focus: assign-inputs($text-inputs-list, focus)
32
- $all-text-inputs-hover: assign-inputs($text-inputs-list, hover)
33
-
34
- $inputs-en-list: 'input[type="email"]', 'input[type="number"]', 'input[type="search"]', 'input[type="tel"]', 'input[type="url"]', 'input[type="color"]', 'input[type="date"]', 'input[type="datetime"]', 'input[type="datetime-local"]', 'input[type="time"]'
35
- $all-en-text-inputs: assign-inputs($inputs-en-list)