thesis 0.1.1 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (123) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +103 -68
  3. data/app/assets/javascripts/thesis.js +1 -0
  4. data/app/assets/javascripts/thesis/thesis.coffee +250 -0
  5. data/app/assets/javascripts/thesis/utilities.coffee +13 -0
  6. data/app/assets/stylesheets/thesis.sass +4 -0
  7. data/app/assets/stylesheets/thesis/_mixins/_barber-pole.sass +5 -0
  8. data/app/assets/stylesheets/thesis/_mixins/editor.sass +15 -0
  9. data/app/assets/stylesheets/thesis/_thesis.sass +207 -0
  10. data/app/assets/stylesheets/thesis/base/_base.sass +5 -0
  11. data/app/assets/stylesheets/thesis/base/_colors.sass +6 -0
  12. data/app/assets/stylesheets/thesis/base/_fonts.sass +6 -0
  13. data/app/assets/stylesheets/thesis/base/_forms.scss +165 -0
  14. data/app/assets/stylesheets/thesis/base/_keyframes.sass +205 -0
  15. data/app/assets/stylesheets/thesis/base/bourbon/_bourbon-deprecated-upcoming.scss +8 -0
  16. data/app/assets/stylesheets/thesis/base/bourbon/_bourbon.scss +79 -0
  17. data/app/assets/stylesheets/thesis/base/bourbon/addons/_button.scss +374 -0
  18. data/app/assets/stylesheets/thesis/base/bourbon/addons/_clearfix.scss +23 -0
  19. data/app/assets/stylesheets/thesis/base/bourbon/addons/_directional-values.scss +111 -0
  20. data/app/assets/stylesheets/thesis/base/bourbon/addons/_ellipsis.scss +7 -0
  21. data/app/assets/stylesheets/thesis/base/bourbon/addons/_font-family.scss +5 -0
  22. data/app/assets/stylesheets/thesis/base/bourbon/addons/_hide-text.scss +10 -0
  23. data/app/assets/stylesheets/thesis/base/bourbon/addons/_html5-input-types.scss +86 -0
  24. data/app/assets/stylesheets/thesis/base/bourbon/addons/_position.scss +32 -0
  25. data/app/assets/stylesheets/thesis/base/bourbon/addons/_prefixer.scss +45 -0
  26. data/app/assets/stylesheets/thesis/base/bourbon/addons/_retina-image.scss +31 -0
  27. data/app/assets/stylesheets/thesis/base/bourbon/addons/_size.scss +16 -0
  28. data/app/assets/stylesheets/thesis/base/bourbon/addons/_timing-functions.scss +32 -0
  29. data/app/assets/stylesheets/thesis/base/bourbon/addons/_triangle.scss +83 -0
  30. data/app/assets/stylesheets/thesis/base/bourbon/addons/_word-wrap.scss +8 -0
  31. data/app/assets/stylesheets/thesis/base/bourbon/css3/_animation.scss +52 -0
  32. data/app/assets/stylesheets/thesis/base/bourbon/css3/_appearance.scss +3 -0
  33. data/app/assets/stylesheets/thesis/base/bourbon/css3/_backface-visibility.scss +6 -0
  34. data/app/assets/stylesheets/thesis/base/bourbon/css3/_background-image.scss +42 -0
  35. data/app/assets/stylesheets/thesis/base/bourbon/css3/_background.scss +55 -0
  36. data/app/assets/stylesheets/thesis/base/bourbon/css3/_border-image.scss +59 -0
  37. data/app/assets/stylesheets/thesis/base/bourbon/css3/_border-radius.scss +22 -0
  38. data/app/assets/stylesheets/thesis/base/bourbon/css3/_box-sizing.scss +4 -0
  39. data/app/assets/stylesheets/thesis/base/bourbon/css3/_calc.scss +4 -0
  40. data/app/assets/stylesheets/thesis/base/bourbon/css3/_columns.scss +47 -0
  41. data/app/assets/stylesheets/thesis/base/bourbon/css3/_filter.scss +5 -0
  42. data/app/assets/stylesheets/thesis/base/bourbon/css3/_flex-box.scss +321 -0
  43. data/app/assets/stylesheets/thesis/base/bourbon/css3/_font-face.scss +23 -0
  44. data/app/assets/stylesheets/thesis/base/bourbon/css3/_font-feature-settings.scss +10 -0
  45. data/app/assets/stylesheets/thesis/base/bourbon/css3/_hidpi-media-query.scss +10 -0
  46. data/app/assets/stylesheets/thesis/base/bourbon/css3/_hyphens.scss +4 -0
  47. data/app/assets/stylesheets/thesis/base/bourbon/css3/_image-rendering.scss +14 -0
  48. data/app/assets/stylesheets/thesis/base/bourbon/css3/_keyframes.scss +35 -0
  49. data/app/assets/stylesheets/thesis/base/bourbon/css3/_linear-gradient.scss +38 -0
  50. data/app/assets/stylesheets/thesis/base/bourbon/css3/_perspective.scss +8 -0
  51. data/app/assets/stylesheets/thesis/base/bourbon/css3/_placeholder.scss +8 -0
  52. data/app/assets/stylesheets/thesis/base/bourbon/css3/_radial-gradient.scss +39 -0
  53. data/app/assets/stylesheets/thesis/base/bourbon/css3/_transform.scss +15 -0
  54. data/app/assets/stylesheets/thesis/base/bourbon/css3/_transition.scss +77 -0
  55. data/app/assets/stylesheets/thesis/base/bourbon/css3/_user-select.scss +3 -0
  56. data/app/assets/stylesheets/thesis/base/bourbon/functions/_assign.scss +11 -0
  57. data/app/assets/stylesheets/thesis/base/bourbon/functions/_color-lightness.scss +13 -0
  58. data/app/assets/stylesheets/thesis/base/bourbon/functions/_flex-grid.scss +39 -0
  59. data/app/assets/stylesheets/thesis/base/bourbon/functions/_golden-ratio.scss +3 -0
  60. data/app/assets/stylesheets/thesis/base/bourbon/functions/_grid-width.scss +13 -0
  61. data/app/assets/stylesheets/thesis/base/bourbon/functions/_modular-scale.scss +66 -0
  62. data/app/assets/stylesheets/thesis/base/bourbon/functions/_px-to-em.scss +13 -0
  63. data/app/assets/stylesheets/thesis/base/bourbon/functions/_px-to-rem.scss +15 -0
  64. data/app/assets/stylesheets/thesis/base/bourbon/functions/_strip-units.scss +5 -0
  65. data/app/assets/stylesheets/thesis/base/bourbon/functions/_tint-shade.scss +9 -0
  66. data/app/assets/stylesheets/thesis/base/bourbon/functions/_transition-property-name.scss +22 -0
  67. data/app/assets/stylesheets/thesis/base/bourbon/functions/_unpack.scss +17 -0
  68. data/app/assets/stylesheets/thesis/base/bourbon/helpers/_convert-units.scss +15 -0
  69. data/app/assets/stylesheets/thesis/base/bourbon/helpers/_gradient-positions-parser.scss +13 -0
  70. data/app/assets/stylesheets/thesis/base/bourbon/helpers/_is-num.scss +8 -0
  71. data/app/assets/stylesheets/thesis/base/bourbon/helpers/_linear-angle-parser.scss +25 -0
  72. data/app/assets/stylesheets/thesis/base/bourbon/helpers/_linear-gradient-parser.scss +41 -0
  73. data/app/assets/stylesheets/thesis/base/bourbon/helpers/_linear-positions-parser.scss +61 -0
  74. data/app/assets/stylesheets/thesis/base/bourbon/helpers/_linear-side-corner-parser.scss +31 -0
  75. data/app/assets/stylesheets/thesis/base/bourbon/helpers/_radial-arg-parser.scss +69 -0
  76. data/app/assets/stylesheets/thesis/base/bourbon/helpers/_radial-gradient-parser.scss +50 -0
  77. data/app/assets/stylesheets/thesis/base/bourbon/helpers/_radial-positions-parser.scss +18 -0
  78. data/app/assets/stylesheets/thesis/base/bourbon/helpers/_render-gradients.scss +26 -0
  79. data/app/assets/stylesheets/thesis/base/bourbon/helpers/_shape-size-stripper.scss +10 -0
  80. data/app/assets/stylesheets/thesis/base/bourbon/helpers/_str-to-num.scss +50 -0
  81. data/app/assets/stylesheets/thesis/base/bourbon/settings/_asset-pipeline.scss +1 -0
  82. data/app/assets/stylesheets/thesis/base/bourbon/settings/_prefixer.scss +6 -0
  83. data/app/assets/stylesheets/thesis/base/bourbon/settings/_px-to-em.scss +1 -0
  84. data/lib/generators/thesis/install/install_generator.rb +21 -13
  85. data/lib/thesis/controllers/controller_helpers.rb +11 -5
  86. data/lib/thesis/controllers/thesis_controller.rb +16 -13
  87. data/lib/thesis/models/page.rb +29 -22
  88. data/lib/thesis/models/page_content.rb +44 -29
  89. data/lib/thesis/routing/route_constraint.rb +8 -2
  90. data/lib/thesis/routing/routes.rb +2 -3
  91. data/lib/thesis/version.rb +1 -1
  92. data/spec/factories/pages.rb +1 -1
  93. data/spec/spec_helper.rb +2 -2
  94. data/spec/{lib/thesis → thesis}/controllers/thesis_controller_spec.rb +15 -13
  95. data/spec/{lib/thesis → thesis}/models/page_content_spec.rb +4 -4
  96. data/spec/{lib/thesis → thesis}/models/page_spec.rb +0 -0
  97. data/spec/thesis/routing/thesis_routing_spec.rb +23 -0
  98. metadata +137 -56
  99. data/app/assets/javascripts/thesis/thesis.js.coffee +0 -157
  100. data/app/assets/stylesheets/thesis.css +0 -4
  101. data/app/assets/stylesheets/thesis/font-awesome/font-awesome.scss +0 -534
  102. data/app/assets/stylesheets/thesis/font/FontAwesome.otf +0 -0
  103. data/app/assets/stylesheets/thesis/font/fontawesome-webfont.eot +0 -0
  104. data/app/assets/stylesheets/thesis/font/fontawesome-webfont.svg +0 -284
  105. data/app/assets/stylesheets/thesis/font/fontawesome-webfont.ttf +0 -0
  106. data/app/assets/stylesheets/thesis/font/fontawesome-webfont.woff +0 -0
  107. data/app/assets/stylesheets/thesis/jquery-ui/images/animated-overlay.gif +0 -0
  108. data/app/assets/stylesheets/thesis/jquery-ui/images/ui-bg_flat_30_cccccc_40x100.png +0 -0
  109. data/app/assets/stylesheets/thesis/jquery-ui/images/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
  110. data/app/assets/stylesheets/thesis/jquery-ui/images/ui-bg_glass_20_555555_1x400.png +0 -0
  111. data/app/assets/stylesheets/thesis/jquery-ui/images/ui-bg_glass_40_0078a3_1x400.png +0 -0
  112. data/app/assets/stylesheets/thesis/jquery-ui/images/ui-bg_glass_40_ffc73d_1x400.png +0 -0
  113. data/app/assets/stylesheets/thesis/jquery-ui/images/ui-bg_gloss-wave_25_333333_500x100.png +0 -0
  114. data/app/assets/stylesheets/thesis/jquery-ui/images/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
  115. data/app/assets/stylesheets/thesis/jquery-ui/images/ui-bg_inset-soft_25_000000_1x100.png +0 -0
  116. data/app/assets/stylesheets/thesis/jquery-ui/images/ui-bg_inset-soft_30_f58400_1x100.png +0 -0
  117. data/app/assets/stylesheets/thesis/jquery-ui/images/ui-icons_222222_256x240.png +0 -0
  118. data/app/assets/stylesheets/thesis/jquery-ui/images/ui-icons_4b8e0b_256x240.png +0 -0
  119. data/app/assets/stylesheets/thesis/jquery-ui/images/ui-icons_a83300_256x240.png +0 -0
  120. data/app/assets/stylesheets/thesis/jquery-ui/images/ui-icons_cccccc_256x240.png +0 -0
  121. data/app/assets/stylesheets/thesis/jquery-ui/images/ui-icons_ffffff_256x240.png +0 -0
  122. data/app/assets/stylesheets/thesis/jquery-ui/jquery-ui-1.10.2.custom.css +0 -1175
  123. data/app/assets/stylesheets/thesis/thesis.css.scss +0 -65
