fl 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (137) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +44 -0
  3. data/Gemfile +5 -0
  4. data/Gemfile.lock +173 -0
  5. data/README.md +30 -0
  6. data/Rakefile +2 -0
  7. data/app/admin/options.rb +46 -0
  8. data/app/admin/pages.rb +55 -0
  9. data/app/admin/users.rb +34 -0
  10. data/app/assets/javascripts/active_admin.coffee.erb +20 -0
  11. data/app/assets/javascripts/application.coffee.erb +40 -0
  12. data/app/assets/javascripts/ckeditor/basepath.coffee.erb +21 -0
  13. data/app/assets/javascripts/ckeditor/config.coffee.erb +146 -0
  14. data/app/assets/javascripts/ckeditor/plugins/autogrow/plugin.js +232 -0
  15. data/app/assets/javascripts/ckeditor/plugins/autogrow/samples/autogrow.html +102 -0
  16. data/app/assets/javascripts/ckeditor/plugins/stylesheetparser/plugin.js +158 -0
  17. data/app/assets/javascripts/ckeditor/plugins/stylesheetparser/samples/assets/sample.css +70 -0
  18. data/app/assets/javascripts/ckeditor/plugins/stylesheetparser/samples/stylesheetparser.html +85 -0
  19. data/app/assets/javascripts/ckeditor/skins/minimalist/dialog.css +5 -0
  20. data/app/assets/javascripts/ckeditor/skins/minimalist/dialog_ie.css +5 -0
  21. data/app/assets/javascripts/ckeditor/skins/minimalist/dialog_ie7.css +5 -0
  22. data/app/assets/javascripts/ckeditor/skins/minimalist/dialog_ie8.css +5 -0
  23. data/app/assets/javascripts/ckeditor/skins/minimalist/dialog_iequirks.css +5 -0
  24. data/app/assets/javascripts/ckeditor/skins/minimalist/editor.css +5 -0
  25. data/app/assets/javascripts/ckeditor/skins/minimalist/editor_gecko.css +5 -0
  26. data/app/assets/javascripts/ckeditor/skins/minimalist/editor_ie.css +5 -0
  27. data/app/assets/javascripts/ckeditor/skins/minimalist/editor_ie7.css +5 -0
  28. data/app/assets/javascripts/ckeditor/skins/minimalist/editor_ie8.css +5 -0
  29. data/app/assets/javascripts/ckeditor/skins/minimalist/editor_iequirks.css +5 -0
  30. data/app/assets/javascripts/ckeditor/skins/minimalist/icons.png +0 -0
  31. data/app/assets/javascripts/ckeditor/skins/minimalist/icons_hidpi.png +0 -0
  32. data/app/assets/javascripts/ckeditor/skins/minimalist/images/arrow.png +0 -0
  33. data/app/assets/javascripts/ckeditor/skins/minimalist/images/close.png +0 -0
  34. data/app/assets/javascripts/ckeditor/skins/minimalist/images/hidpi/close.png +0 -0
  35. data/app/assets/javascripts/ckeditor/skins/minimalist/images/hidpi/lock-open.png +0 -0
  36. data/app/assets/javascripts/ckeditor/skins/minimalist/images/hidpi/lock.png +0 -0
  37. data/app/assets/javascripts/ckeditor/skins/minimalist/images/hidpi/refresh.png +0 -0
  38. data/app/assets/javascripts/ckeditor/skins/minimalist/images/lock-open.png +0 -0
  39. data/app/assets/javascripts/ckeditor/skins/minimalist/images/lock.png +0 -0
  40. data/app/assets/javascripts/ckeditor/skins/minimalist/images/refresh.png +0 -0
  41. data/app/assets/javascripts/ckeditor/skins/minimalist/readme.md +7 -0
  42. data/app/assets/javascripts/ckeditor/skins/minimalist/skin.js +10 -0
  43. data/app/assets/javascripts/ckeditor/skins/moonocolor/dialog.css +5 -0
  44. data/app/assets/javascripts/ckeditor/skins/moonocolor/dialog_ie.css +5 -0
  45. data/app/assets/javascripts/ckeditor/skins/moonocolor/dialog_ie7.css +5 -0
  46. data/app/assets/javascripts/ckeditor/skins/moonocolor/dialog_ie8.css +5 -0
  47. data/app/assets/javascripts/ckeditor/skins/moonocolor/dialog_iequirks.css +5 -0
  48. data/app/assets/javascripts/ckeditor/skins/moonocolor/editor.css +5 -0
  49. data/app/assets/javascripts/ckeditor/skins/moonocolor/editor_gecko.css +5 -0
  50. data/app/assets/javascripts/ckeditor/skins/moonocolor/editor_ie.css +5 -0
  51. data/app/assets/javascripts/ckeditor/skins/moonocolor/editor_ie7.css +5 -0
  52. data/app/assets/javascripts/ckeditor/skins/moonocolor/editor_ie8.css +5 -0
  53. data/app/assets/javascripts/ckeditor/skins/moonocolor/editor_iequirks.css +5 -0
  54. data/app/assets/javascripts/ckeditor/skins/moonocolor/icons.png +0 -0
  55. data/app/assets/javascripts/ckeditor/skins/moonocolor/icons_hidpi.png +0 -0
  56. data/app/assets/javascripts/ckeditor/skins/moonocolor/images/arrow.png +0 -0
  57. data/app/assets/javascripts/ckeditor/skins/moonocolor/images/close.png +0 -0
  58. data/app/assets/javascripts/ckeditor/skins/moonocolor/images/hidpi/close.png +0 -0
  59. data/app/assets/javascripts/ckeditor/skins/moonocolor/images/hidpi/lock-open.png +0 -0
  60. data/app/assets/javascripts/ckeditor/skins/moonocolor/images/hidpi/lock.png +0 -0
  61. data/app/assets/javascripts/ckeditor/skins/moonocolor/images/hidpi/refresh.png +0 -0
  62. data/app/assets/javascripts/ckeditor/skins/moonocolor/images/lock-open.png +0 -0
  63. data/app/assets/javascripts/ckeditor/skins/moonocolor/images/lock.png +0 -0
  64. data/app/assets/javascripts/ckeditor/skins/moonocolor/images/refresh.png +0 -0
  65. data/app/assets/javascripts/ckeditor/skins/moonocolor/images/spinner.gif +0 -0
  66. data/app/assets/javascripts/ckeditor/skins/moonocolor/readme.md +51 -0
  67. data/app/assets/javascripts/ckeditor/skins/moonocolor/skin.js +10 -0
  68. data/app/assets/javascripts/components/confirm.coffee +51 -0
  69. data/app/assets/javascripts/components/modals.coffee +29 -0
  70. data/app/assets/stylesheets/_defaults.yml +106 -0
  71. data/app/assets/stylesheets/_functions.sass.erb +75 -0
  72. data/app/assets/stylesheets/active_admin.sass +117 -0
  73. data/app/assets/stylesheets/application.sass.erb +46 -0
  74. data/app/assets/stylesheets/styles/reset.sass +139 -0
  75. data/app/assets/stylesheets/styles/structure.sass +69 -0
  76. data/app/assets/stylesheets/styles/ui/flash.sass +128 -0
  77. data/app/assets/stylesheets/styles/ui/fonts.sass +32 -0
  78. data/app/assets/stylesheets/styles/ui/modals.sass +61 -0
  79. data/app/assets/stylesheets/styles/ui/tooltips.sass +139 -0
  80. data/app/controllers/application_controller.rb +87 -0
  81. data/app/helpers/fl/application_helper.rb +53 -0
  82. data/app/helpers/fl/asset_helper.rb +50 -0
  83. data/app/helpers/fl/liquid_helper.rb +29 -0
  84. data/app/helpers/fl/meta_helper.rb +118 -0
  85. data/app/lib/active_record/concerns/base.rb +55 -0
  86. data/app/lib/active_record/concerns/seeds.rb +78 -0
  87. data/app/liquid/filters/meta_filter.rb +6 -0
  88. data/app/liquid/tags/google_analytics_tag.rb +32 -0
  89. data/app/liquid/tags/icon_tag.rb +37 -0
  90. data/app/liquid/tags/meta_tag.rb +120 -0
  91. data/app/mailers/application_mailer.rb +28 -0
  92. data/app/models/application_record.rb +3 -0
  93. data/app/models/asset.rb +95 -0
  94. data/app/models/association.rb +21 -0
  95. data/app/models/meta.rb +27 -0
  96. data/app/models/node.rb +59 -0
  97. data/app/models/profile.rb +49 -0
  98. data/app/models/user.rb +49 -0
  99. data/app/service/flash.rb +8 -0
  100. data/app/views/layouts/_admin.haml +6 -0
  101. data/app/views/layouts/_application.haml +17 -0
  102. data/app/views/layouts/base.haml +26 -0
  103. data/app/views/mailers/layouts/mailer.haml +8 -0
  104. data/app/views/mailers/layouts/mailer.text.erb +1 -0
  105. data/app/views/mailers/new_user.erb +4 -0
  106. data/bin/console +14 -0
  107. data/bin/setup +8 -0
  108. data/config/initializers/active_admin.rb +266 -0
  109. data/config/initializers/ckeditor.rb +63 -0
  110. data/config/initializers/devise.rb +279 -0
  111. data/config/initializers/friendly_id.rb +92 -0
  112. data/config/initializers/inflections.rb +20 -0
  113. data/config/initializers/liquid.rb +87 -0
  114. data/config/initializers/sass.rb +45 -0
  115. data/config/locales/devise.en.yml +62 -0
  116. data/config/locales/en.yml +13 -0
  117. data/config/puma.rb +59 -0
  118. data/config/routes.rb +56 -0
  119. data/db/migrate/20160616060637_create_nodes.rb +26 -0
  120. data/db/migrate/20160707080248_create_users.rb +52 -0
  121. data/db/migrate/20160707094704_create_slugs.rb +33 -0
  122. data/db/migrate/20160710095916_create_associations.rb +20 -0
  123. data/db/migrate/20160713061948_create_profiles.rb +27 -0
  124. data/db/migrate/20161115101221_create_assets.rb +25 -0
  125. data/db/migrate/20170725060408_create_active_admin_comments.rb +22 -0
  126. data/db/seeds.rb +81 -0
  127. data/fl.gemspec +73 -0
  128. data/lib/fl.rb +28 -0
  129. data/lib/fl/constants.rb +52 -0
  130. data/lib/fl/engine.rb +160 -0
  131. data/lib/fl/hash.rb +34 -0
  132. data/lib/generators/fl/sass_vars_generator.rb +16 -0
  133. data/lib/generators/fl/templates/sass.yml +56 -0
  134. data/lib/tasks/ckeditor.rake +37 -0
  135. data/lib/tasks/favicon.rake +37 -0
  136. data/readme/fl.jpg +0 -0
  137. metadata +416 -0
