trusty-cms 4.0.2 → 4.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (108) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +4 -4
  3. data/app/assets/images/admin/spinner.gif +0 -0
  4. data/app/assets/javascripts/admin.js +3 -0
  5. data/app/assets/javascripts/admin/more-or-less.js +2 -2
  6. data/app/assets/javascripts/admin/tabcontrol.js.erb +1 -2
  7. data/app/assets/stylesheets/admin/_base.scss +22 -6
  8. data/app/assets/stylesheets/admin/_multi_site_main.scss +28 -29
  9. data/app/assets/stylesheets/admin/_reset.scss +5 -4
  10. data/app/assets/stylesheets/admin/_site_chooser.scss +44 -69
  11. data/app/assets/stylesheets/admin/assets.scss +138 -141
  12. data/app/assets/stylesheets/admin/main.scss +10 -12
  13. data/app/assets/stylesheets/admin/modules/_boxes.scss +0 -3
  14. data/app/assets/stylesheets/admin/modules/_buttons.scss +30 -0
  15. data/app/assets/stylesheets/admin/modules/_links.scss +1 -1
  16. data/app/assets/stylesheets/admin/partials/_actions.scss +29 -46
  17. data/app/assets/stylesheets/admin/partials/_avatars.scss +3 -2
  18. data/app/assets/stylesheets/admin/partials/_content.scss +15 -38
  19. data/app/assets/stylesheets/admin/partials/_dateinput.scss +23 -14
  20. data/app/assets/stylesheets/admin/partials/_drawer.scss +78 -0
  21. data/app/assets/stylesheets/admin/partials/_dropdown.scss +9 -12
  22. data/app/assets/stylesheets/admin/partials/_footer.scss +4 -3
  23. data/app/assets/stylesheets/admin/partials/_forms.scss +64 -493
  24. data/app/assets/stylesheets/admin/partials/_header.scss +9 -118
  25. data/app/assets/stylesheets/admin/partials/_layout.scss +26 -2
  26. data/app/assets/stylesheets/admin/partials/_login_form.scss +28 -0
  27. data/app/assets/stylesheets/admin/partials/_messages.scss +5 -5
  28. data/app/assets/stylesheets/admin/partials/_popup.scss +62 -51
  29. data/app/assets/stylesheets/admin/partials/_preferences.scss +37 -0
  30. data/app/assets/stylesheets/admin/partials/_sidebar.scss +55 -0
  31. data/app/assets/stylesheets/admin/partials/_tabcontrol.scss +24 -36
  32. data/app/assets/stylesheets/admin/partials/{_index.scss → _table.scss} +53 -84
  33. data/app/assets/stylesheets/admin/partials/_toolbar.scss +11 -6
  34. data/app/assets/stylesheets/admin/partials/_treetable.scss +1 -71
  35. data/app/assets/stylesheets/admin/partials/_typography.scss +30 -55
  36. data/app/assets/stylesheets/admin/partials/_validations.scss +6 -5
  37. data/app/assets/stylesheets/rad_social/rad_screen.scss +65 -64
  38. data/app/controllers/admin/pages_controller.rb +2 -2
  39. data/app/helpers/application_helper.rb +2 -2
  40. data/app/models/menu_renderer.rb +3 -3
  41. data/app/users/_choose_site.html.haml +3 -7
  42. data/app/views/admin/assets/_form.html.haml +2 -1
  43. data/app/views/admin/assets/_search.html.haml +2 -1
  44. data/app/views/admin/assets/edit.html.haml +8 -7
  45. data/app/views/admin/assets/index.html.haml +4 -2
  46. data/app/views/admin/assets/new.html.haml +4 -5
  47. data/app/views/admin/assets/remove.html.haml +1 -0
  48. data/app/views/admin/configuration/edit.html.haml +7 -7
  49. data/app/views/admin/configuration/show.html.haml +6 -8
  50. data/app/views/admin/layouts/_choose_site.html.haml +2 -3
  51. data/app/views/admin/layouts/_form.html.haml +13 -12
  52. data/app/views/admin/layouts/_site_chooser.html.haml +2 -2
  53. data/app/views/admin/layouts/index.html.haml +11 -4
  54. data/app/views/admin/layouts/remove.html.haml +2 -2
  55. data/app/views/admin/page_attachments/_attachment.html.haml +2 -2
  56. data/app/views/admin/page_fields/_page_field.html.haml +3 -3
  57. data/app/views/admin/page_parts/_page_part.html.haml +4 -5
  58. data/app/views/admin/pages/_asset_popups.html.haml +15 -16
  59. data/app/views/admin/pages/_assets.html.haml +8 -7
  60. data/app/views/admin/pages/_fields.html.haml +16 -13
  61. data/app/views/admin/pages/_node.html.haml +3 -3
  62. data/app/views/admin/pages/_popups.html.haml +11 -11
  63. data/app/views/admin/pages/edit.html.haml +2 -2
  64. data/app/views/admin/pages/index.html.haml +5 -2
  65. data/app/views/admin/pages/new.html.haml +3 -3
  66. data/app/views/admin/pages/remove.html.haml +2 -2
  67. data/app/views/admin/preferences/edit.html.haml +5 -5
  68. data/app/views/admin/references/filters.haml +1 -1
  69. data/app/views/admin/references/tags.haml +3 -3
  70. data/app/views/admin/removed/_assets_bucket.html.haml +3 -3
  71. data/app/views/admin/removed/_assets_container.html.haml +18 -18
  72. data/app/views/admin/removed/_bucket.html.haml +1 -1
  73. data/app/views/admin/removed/_bucket_asset.html.haml +3 -3
  74. data/app/views/admin/removed/_show_bucket_link.html.haml +1 -1
  75. data/app/views/admin/removed/_upload_to_page.html.haml +5 -5
  76. data/app/views/admin/sites/_form.haml +18 -18
  77. data/app/views/admin/sites/edit.haml +1 -1
  78. data/app/views/admin/sites/index.haml +6 -4
  79. data/app/views/admin/sites/new.haml +1 -1
  80. data/app/views/admin/snippets/_choose_site.html.haml +4 -5
  81. data/app/views/admin/snippets/_form.html.haml +8 -9
  82. data/app/views/admin/snippets/edit.html.haml +1 -1
  83. data/app/views/admin/snippets/index.html.haml +11 -4
  84. data/app/views/admin/snippets/new.html.haml +1 -1
  85. data/app/views/admin/snippets/remove.html.haml +3 -3
  86. data/app/views/admin/users/_avatar.html.haml +2 -2
  87. data/app/views/admin/users/_choose_site.html.haml +3 -7
  88. data/app/views/admin/users/_form.html.haml +18 -21
  89. data/app/views/admin/users/_password_fields.html.haml +6 -6
  90. data/app/views/admin/users/index.html.haml +13 -6
  91. data/app/views/admin/users/remove.html.haml +2 -2
  92. data/app/views/admin/welcome/login.html.haml +8 -8
  93. data/app/views/devise/passwords/edit.html.haml +6 -6
  94. data/app/views/devise/passwords/new.html.haml +3 -3
  95. data/app/views/devise/sessions/new.html.haml +8 -8
  96. data/app/views/devise/shared/_links.html.haml +2 -2
  97. data/app/views/layouts/application.html.haml +24 -19
  98. data/app/views/rad_social_mailer/social_mail_form.html.haml +15 -15
  99. data/app/views/widget/_email_form.html.haml +14 -14
  100. data/app/views/widget/_horizontal_widget.html.haml +5 -5
  101. data/lib/trusty_cms.rb +1 -1
  102. data/package.json +9 -1
  103. data/yarn.lock +1988 -0
  104. metadata +8 -7
  105. data/app/assets/stylesheets/admin/partials/_deprecated.scss +0 -65
  106. data/app/assets/stylesheets/admin/partials/_jquery-ui-structure.scss +0 -258
  107. data/app/assets/stylesheets/admin/partials/_jquery-ui-theme.scss +0 -410
  108. data/app/assets/stylesheets/admin/partials/_jquery-ui.scss +0 -650