@@ -0,0 +1,13 @@
1
+ class @Utilities
2
+
3
+ # settimeout
4
+ @delay: (ms, func) -> setTimeout func, ms
5
+
6
+ # smoothscroll
7
+ @scroll_to: (area, modifier, callback) ->
8
+ modifier = modifier || 0
9
+ go_to_position = $(area).offset().top
10
+ $("html,body").stop()
11
+ $("html,body").animate
12
+ scrollTop: go_to_position + modifier
13
+ , "slow", callback
@@ -0,0 +1,4 @@
1
+ @import "thesis/base/bourbon/bourbon"
2
+ @import "thesis/base/base"
3
+ @import "thesis/_mixins/**/*"
4
+ @import "thesis/thesis"
@@ -0,0 +1,5 @@
1
+ @mixin barber_pole($color:$gray, $intensity:0.25, $speed:.7s)
2
+ @include animation(barber_pole $speed linear infinite)
3
+ @include background-image(linear-gradient(-45deg, rgba(255,255,255, $intensity) 25%,transparent 25%,transparent 50%,rgba(255,255,255, $intensity) 50%,rgba(255,255,255, $intensity) 75%,transparent 75%))
4
+ background-color : $color
5
+ background-size : 30px 30px
@@ -0,0 +1,15 @@
1
+ @mixin editor_icons($icons)
2
+ @each $class, $color in $icons
3
+ &.#{$class} > i
4
+ background-color: $color
5
+ &:hover
6
+ background-color: darken($color, 8%)
7
+ @include transition(background-color .3s ease-in-out)
8
+
9
+ @mixin curve_buttons($limit)
10
+ @for $i from 1 to $limit
11
+ &:nth-child(#{$i})
12
+ @include transform(rotate(- (($limit - $i) * 3.14)+deg))
13
+ @include transform-origin(100% 100%)
14
+ $right: (($limit - $i) * $limit) * ($limit + 1 - $i) / 3
15
+ right: $right+px
@@ -0,0 +1,207 @@
1
+ body
2
+ @include transition(all .3s ease-in-out)
3
+
4
+ #thesis-editor
5
+ display : block
6
+ position : absolute
7
+ right : 15px
8
+ bottom : 15px
9
+ z-index : 1040
10
+ position : fixed
11
+ z-index : 1040
12
+ color : white
13
+ line-height : 0
14
+ font-size : 0
15
+ text-decoration : none
16
+
17
+ .thesis-button
18
+ @include editor_icons(("cancel": $orange, "delete": $pink, "add": $blue, "save": $green, "settings": $yellow ))
19
+ @include transition(opacity .75s ease-in-out, right .75s ease-in-out, transform .75s ease-in-out, padding .001s linear .75s, height .001s linear .75s)
20
+ right : 0
21
+ opacity : 0
22
+ display : block
23
+ float : right
24
+ clear : both
25
+ text-align : right
26
+ position : relative
27
+ cursor : pointer
28
+ padding : 0px 0px
29
+ height : 0px
30
+ width : auto
31
+
32
+ &.edit
33
+ opacity : 1
34
+ height : 70px
35
+ padding-bottom : 0px !important
36
+
37
+ &:hover
38
+ min-width : 320px
39
+
40
+ .tooltip
41
+ position : relative
42
+ right : 0px
43
+ opacity : 1
44
+ @include transition(all .2s ease-out)
45
+
46
+ i
47
+ position : relative
48
+ z-index : 2
49
+ width : 60px
50
+ height : 60px
51
+ display : inline-block
52
+ background-color : $gray
53
+ border : 3px solid white
54
+ font-size : 30px
55
+ line-height : 55px
56
+ text-align : center
57
+ vertical-align : middle
58
+ @include transition(background-color .3s ease-in-out)
59
+
60
+ &:hover
61
+ background-color: darken($gray, 8%)
62
+ @include transition(background-color .3s ease-in-out)
63
+
64
+ .tooltip
65
+ z-index : 1
66
+ position : absolute
67
+ right : -30px
68
+ font-size : 13px
69
+ color : white
70
+ background : rgba(black, .70)
71
+ padding : 5px 15px 4px
72
+ line-height : 1
73
+ opacity : 0
74
+ text-transform : uppercase
75
+ letter-spacing : 1px
76
+ vertical-align : middle
77
+ display : inline-block
78
+ font-weight : normal
79
+ margin-right : 15px
80
+ border : 2px solid white
81
+
82
+ &.error
83
+ background : rgba(darken(red, 20%), .75)
84
+
85
+
86
+ body.thesis-editing
87
+
88
+ .thesis-content
89
+ position : relative
90
+ z-index : 1039
91
+ padding : 5px
92
+ min-width : 40px
93
+ display : block
94
+ outline : 2px solid lighten($yellow,15%) !important
95
+ cursor : crosshair
96
+ min-height : 1em
97
+
98
+ &:before, &:after
99
+ @include box-sizing(content-box)
100
+ @include barber_pole(lighten($orange,15%), .5, 1.5s)
101
+ position : absolute
102
+ padding : 2px
103
+ top : -2px
104
+ left : -2px
105
+ width : 100%
106
+ height : 100%
107
+ content : ""
108
+ z-index : -2
109
+ opacity : 0
110
+
111
+ &:after
112
+ @include transition(opacity .7s ease-in-out)
113
+ padding : 0
114
+ background : white
115
+ z-index : -1
116
+ top : 0
117
+ left : 0
118
+ opacity : .8
119
+
120
+ &.isModified
121
+ outline : 2px solid lighten($green,15%) !important
122
+
123
+ &.inEditMode
124
+ outline : none !important
125
+ cursor : text
126
+
127
+ &:before
128
+ opacity: 1
129
+
130
+ &:after
131
+ @include transition(none)
132
+ opacity: 1
133
+
134
+ #thesis-editor
135
+ .thesis-button
136
+ &.edit
137
+ i
138
+ @include barber_pole
139
+
140
+ &.active
141
+ .thesis-button
142
+ @include curve_buttons(6)
143
+ @include transition(opacity .75s ease-in-out, right .75s ease-in-out, transform .75s ease-in-out)
144
+ padding : 10px 0px
145
+ opacity : 1
146
+ height : 80px
147
+
148
+ .hallotoolbar
149
+ z-index: 1040
150
+
151
+ .thesis-fader
152
+ top : 0px
153
+ left : 0px
154
+ width : 100%
155
+ height : 100%
156
+ position : fixed
157
+ background-color : rgba(29, 49, 58, .15)
158
+ cursor : not-allowed
159
+ z-index : 1038
160
+ @include animation(thesis_fader .7s ease-in-out)
161
+
162
+ #thesis-modal
163
+ display : none
164
+ position : fixed
165
+ width : 600px
166
+ height : auto
167
+ background : white
168
+ left : 50%
169
+ top : 50%
170
+ margin-left : -300px
171
+ margin-top : -100px
172
+ border-radius : 50px
173
+ z-index : 1039
174
+ padding : 25px
175
+ border : 3px solid $blue
176
+ box-shadow : 0px 0px 0px 4px white
177
+ color : darken($gray, 20%)
178
+ font-family : $raleway
179
+ @include animation(modal_border 10s ease-in-out infinite)
180
+
181
+ &.settings
182
+ margin-top : -252px
183
+
184
+ .modal-icon
185
+ text-align : center
186
+ font-size : 24px
187
+ font-weight : 300
188
+ color : $blue
189
+ margin-bottom : 5px
190
+ @include animation(modal_icon_color 10s ease-in-out infinite)
191
+
192
+ .modal-title
193
+ text-align : center
194
+ font-weight : 300
195
+ font-size : 28px
196
+ margin-bottom : 15px
197
+
198
+ &.windows
199
+ .modal-field.cancel
200
+ float: right
201
+
202
+ .modal-field.save
203
+ float: left
204
+
205
+ body.thesis-blur #wrapper
206
+ @include transition(all .3s ease-in-out)
207
+ @include filter(blur(12px))
@@ -0,0 +1,5 @@
1
+ @import "colors"
2
+ @import "fonts"
3
+ @import "../_mixins/**/*"
4
+ @import "keyframes"
5
+ @import "forms"
@@ -0,0 +1,6 @@
1
+ $gray : #A0A1A6
2
+ $orange : #F88834
3
+ $pink : #CB006C
4
+ $green : #76A642
5
+ $blue : #1BB6EC
6
+ $yellow : #f0c600
@@ -0,0 +1,6 @@
1
+ // RALEWAY
2
+ @import url(//fonts.googleapis.com/css?family=Raleway:400,300,700)
3
+ $raleway: "Raleway", sans-serif
4
+
5
+ // FONT AWESOME
6
+ @import url(//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.2.0/css/font-awesome.min.css)
@@ -0,0 +1,165 @@
1
+ #thesis-modal {
2
+ form {
3
+ margin : 0;
4
+ padding : 0
5
+ }
6
+
7
+ input,
8
+ label,
9
+ select {
10
+ display : block;
11
+ font-family : $raleway;
12
+ font-size : 12px;
13
+ }
14
+
15
+ label {
16
+ font-weight : normal;
17
+ margin-bottom : 8px;
18
+
19
+ &.required:after {
20
+ content: "*";
21
+ }
22
+
23
+ abbr {
24
+ display: none;
25
+ }
26
+ }
27
+
28
+ textarea,
29
+ input,
30
+ button,
31
+ select[multiple=multiple] {
32
+ @include box-sizing(border-box);
33
+ @include transition(border-color);
34
+ background-color : white;
35
+ border : none;
36
+ box-shadow : none;
37
+ font-family : $raleway;
38
+ font-size : 17px;
39
+ margin-bottom : 0px;
40
+ padding : 5px 0px;
41
+ width : 100%;
42
+ color : darken($gray, 20%);
43
+ font-weight : bold;
44
+
45
+ @include placeholder {
46
+ color: #A7AAAB;
47
+ }
48
+ }
49
+
50
+ textarea {
51
+ resize : vertical;
52
+ height : 60px;
53
+ }
54
+
55
+ input[type="search"] {
56
+ @include appearance(none);
57
+ }
58
+
59
+ input[type="checkbox"], input[type="radio"] {
60
+ display : inline;
61
+ margin-right : 15px;
62
+ }
63
+
64
+ input[type="file"] {
65
+ margin-bottom : 8px;
66
+ width : 100%;
67
+ }
68
+
69
+ select {
70
+ width : auto;
71
+ max-width : 100%;
72
+ margin-bottom : 8px;
73
+ }
74
+
75
+ label.checkbox {
76
+ margin-bottom : 10px;
77
+ // @extend %noselect;
78
+
79
+ input {
80
+ display : none;
81
+ }
82
+
83
+ input:checked {
84
+ + span:before {
85
+ background : image-url('ico.checkbox-selected.png') no-repeat center center;
86
+ }
87
+ }
88
+
89
+ span {
90
+ font-size : 15px;
91
+ color : #8C9092;
92
+ font-weight : normal;
93
+ line-height : 20px;
94
+
95
+ &:before {
96
+ display : inline-block;
97
+ margin-right : 8px;
98
+ background : image-url('ico.checkbox.png') no-repeat center center;
99
+ width : 20px;
100
+ height : 20px;
101
+ content : "";
102
+ vertical-align : middle;
103
+ }
104
+ }
105
+ }
106
+
107
+ .modal-field {
108
+ width : 100%;
109
+ border-bottom : 1px solid $gray;
110
+ clear : both;
111
+ @include clearfix;
112
+
113
+ > span {
114
+ width : 33%;
115
+ float : left;
116
+ display : block;
117
+ padding : 12px 0px 5px;
118
+ }
119
+
120
+ > input {
121
+ width: 66%;
122
+ float: left;
123
+ }
124
+
125
+ &.submit, &.cancel {
126
+ border-bottom : 0px;
127
+ margin-bottom : 0px;
128
+ margin-top : 15px;
129
+ float : left;
130
+ width : 50%;
131
+ clear : none;
132
+
133
+ button {
134
+ height : 60px;
135
+ width : 100%;
136
+ color : $green;
137
+
138
+ i, span {
139
+ display : inline-block;
140
+ vertical-align : middle;
141
+ margin : 0px 5px;
142
+ }
143
+
144
+ &:hover {
145
+ background-color : rgba($green,20%);
146
+ box-shadow : 0px 0px 35px 26px white inset;
147
+ @include transition(background-color .2s ease-in-out);
148
+ }
149
+ }
150
+ }
151
+
152
+ &.cancel {
153
+ button {
154
+ color: $pink;
155
+ @include animation(none);
156
+
157
+ &:hover {
158
+ background-color : rgba($pink,20%);
159
+ box-shadow : 0px 0px 35px 26px white inset;
160
+ @include transition(background-color .2s ease-in-out);
161
+ }
162
+ }
163
+ }
164
+ }
165
+ }
@@ -0,0 +1,205 @@
1
+ @-webkit-keyframes barber_pole
2
+ 0%
3
+ background-position: 0px 0px
4
+ 100%
5
+ background-position: 60px 0px
6
+
7
+ @-moz-keyframes barber_pole
8
+ 0%
9
+ background-position: 0px 0px
10
+ 100%
11
+ background-position: 60px 0px
12
+
13
+ @-ms-keyframes barber_pole
14
+ 0%
15
+ background-position: 0px 0px
16
+ 100%
17
+ background-position: 60px 0px
18
+
19
+ @-o-keyframes barber_pole
20
+ 0%
21
+ background-position: 0px 0px
22
+ 100%
23
+ background-position: 60px 0px
24
+
25
+ @keyframes barber_pole
26
+ 0%
27
+ background-position: 0px 0px
28
+ 100%
29
+ background-position: 60px 0px
30
+
31
+
32
+
33
+ @-webkit-keyframes thesis_fader
34
+ 0%
35
+ opacity: 0
36
+ 100%
37
+ opacity: 1
38
+
39
+ @-moz-keyframes thesis_fader
40
+ 0%
41
+ opacity: 0
42
+ 100%
43
+ opacity: 1
44
+
45
+ @-ms-keyframes thesis_fader
46
+ 0%
47
+ opacity: 0
48
+ 100%
49
+ opacity: 1
50
+
51
+ @-o-keyframes thesis_fader
52
+ 0%
53
+ opacity: 0
54
+ 100%
55
+ opacity: 1
56
+
57
+ @keyframes thesis_fader
58
+ 0%
59
+ opacity: 0
60
+ 100%
61
+ opacity: 1
62
+
63
+
64
+
65
+ @-webkit-keyframes modal_border
66
+ 0%
67
+ border-color: $blue
68
+ 20%
69
+ border-color: $green
70
+ 40%
71
+ border-color: $yellow
72
+ 60%
73
+ border-color: $orange
74
+ 80%
75
+ border-color: $pink
76
+ 100%
77
+ border-color: $blue
78
+
79
+ @-moz-keyframes modal_border
80
+ 0%
81
+ border-color: $blue
82
+ 20%
83
+ border-color: $green
84
+ 40%
85
+ border-color: $yellow
86
+ 60%
87
+ border-color: $orange
88
+ 80%
89
+ border-color: $pink
90
+ 100%
91
+ border-color: $blue
92
+
93
+ @-ms-keyframes modal_border
94
+ 0%
95
+ border-color: $blue
96
+ 20%
97
+ border-color: $green
98
+ 40%
99
+ border-color: $yellow
100
+ 60%
101
+ border-color: $orange
102
+ 80%
103
+ border-color: $pink
104
+ 100%
105
+ border-color: $blue
106
+
107
+ @-o-keyframes modal_border
108
+ 0%
109
+ border-color: $blue
110
+ 20%
111
+ border-color: $green
112
+ 40%
113
+ border-color: $yellow
114
+ 60%
115
+ border-color: $orange
116
+ 80%
117
+ border-color: $pink
118
+ 100%
119
+ border-color: $blue
120
+
121
+ @keyframes modal_border
122
+ 0%
123
+ border-color: $blue
124
+ 20%
125
+ border-color: $green
126
+ 40%
127
+ border-color: $yellow
128
+ 60%
129
+ border-color: $orange
130
+ 80%
131
+ border-color: $pink
132
+ 100%
133
+ border-color: $blue
134
+
135
+
136
+
137
+ @-webkit-keyframes modal_icon_color
138
+ 0%
139
+ color: darken($blue, 10%)
140
+ 20%
141
+ color: darken($green, 10%)
142
+ 40%
143
+ color: darken($yellow, 10%)
144
+ 60%
145
+ color: darken($orange, 10%)
146
+ 80%
147
+ color: darken($pink, 10%)
148
+ 100%
149
+ color: darken($blue, 10%)
150
+
151
+ @-moz-keyframes modal_icon_color
152
+ 0%
153
+ color: darken($blue, 10%)
154
+ 20%
155
+ color: darken($green, 10%)
156
+ 40%
157
+ color: darken($yellow, 10%)
158
+ 60%
159
+ color: darken($orange, 10%)
160
+ 80%
161
+ color: darken($pink, 10%)
162
+ 100%
163
+ color: darken($blue, 10%)
164
+
165
+ @-ms-keyframes modal_icon_color
166
+ 0%
167
+ color: darken($blue, 10%)
168
+ 20%
169
+ color: darken($green, 10%)
170
+ 40%
171
+ color: darken($yellow, 10%)
172
+ 60%
173
+ color: darken($orange, 10%)
174
+ 80%
175
+ color: darken($pink, 10%)
176
+ 100%
177
+ color: darken($blue, 10%)
178
+
179
+ @-o-keyframes modal_icon_color
180
+ 0%
181
+ color: darken($blue, 10%)
182
+ 20%
183
+ color: darken($green, 10%)
184
+ 40%
185
+ color: darken($yellow, 10%)
186
+ 60%
187
+ color: darken($orange, 10%)
188
+ 80%
189
+ color: darken($pink, 10%)
190
+ 100%
191
+ color: darken($blue, 10%)
192
+
193
+ @keyframes modal_icon_color
194
+ 0%
195
+ color: darken($blue, 10%)
196
+ 20%
197
+ color: darken($green, 10%)
198
+ 40%
199
+ color: darken($yellow, 10%)
200
+ 60%
201
+ color: darken($orange, 10%)
202
+ 80%
203
+ color: darken($pink, 10%)
204
+ 100%
205
+ color: darken($blue, 10%)