@@ -0,0 +1,46 @@
1
+ ////////////////////////////////////////////////////////////
2
+ ////////////////////////////////////////////////////////////
3
+ // ___ _ _ _ _ //
4
+ // / _ \ | (_) | | (_) //
5
+ // / /_\ \_ __ _ __ | |_ ___ __ _| |_ _ ___ _ __ //
6
+ // | _ | '_ \| '_ \| | |/ __/ _` | __| |/ _ \| '_ \ //
7
+ // | | | | |_) | |_) | | | (_| (_| | |_| | (_) | | | | //
8
+ // \_| |_/ .__/| .__/|_|_|\___\__,_|\__|_|\___/|_| |_| //
9
+ // | | | | //
10
+ // |_| |_| //
11
+ // //
12
+ ////////////////////////////////////////////////////////////
13
+ ////////////////////////////////////////////////////////////
14
+
15
+ // Icons
16
+ <%
17
+ gem_name = 'font-awesome-rails'
18
+ gdep = Gem::Dependency.new(gem_name)
19
+ %>
20
+
21
+ ////////////////////////////////////////////////////////////
22
+ ////////////////////////////////////////////////////////////
23
+
24
+ // Defaults
25
+ <%= FL::AssetHelper.sass File.join(File.dirname(__FILE__), "_defaults.yml"), true %>
26
+
27
+ ////////////////////////////////////////////////////////////
28
+ ////////////////////////////////////////////////////////////
29
+
30
+ // Main
31
+ @import variables
32
+ @import functions
33
+
34
+ // Libraries
35
+ @import animate-css
36
+ @import <%= gdep.matching_specs.max_by(&:version) ? "font-awesome" : "ionicons" %>
37
+
38
+ ////////////////////////////////////////////////////////////
39
+ ////////////////////////////////////////////////////////////
40
+
41
+ // Styling
42
+ @import styles/**/*
43
+ @import <%= File.join Rails.root, "app", "assets", "stylesheets", "styles", "**", "*" %>
44
+
45
+ ////////////////////////////////////////////////////////////
46
+ ////////////////////////////////////////////////////////////
@@ -0,0 +1,139 @@
1
+ //////////////////////////////////////////////////////
2
+ //////////////////////////////////////////////////////
3
+
4
+ //
5
+ // Global Reset of all HTML Elements
6
+ // Source - https://gist.github.com/joshuapowell/1680540
7
+ //
8
+ // Resetting all of our HTML Elements ensures a smoother
9
+ // visual transition between browsers. If you don't believe me,
10
+ // try temporarily commenting out this block of code, then go
11
+ // and look at Mozilla versus Safari, both good browsers with
12
+ // a good implementation of CSS. The thing is, all browser CSS
13
+ // defaults are different and at the end of the day if visual
14
+ // consistency is what we're shooting for, then we need to
15
+ // make sure we're resetting all spacing elements.
16
+ //
17
+
18
+ //////////////////////////////////////////////////////
19
+ //////////////////////////////////////////////////////
20
+ // _____ _ //
21
+ // | ___ \ | | //
22
+ // | |_/ /___ ___ ___| |_ //
23
+ // | // _ \/ __|/ _ \ __| //
24
+ // | |\ \ __/\__ \ __/ |_ //
25
+ // \_| \_\___||___/\___|\__| //
26
+ // //
27
+ //////////////////////////////////////////////////////
28
+ //////////////////////////////////////////////////////
29
+
30
+ // Selection //
31
+ ::selection
32
+ color: $base-selection-color
33
+ background: $base-selection-background
34
+
35
+ //////////////////////////////////////////////////////
36
+ //////////////////////////////////////////////////////
37
+
38
+ // Eveything //
39
+ *
40
+ margin: 0
41
+
42
+ // General //
43
+ html, body
44
+ margin: 0
45
+ padding: 0
46
+ height: 100%
47
+
48
+ // Body //
49
+ body
50
+ position: relative
51
+ height: 100%
52
+ color: $base-color
53
+ background: $base-background
54
+ cursor: $base-cursor-default
55
+ font:
56
+ size: $base-font-size
57
+ family: $base-font-family
58
+ weight: $base-font-weight
59
+
60
+ //////////////////////////////////////////////////////
61
+ //////////////////////////////////////////////////////
62
+
63
+ div, span, object, iframe, img, table, caption, thead, tbody, tfoot, tr, td, article, aside, canvas, details, figure, hgroup, menu, nav, footer, header, section, summary, mark, audio, video, flash
64
+ //border: 0
65
+
66
+ // Headers //
67
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, address, cit, code, del, dfn, em, ins, q, samp, small, strong, sub, sup, b, i, hr, dl, dt, dd, ol, ul, li, fieldset, legend, label
68
+ border: 0
69
+ vertical:
70
+ align: baseline
71
+
72
+ // Articles //
73
+ article, aside, canvas
74
+ display: block
75
+
76
+ // Input Styling //
77
+ input,
78
+ select,
79
+ textarea
80
+ font:
81
+ family: $base-font-family
82
+ &:hover
83
+ cursor: $base-cursor-hover
84
+
85
+ // Figures //
86
+ figure, figcaption, hgroup, footer, header, nav, section, audio, video
87
+ display: block
88
+ img
89
+ display: block
90
+
91
+ // Tables //
92
+ table
93
+ border:
94
+ collapse: separate
95
+ spacing: 0
96
+
97
+ // Horizontal Rules //
98
+ hr
99
+ display: block
100
+ margin: $base-horizontal-margin
101
+ height: $base-horizontal-height
102
+ background: $base-horizontal-color
103
+ box:
104
+ shadow: $base-horizontal-shadow
105
+
106
+ // Bold //
107
+ b
108
+ color: $base-color
109
+
110
+ // Paragraphs //
111
+ p
112
+ display: block
113
+ margin:
114
+ bottom: 1.25em
115
+
116
+ // Links //
117
+ a
118
+ color: $base-link-color
119
+ transition: opacity $animation-duration ease-in-out
120
+ position: relative
121
+ text:
122
+ decoration: $base-link-text-decoration
123
+ z:
124
+ index: 6
125
+
126
+ // Hover //
127
+ &:hover
128
+ cursor: $base-cursor-hover
129
+ opacity: $base-link-hover-opacity
130
+
131
+ // Img //
132
+ img
133
+ border: 0
134
+
135
+ \:focus
136
+ outline: 0
137
+
138
+ //////////////////////////////////////////////////////
139
+ //////////////////////////////////////////////////////
@@ -0,0 +1,69 @@
1
+ //////////////////////////////////////////////////////
2
+ //////////////////////////////////////////////////////
3
+ // _____ _ _ //
4
+ // / ___| | | | //
5
+ // \ `--.| |_ _ __ _ _ ___| |_ _ _ _ __ ___ //
6
+ // `--. \ __| '__| | | |/ __| __| | | | '__/ _ \ //
7
+ // /\__/ / |_| | | |_| | (__| |_| |_| | | | __/ //
8
+ // \____/ \__|_| \__,_|\___|\__|\__,_|_| \___| //
9
+ // //
10
+ //////////////////////////////////////////////////////
11
+ //////////////////////////////////////////////////////
12
+
13
+ // Body //
14
+ body
15
+
16
+ //////////////////////////////////////
17
+ //////////////////////////////////////
18
+
19
+ // Standard //
20
+ > header,
21
+ > footer
22
+ clear: both
23
+ position: fixed
24
+ width: 100%
25
+ left: 0
26
+ box:
27
+ sizing: border-box
28
+ z:
29
+ index: 10
30
+
31
+ //////////////////////////////////////
32
+ //////////////////////////////////////
33
+
34
+ // Header //
35
+ > header
36
+ top: 0
37
+ padding: $header-padding
38
+
39
+ //////////////////////////////////////
40
+ //////////////////////////////////////
41
+
42
+ // Main //
43
+ > main
44
+ display: block
45
+ position: relative
46
+ height: 100%
47
+ padding: $header-padding $footer-padding
48
+ min:
49
+ height: 100%
50
+ max:
51
+ height: 100%
52
+ box:
53
+ sizing: border-box
54
+ overflow:
55
+ y: hidden
56
+
57
+ //////////////////////////////////////
58
+ //////////////////////////////////////
59
+
60
+ // Footer //
61
+ > footer
62
+ bottom: 0
63
+ padding: $footer-padding
64
+
65
+ //////////////////////////////////////
66
+ //////////////////////////////////////
67
+
68
+ //////////////////////////////////////////////////////
69
+ //////////////////////////////////////////////////////
@@ -0,0 +1,128 @@
1
+ /////////////////////////////////////////////
2
+ /////////////////////////////////////////////
3
+ // ______ _ _ //
4
+ // | ___| | | | //
5
+ // | |_ | | __ _ ___| |__ //
6
+ // | _| | |/ _` / __| '_ \ //
7
+ // | | | | (_| \__ \ | | | //
8
+ // \_| |_|\__,_|___/_| |_| //
9
+ // //
10
+ /////////////////////////////////////////////
11
+ /////////////////////////////////////////////
12
+
13
+ // In the new Rails, this will come through
14
+ // as a real-time notification.
15
+
16
+ /////////////////////////////////////////////
17
+ /////////////////////////////////////////////
18
+
19
+ // Flash
20
+ flash#flash
21
+ $padding: 0.5em
22
+
23
+ // http://stackoverflow.com/a/485887/1143732 (for sizing with margin)
24
+ position: fixed
25
+ top: 2em
26
+ left: 0
27
+ right: 0
28
+ margin: 0 1em
29
+ z:
30
+ index: 10000
31
+
32
+ // Message
33
+ > message
34
+ display: block
35
+ padding: ($padding + 0.1em) $padding $padding 0
36
+ margin: 0 auto 0.5em
37
+ color: rgba(255,255,255,1)
38
+ background-color: rgba(0,0,0,1)
39
+ border: 1px solid rgba(0,0,0,0.85)
40
+ transition: background ($animation-duration * 0.65) ease-in-out, opacity ($animation-duration * 0.85) ease-in-out
41
+ font:
42
+ size: 0.85em
43
+ weight: bold
44
+ text:
45
+ align: center
46
+ shadow: 1px 1px 0 rgba(0,0,0,1)
47
+ transform: capitalize
48
+ border:
49
+ radius: 3px
50
+ box:
51
+ sizing: border-box
52
+ shadow: 0 1px 1px 0 rgba(0,0,0,0.35)
53
+ animation:
54
+ delay: 0.5s
55
+
56
+ &:after
57
+ content: ""
58
+ display: block
59
+ position: absolute
60
+ width: 100%
61
+ height: 1px
62
+ top: 0
63
+ left: 0
64
+ background: rgba(255,255,255,0.145)
65
+ transition: background ($animation-duration * 0.65) ease-in-out
66
+
67
+ //
68
+
69
+ &:hover
70
+ cursor: pointer
71
+ background-color: rgba(0,0,0,0.5)
72
+ &:after
73
+ background: rgba(255,255,255,0.18)
74
+
75
+ &:active
76
+ background-color: rgba(0,0,0,0.75)
77
+ &:after
78
+ background: rgba(255,255,255,0.16)
79
+
80
+ ////
81
+
82
+ // Styling
83
+ $options: (notice: rgba(#FF002F,1), error: rgba(184,11,14,1), alert: rgba(11,83,184,1))
84
+ @each $option, $color in $options
85
+ @if map-has-key($options, $option)
86
+ &.#{$option}
87
+ background: linear-gradient(bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.65) 100%)
88
+ background:
89
+ color: $color
90
+
91
+ &:hover
92
+ background:
93
+ color: darken($color, 5%)
94
+
95
+ &:active
96
+ background:
97
+ color: darken($color, 7%)
98
+ @else
99
+ @warn "Unfortunately, no value could be retrieved from `#{$option}`. "
100
+
101
+ ////
102
+
103
+ i
104
+ position: absolute
105
+ left: 0
106
+ top: 0
107
+ height: 100%
108
+ border:
109
+ right: 1px solid rgba(0,0,0,0.15)
110
+
111
+ &:before
112
+ display: block
113
+ padding: ($padding + 0.15em) 0 $padding
114
+ margin: 0 ($padding + 0.15em) 0 ($padding + 0.25em)
115
+
116
+ &:after
117
+ content: ""
118
+ display: block
119
+ position: absolute
120
+ top: 0
121
+ right: -2px
122
+ width: 1px
123
+ height: 100%
124
+ background: rgba(255,255,255,0.1)
125
+
126
+
127
+ /////////////////////////////////////////////
128
+ /////////////////////////////////////////////
@@ -0,0 +1,32 @@
1
+ /////////////////////////////////////////////
2
+ /////////////////////////////////////////////
3
+ // ______ __ //
4
+ // | ___| | | //
5
+ // | |_ ___ _ __ | |_ ___ //
6
+ // | _/ _ \| '_ \| __/ __| //
7
+ // | || (_) | | | | |_\__ \ //
8
+ // \_| \___/|_| |_|\__|___/ //
9
+ // //
10
+ /////////////////////////////////////////////
11
+ /////////////////////////////////////////////
12
+
13
+ //http://bourbon.io/docs/#font-face
14
+
15
+ // Antenna
16
+ // Ref https://github.com/thoughtbot/bourbon/blob/tg-5-0-documentation/core/bourbon/library/_font-face.scss
17
+ // Have to set "file formats" manually https://github.com/thoughtbot/bourbon/blob/tg-5-0-documentation/core/bourbon/settings/_settings.scss#L31
18
+ //$family: ( thin: 200, regular: 400, medium: 600 )
19
+
20
+ //@each $name, $weight in $family
21
+ // @include font-face("Antenna", "antenna/#{$name}/#{$name}", ("ttf", "woff", "svg", "eot"), true)
22
+ // font:
23
+ // weight: $weight
24
+ // style: normal
25
+
26
+ // @include font-face("Antenna", "antenna/#{$name}/italic", ("ttf", "woff", "svg", "eot"), true)
27
+ // font:
28
+ // weight: $weight
29
+ // style: italic
30
+
31
+ /////////////////////////////////////////////
32
+ /////////////////////////////////////////////
@@ -0,0 +1,61 @@
1
+ /////////////////////////////////////////////
2
+ /////////////////////////////////////////////
3
+ // __ __ _ _ //
4
+ // | \/ | | | | | //
5
+ // | . . | ___ __| | __ _| |___ //
6
+ // | |\/| |/ _ \ / _` |/ _` | / __| //
7
+ // | | | | (_) | (_| | (_| | \__ \ //
8
+ // \_| |_/\___/ \__,_|\__,_|_|___/ //
9
+ /////////////////////////////////////////////
10
+ /////////////////////////////////////////////
11
+
12
+ /// Last updated 18/06/2017
13
+ /// Bootstrap 4.0.0.alpha-6
14
+ /// R.Peck
15
+
16
+ /////////////////////////////////////////////
17
+ /////////////////////////////////////////////
18
+
19
+ // Modals //
20
+ modal
21
+
22
+ //////////////////////////////////////
23
+ //////////////////////////////////////
24
+
25
+ // Main //
26
+ > main
27
+ display: block
28
+ position: absolute
29
+ top: 50%
30
+ left: 50%
31
+ width: fit-content
32
+ height: auto
33
+ cursor: $base-cursor-default
34
+ border: $base-modal-border
35
+ background: $base-modal-background
36
+ transform: translateX(-100%) translateY(-100%)
37
+ perspective: 1px
38
+ max:
39
+ height: 95%
40
+ box:
41
+ sizing: border-box
42
+
43
+ ///////////////////////////////////
44
+ ///////////////////////////////////
45
+
46
+ // Title //
47
+ > title
48
+
49
+ // Move //
50
+ &.move
51
+ cursor: $base-cursor-move
52
+
53
+ // Exit //
54
+ > .exit
55
+ display: block
56
+
57
+ //////////////////////////////////////
58
+ //////////////////////////////////////
59
+
60
+ /////////////////////////////////////////////
61
+ /////////////////////////////////////////////