@@ -2,35 +2,32 @@
2
2
  border: 1px solid #b3b3b3;
3
3
  border-top: 1px solid #c3c3c3;
4
4
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
5
- border-top-right-radius: 5px;
6
- border-bottom-left-radius: 5px;
7
- border-bottom-right-radius: 5px;
8
5
  }
9
6
 
10
7
  ul.menu {
11
- background: white;
8
+ background: $white;
12
9
  font-size: 80%;
13
10
  padding: 5px 20px;
14
- border-top-right-radius: 5px;
15
- border-bottom-left-radius: 5px;
16
- border-bottom-right-radius: 5px;
11
+
17
12
  li {
18
13
  margin: 0 -20px;
14
+
19
15
  &.separator {
20
- margin: 5px -18px;
21
16
  border-top: 1px solid #e5e5e5;
17
+ margin: 5px -18px;
22
18
  }
23
19
  }
20
+
24
21
  a {
22
+ border-top: 1px solid white;
25
23
  color: black;
26
24
  display: block;
27
25
  padding: 6px 20px 7px;
28
26
  text-decoration: none;
29
- border-top: 1px solid white;
27
+
30
28
  &:hover {
31
- background: #e0f0ff;
32
- border-top: 1px solid #d5f0ff;
33
- background-image: linear-gradient(to bottom, #e5f5ff, #b5d0f5);
29
+ background: $light-blue;
30
+ border-top: 1px solid $light-blue;
34
31
  }
35
32
  }
36
33
  }
@@ -1,12 +1,13 @@
1
1
  #footer {
2
- color: #999999;
3
2
  background-color: #f7f7f7;
4
3
  border-top: 1px solid #eaeaea;
5
- font-size: 80%;
4
+ color: #999999;
6
5
  float: left;
7
- padding-top: 20px;
6
+ font-size: 80%;
8
7
  padding-bottom: 20px;
8
+ padding-top: 20px;
9
9
  width: 100%;
10
+
10
11
  p {
11
12
  padding-left: 20px;
12
13
  padding-right: 20px;
@@ -1,521 +1,92 @@
1
- @mixin clearfix {
2
- display: inline-block;
3
- &:after {
4
- content: ".";
5
- height: 0;
6
- clear: both;
7
- visibility: hidden;
8
- }
9
- * html & {
10
- height: 1px;
11
- }
12
- }
13
-
14
- .login-form-content {
15
- display: flex;
16
- flex-flow: wrap;
17
- justify-content: center;
18
- margin-top: 5em;
19
- .visual {
20
- img {
21
- height: 300px;
22
- float: right;
23
- }
24
- }
25
-
26
- .login {
27
- form {
28
- padding: 1em;
29
- .field #user_email, .field #user_password, .field #user_password_confirmation {
30
- padding: 1em;
31
- margin-bottom: 1em;
32
- width: 200px;
33
- }
1
+ fieldset {
2
+ background-color: $white;
3
+ margin: 0.5em 0;
4
+ padding: 0.5em;
34
5
 
35
- input[type='submit'] {
36
- border-radius: 0;
37
- background-color: #3c3a4b;
38
-
39
- &:hover {
40
- color: #fff;
41
- cursor: pointer;
42
- }
43
- }
44
- }
6
+ input[type="checkbox"] {
7
+ display: inline-block;
8
+ margin-right: 0.5em;
45
9
  }
46
- }
47
- .error {
48
- background-color: #f8d7da;
49
- color: #721c24;
50
- padding: 1em;
51
- margin: 1em;
52
- display: block;
53
- }
54
10
 
55
- #content {
56
- form {
57
- p {
58
- label {
59
- display: block;
60
- &.checkbox,
61
- &.radio {
62
- display: inline;
63
- font-weight: normal;
64
- font-size: 95%;
65
- text-shadow: none;
66
- margin-right: 1em;
67
- text-align: left;
68
- }
69
- &.multi_option {
70
- margin-bottom: 0.3em;
71
- }
72
- }
73
- input.textbox {
74
- font-family: Georgia, Palatino, "Times New Roman", Times, serif;
75
- font-size: 140%;
76
- margin-bottom: 0;
77
- }
78
- input.checkbox,
79
- input.radio {
80
- margin-top: 0.3em;
81
- }
82
- textarea {
83
- font-size: 100%;
84
- margin-top: 0.3em;
85
- }
86
- .value {
87
- display: block;
88
- margin-top: 0.25em;
89
- text-shadow: #666666 1px 1px 0;
90
- }
91
- .hint {
92
- font-size: 90%;
93
- display: block;
94
- margin-top: 0.25em;
95
- text-shadow: 0px 0px 20px rgba(255, 255, 255, 0.1);
96
- }
97
- a {
98
- &.action {
99
- background-color: #7e7e7e;
100
- font-size: 75%;
101
- padding: 0.2em 0.5em 0.3em;
102
- text-decoration: none;
103
- text-shadow: 0px 0px 20px rgba(255, 255, 255, 0.1);
104
- border-radius: 4px;
105
- &:hover {
106
- background-color: #555555;
107
- }
108
- }
109
- }
110
- &.title {
111
- input.textbox {
112
- margin-top: 4px;
113
- font-family: Georgia, Palatino, "Times New Roman", Times, serif;
114
- font-size: 200%;
115
- width: 99.5%;
116
- }
117
- }
118
- }
119
- .set {
120
- float: left;
121
- width: 100%;
122
- margin-bottom: 1em;
123
- clear: both;
124
- p {
125
- float: left;
126
- margin: 0 1em 0 0;
127
- }
128
- }
11
+ h4 {
12
+ border-bottom: 1px solid $gray;
13
+ margin-bottom: 1em;
14
+ padding: 0.5em;
129
15
  }
130
16
  }
131
17
 
132
- .drawer {
133
- margin-top: -1em;
134
- margin-bottom: 1em;
18
+ input[type="date"] {
19
+ margin: 0.5em;
135
20
  }
136
21
 
137
- .drawer_contents {
138
- background: #c9c9c9;
139
- border-bottom-right-radius: 6px;
140
- margin: 0;
141
- margin-right: 2px;
142
- padding-bottom: 2px;
143
- overflow: hidden;
144
- &:before {
145
- content: "\0020";
146
- display: block;
147
- width: 100%;
148
- background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0));
149
- height: 3px;
150
- margin-bottom: -3px;
151
- }
152
- table.fieldset {
153
- margin: 0;
154
- padding: 0;
155
- width: 100%;
156
- th,
157
- td {
158
- border-top: 1px #999999 solid;
159
- padding: 6px;
160
- }
161
- th {
162
- &.label {
163
- font-size: 85%;
164
- padding: 0 15px 0 10px !important;
165
- whitespace: nowrap;
166
- width: 1%;
167
- vertical-align: middle;
168
- text-align: left;
169
- }
170
- }
171
- td {
172
- &.field {
173
- padding-left: 0px;
174
- padding-right: 10px;
175
- text-align: right;
176
- width: auto;
177
- input.textbox {
178
- font-size: 110%;
179
- width: 99.5%;
180
- }
181
- }
182
- &.actions {
183
- width: 40px;
184
- text-align: left;
185
- vertical-align: middle;
186
- }
187
- }
188
- tr:first-child {
189
- td,
190
- th {
191
- border-top: none;
192
- }
193
- }
194
- }
22
+ input[type="submit"], input[type="button"] {
23
+ @include button;
24
+ margin-left: 0.5em;
195
25
  }
196
26
 
197
- .drawer_handle {
198
- padding: 4px 0 5px;
199
- margin-top: -1px;
200
- a {
201
- background: #7e7e7e;
202
- border-bottom-left-radius: 6px;
203
- border-bottom-right-radius: 6px;
204
- color: #f0f0f0;
205
- font-size: 80%;
206
- padding: 4px 21px 5px 10px;
207
- position: relative;
208
- top: -1px;
209
- text-shadow: #666666 1px 1px 0;
210
- text-decoration: none;
211
- border-bottom-left-radius: 6px;
212
- border-bottom-right-radius: 6px;
213
- &:hover,
214
- &:active,
215
- &:focus {
216
- text-decoration: underline;
217
- }
218
- &.more {
219
- background: #7e7e7e image_url("admin/metadata_toggle.png") no-repeat 85% 8px;
220
- }
221
- &.less {
222
- background: #7e7e7e image_url("admin/metadata_toggle.png") no-repeat 85% -21px;
223
- }
224
- }
225
- }
27
+ .textarea_content {
28
+ margin: 1em 0;
226
29
 
227
- .box {
228
- color: #333333;
229
- background: #ffffff;
230
- font-size: 90%;
231
- padding: 1px 15px 10px;
232
- position: relative;
233
- margin: 3px 0 20px;
234
- border-radius: 8px;
235
- &:after {
236
- clear: both;
237
- content: "";
30
+ textarea {
238
31
  display: block;
239
- }
240
- * {
241
- position: relative;
242
- }
243
- &:before {
244
- background-image: linear-gradient(to bottom, #ffffff, #f5f1e2 50%, #f5f1e2);
245
- border-top-left-radius: 10px;
246
- border-top-right-radius: 10px;
247
- content: "\0020";
248
- display: block;
249
- position: absolute;
250
- width: 100%;
251
- height: 100px;
252
- overflow: hidden;
253
- left: 0;
254
- top: 0;
255
- }
256
- h3 {
257
- color: #333333;
258
- margin: 15px 0 0;
259
- border-bottom: 1px solid #cccccc;
260
- padding-bottom: 8px;
261
- .actions {
262
- float: right;
263
- button {
264
- font-size: 13px;
265
- padding-left: 1em;
266
- padding-right: 1em;
267
- position: relative;
268
- top: -4px;
269
- }
270
- }
271
- }
272
- h4 {
273
- border-bottom: 1px solid #cccccc;
274
- padding-bottom: 4px;
275
- font-size: 110%;
276
- margin-top: 1.5em;
277
- }
278
- p.ruled {
279
- border-bottom: 1px solid #dddddd;
280
- margin: 0;
281
- padding: 0.5em 0;
282
- &:last-child {
283
- border: none;
284
- }
285
- }
286
- label {
287
- color: #888888;
288
- width: 12em;
289
- display: inline-block;
290
- }
291
- span.uri {
292
- color: #3399cc;
293
- }
294
- &:last-child {
295
- margin: 0;
296
- }
297
- &#preferences {
298
- img.avatar {
299
- float: right;
300
- margin: 10px 0px;
301
- z-index: 100;
302
- }
32
+ font-family: Monaco, "Courier New", Courier, monospace;
33
+ font-size: 0.85em;
34
+ height: 250px;
35
+ margin: 0.5em;
36
+ width: 85%;
303
37
  }
304
38
  }
305
39
 
306
- textarea {
307
- border: 1px solid #cdc295;
308
- font-family: Monaco, "Courier New", Courier, monospace;
309
- font-size: 95%;
310
- &.large {
311
- height: 280px;
312
- }
40
+ input[type="text"], input[type="search"], input[type="password"], input[type="email"] {
41
+ border: 0.5px solid $gray;
42
+ margin: 0.5em;
43
+ padding: 0.25em;
44
+ width: 75%;
313
45
  }
314
46
 
315
- p.updated_line {
316
- background-color: inherit;
317
- font-size: 80%;
318
- text-shadow: 0px 0px 20px rgba(255, 255, 255, 0.1);
319
- margin-bottom: 0;
47
+ select {
48
+ background-color: $white;
49
+ background-image: none;
50
+ border: 1px solid $gray;
51
+ border-radius: 0;
52
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
53
+ color: $dark-gray;
54
+ display: block;
55
+ font-size: 1em;
56
+ height: 30px;
57
+ line-height: 1.5;
58
+ margin: 0.5em;
59
+ padding: 0.5em 1em;
60
+ transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
320
61
  }
321
62
 
322
- body.reversed {
323
- #content {
324
- form {
325
- p {
326
- label {
327
- color: #B9B9B9;
328
- font-weight: normal;
329
- .hint {
330
- display: inline;
331
- }
332
- }
333
- }
334
- .hint {
335
- color: #d0d0d0;
336
- text-shadow: none;
337
- }
338
- .buttons {
339
- @include alt-box;
340
- }
341
- fieldset {
342
- background: #fff;
343
- padding: 20px 15px;
344
- margin-bottom: 20px;
345
- overflow: hidden;
346
- box-shadow: 1px 1px 0 #ababab;
347
- border-radius: 8px;
348
- h3 {
349
- font-weight: bold;
350
- font-size: 120%;
351
- margin: -20px -20px 0 -20px;
352
- padding: 15px 20px 0 20px;
353
- text-shadow: 0px 0px 20px rgba(255, 255, 255, 0.1);
354
- }
355
- p {
356
- margin-bottom: 0;
357
- }
358
- }
359
- }
360
- p.updated_line {
361
- color: #eeeeee;
362
- }
363
- textarea {
364
- border: 1px solid #EAEAEA;
365
- }
366
- input:not([type=submit]):focus,
367
- textarea:focus {
368
- border: 1px #EC65A5;
369
- -webkit-box-shadow: 0 0 10px #EC65A5;
370
- -moz-box-shadow: 0 0 10px #EC65A5;
371
- box-shadow: 0 0 10px #EC65A5;
372
- outline: 0;
373
- }
374
- input[type=checkbox] {
375
- border-radius: 5px;
376
- }
377
- .box {
378
- box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.15);
379
- }
380
- }
63
+ label {
64
+ display: block;
381
65
  }
382
66
 
383
- body.single_form {
384
- #content {
385
- #single_form {
386
- background: #f5f1e2;
387
- background-image: linear-gradient(to bottom, #fdfcf9, #f5f1e2 25%, #f5f1e2);
388
- border: 0.35em solid #efead3;
389
- padding: 0.5em 1.5em;
390
- padding-right: 22px;
391
- position: relative;
392
- width: 28em;
393
- border-radius: 6px;
394
- h1 {
395
- font-size: 140%;
396
- margin: 0.75em 0 1.25em;
397
- }
398
- p {
399
- font-size: 90%;
400
- &.intro,
401
- &.error {
402
- font-size: 100%;
403
- line-height: 1.4;
404
- }
405
- &.error {
406
- color: #cc0000;
407
- }
408
- label {
409
- font-size: 105%;
410
- &.checkbox {
411
- font-size: 90%;
412
- }
413
- }
414
- }
415
- ul {
416
- font-size: 90%;
417
- list-style: disc;
418
- padding-left: 2em;
419
- li {
420
- margin-bottom: 0.5em;
421
- }
422
- }
423
- input.textbox {
424
- width: 98.5%;
425
- }
426
- span.remember_me {
427
- color: #333333;
428
- font-size: 95%;
429
- margin-left: 1em;
430
- label {
431
- margin: 0;
432
- }
433
- a {
434
- margin: 0;
435
- @include default-link;
436
- }
437
- }
438
- span.forgot_password {
439
- position: relative;
440
- top: -3px;
441
- margin: 0 1em;
442
- a {
443
- @include default-link;
444
- }
445
- }
446
- .buttons {
447
- margin: 1.75em 0 1em;
448
- }
449
- }
450
- p.version {
451
- background: image_url("admin/single_form_shadow.png") top center no-repeat;
452
- color: #666666;
453
- font-size: 80%;
454
- padding-top: 10px;
455
- margin-top: 0;
456
- }
457
- }
67
+ .admin_only {
68
+ display: block;
69
+ margin-bottom: 1em;
70
+ width: 25%;
458
71
  }
459
72
 
460
- body.edit_user,
461
- body.edit_personal_preferences {
462
- #avatar {
463
- left: 26em;
464
- position: absolute;
465
- text-align: center;
466
- width: 102px;
467
- p.caption {
468
- font-size: 70%;
469
- color: #e5e5e5;
470
- line-height: 1.3;
471
- }
472
- }
73
+ textarea {
74
+ display: block;
75
+ margin: 0.5em;
76
+ width: 50%;
473
77
  }
474
78
 
475
- .button,
476
- button,
477
- input[type=button],
478
- input[type=submit],
479
- input[type=file] {
480
- .fa {
481
- color: #f3f3f3;
482
- }
483
- -webkit-appearance: none;
484
- font-size: 1.1em;
485
- padding: .5em 3em;
79
+ .custom-file-upload {
80
+ border: 1px solid $dark-blue;
81
+ color: $dark-blue;
82
+ cursor: pointer;
83
+ display: inline-block;
84
+ font-size: 1em;
486
85
  margin: 0.5em;
487
- color: #f3f3f3;
488
- background-color: #94BDC3;
489
- border: 0;
490
- -webkit-border-radius: 5px;
491
- -moz-border-radius: 5px;
492
- border-radius: 5px;
493
- text-decoration: none;
494
- &:hover {
495
- color: #94BDC3;
496
- background-color: #f3f3f3;
497
- -webkit-transition: all .2s;
498
- -moz-transition: all .2s;
499
- -ms-transition: all .2s;
500
- -o-transition: all .2s;
501
- transition: all .2s;
502
- }
503
- &:hover > .fa {
504
- color: #94BDC3;
505
- -webkit-transition: all .2s;
506
- -moz-transition: all .2s;
507
- -ms-transition: all .2s;
508
- -o-transition: all .2s;
509
- transition: all .2s;
510
- }
511
- }
86
+ padding: 0.5em 1em;
87
+ width: fit-content;
512
88
 
513
- .hover {
514
- color: #94BDC3;
515
- background-color: #f3f3f3;
516
- -webkit-transition: all .2s;
517
- -moz-transition: all .2s;
518
- -ms-transition: all .2s;
519
- -o-transition: all .2s;
520
- transition: all .2s;
89
+ input[type="file"] {
90
+ display: none;
91
+ }
521
92
  }