pages_core 3.12.0 → 3.12.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (100) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/app/assets/builds/fonts/661557ef.ttf +0 -0
  4. data/app/assets/builds/fonts/a18fc2d2.woff2 +0 -0
  5. data/app/assets/builds/fonts/b2c7b78f.woff2 +0 -0
  6. data/app/assets/builds/fonts/ceddc204.ttf +0 -0
  7. data/app/assets/builds/pages_core/admin-dist.js +2 -1
  8. data/app/assets/builds/pages_core/admin.css +9233 -0
  9. data/app/assets/images/pages/admin/angle-down-solid.svg +1 -0
  10. data/app/assets/images/pages/admin/icon.svg +1 -0
  11. data/app/assets/stylesheets/pages_core/admin/components/archive.css +6 -0
  12. data/app/assets/stylesheets/{pages/admin/components/attachments.scss → pages_core/admin/components/attachments.css} +35 -28
  13. data/app/assets/stylesheets/{pages/admin.scss → pages_core/admin/components/base.css} +125 -123
  14. data/app/assets/stylesheets/pages_core/admin/components/forms.css +223 -0
  15. data/app/assets/stylesheets/{pages/admin/components/header.scss → pages_core/admin/components/header.css} +76 -46
  16. data/app/assets/stylesheets/{pages/admin/components/image_editor.scss → pages_core/admin/components/image_editor.css} +42 -31
  17. data/app/assets/stylesheets/{pages/admin/components/image_grid.scss → pages_core/admin/components/image_grid.css} +76 -64
  18. data/app/assets/stylesheets/{pages/admin/components/image_uploader.scss → pages_core/admin/components/image_uploader.css} +12 -12
  19. data/app/assets/stylesheets/{pages/admin/components/layout.scss → pages_core/admin/components/layout.css} +13 -9
  20. data/app/assets/stylesheets/pages_core/admin/components/links.css +40 -0
  21. data/app/assets/stylesheets/pages_core/admin/components/list_table.css +66 -0
  22. data/app/assets/stylesheets/{pages/admin/components/login.scss → pages_core/admin/components/login.css} +6 -5
  23. data/app/assets/stylesheets/{pages/admin/components/modal.scss → pages_core/admin/components/modal.css} +10 -12
  24. data/app/assets/stylesheets/{pages/admin/components/page_tree.scss → pages_core/admin/components/page_tree.css} +54 -55
  25. data/app/assets/stylesheets/{pages/admin/components/pagination.scss → pages_core/admin/components/pagination.css} +17 -17
  26. data/app/assets/stylesheets/{pages/admin/components/sidebar.scss → pages_core/admin/components/sidebar.css} +8 -7
  27. data/app/assets/stylesheets/{pages/admin/components/tag_editor.scss → pages_core/admin/components/tag_editor.css} +10 -15
  28. data/app/assets/stylesheets/{pages/admin/components/textarea.scss → pages_core/admin/components/textarea.css} +1 -1
  29. data/app/assets/stylesheets/{pages/admin/components/toast.scss → pages_core/admin/components/toast.css} +5 -3
  30. data/app/assets/stylesheets/{pages/admin/components/toolbar.scss → pages_core/admin/components/toolbar.css} +56 -29
  31. data/app/assets/stylesheets/{pages/admin/controllers/pages.scss → pages_core/admin/controllers/pages.css} +63 -52
  32. data/app/assets/stylesheets/pages_core/admin/controllers/users.css +3 -0
  33. data/app/assets/stylesheets/pages_core/admin/vars.css +34 -0
  34. data/app/assets/stylesheets/pages_core/admin.postcss.css +9 -0
  35. data/app/formatters/pages_core/image_embedder.rb +5 -27
  36. data/app/helpers/admin/calendars_helper.rb +8 -0
  37. data/app/helpers/admin/news_helper.rb +13 -0
  38. data/app/helpers/pages_core/admin/admin_helper.rb +11 -54
  39. data/app/helpers/pages_core/admin/deprecated_admin_helper.rb +40 -0
  40. data/app/helpers/pages_core/images_helper.rb +37 -0
  41. data/app/javascript/components/Attachments/Attachment.jsx +2 -2
  42. data/app/javascript/components/EditableImage.jsx +1 -1
  43. data/app/javascript/components/ImageCropper/Toolbar.jsx +3 -3
  44. data/app/javascript/components/PageTreeNode.jsx +9 -9
  45. data/app/javascript/components/RichTextToolbarButton.jsx +1 -1
  46. data/app/mailers/admin_mailer.rb +1 -0
  47. data/app/models/invite.rb +8 -0
  48. data/app/views/admin/calendars/_sidebar.html.erb +47 -0
  49. data/app/views/admin/calendars/show.html.erb +15 -53
  50. data/app/views/admin/invites/new.html.erb +2 -8
  51. data/app/views/admin/invites/show.html.erb +2 -4
  52. data/app/views/admin/news/_sidebar.html.erb +48 -0
  53. data/app/views/admin/news/index.html.erb +21 -56
  54. data/app/views/admin/pages/deleted.html.erb +10 -8
  55. data/app/views/admin/pages/edit.html.erb +20 -11
  56. data/app/views/admin/pages/index.html.erb +7 -8
  57. data/app/views/admin/pages/new.html.erb +10 -14
  58. data/app/views/admin/password_resets/show.html.erb +3 -5
  59. data/app/views/admin/users/deactivated.html.erb +6 -7
  60. data/app/views/admin/users/edit.html.erb +7 -9
  61. data/app/views/admin/users/index.html.erb +3 -6
  62. data/app/views/admin/users/login.html.erb +4 -5
  63. data/app/views/admin/users/new.html.erb +2 -4
  64. data/app/views/admin/users/new_password.html.erb +4 -5
  65. data/app/views/admin/users/show.html.erb +11 -9
  66. data/app/views/errors/401.html.erb +2 -1
  67. data/app/views/errors/403.html.erb +2 -1
  68. data/app/views/errors/404.html.erb +1 -3
  69. data/app/views/errors/405.html.erb +2 -1
  70. data/app/views/errors/422.html.erb +2 -1
  71. data/app/views/errors/500.html.erb +2 -3
  72. data/app/views/layouts/admin/_header.html.erb +1 -2
  73. data/app/views/layouts/admin/_page_header.html.erb +4 -4
  74. data/app/views/layouts/admin.html.erb +3 -3
  75. data/app/views/layouts/errors.html.erb +127 -4
  76. data/lib/pages_core/engine.rb +4 -3
  77. data/lib/pages_core.rb +0 -1
  78. metadata +39 -196
  79. data/app/assets/images/pages/admin/icon.png +0 -0
  80. data/app/assets/images/pages/admin/image-editor-bg.png +0 -0
  81. data/app/assets/images/pages/admin/list-table-pin-blue.gif +0 -0
  82. data/app/assets/images/pages/admin/list-table-pin-disabled.gif +0 -0
  83. data/app/assets/images/pages/admin/list-table-pin-green.gif +0 -0
  84. data/app/assets/images/pages/admin/list-table-pin-red.gif +0 -0
  85. data/app/assets/images/pages/admin/list-table-pin-yellow.gif +0 -0
  86. data/app/assets/images/pages/admin/loading-modal.gif +0 -0
  87. data/app/assets/images/pages/feed-icon-14x14.png +0 -0
  88. data/app/assets/stylesheets/pages/admin/components/archive.scss +0 -6
  89. data/app/assets/stylesheets/pages/admin/components/buttons.scss +0 -23
  90. data/app/assets/stylesheets/pages/admin/components/forms.scss +0 -169
  91. data/app/assets/stylesheets/pages/admin/components/links.scss +0 -43
  92. data/app/assets/stylesheets/pages/admin/components/list_table.scss +0 -61
  93. data/app/assets/stylesheets/pages/admin/controllers/users.scss +0 -3
  94. data/app/assets/stylesheets/pages/admin/mixins/breakpoints.scss +0 -21
  95. data/app/assets/stylesheets/pages/admin/mixins/clearfix.scss +0 -7
  96. data/app/assets/stylesheets/pages/admin/mixins/gradients.scss +0 -7
  97. data/app/assets/stylesheets/pages/admin/vars.scss +0 -30
  98. data/app/assets/stylesheets/pages/errors.css +0 -128
  99. data/vendor/assets/stylesheets/ReactCrop.css +0 -167
  100. /data/app/assets/stylesheets/{pages/admin/components/tabs.scss → pages_core/admin/components/tabs.css} +0 -0
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--! Font Awesome Pro 6.2.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --><path d="M201.4 374.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 306.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2" viewBox="0 0 21 27"><path d="M192.558 93.535V965.14h704.884V372.968L625.182 93.5l-432.624.035ZM829.087 395 595.166 159.719v235.294L829.087 395Z" style="fill:#fff" transform="matrix(.0298 0 0 .0298 -5.737 -1.754)"/></svg>
@@ -0,0 +1,6 @@
1
+ .archive-index {
2
+ & .count {
3
+ font-weight: normal;
4
+ color: var(--text-light-color);
5
+ }
6
+ }
@@ -1,7 +1,7 @@
1
1
  .attachments {
2
2
  margin-bottom: 40px;
3
3
 
4
- .drop-target {
4
+ & .drop-target {
5
5
  position: relative;
6
6
  width: 100%;
7
7
  text-align: center;
@@ -12,47 +12,49 @@
12
12
  margin-top: 0px;
13
13
  }
14
14
 
15
- .upload-button {
15
+ & .upload-button {
16
16
  width: 100%;
17
17
  display: flex;
18
18
  flex-direction: column;
19
19
  align-items: center;
20
20
  justify-content: center;
21
21
  min-height: 150px;
22
- background: $c-background-disabled;
22
+ background: var(--background-disabled-color);
23
23
  }
24
24
  }
25
25
 
26
- .attachment {
27
- border-bottom: 1px solid $c-border;
26
+ & .attachment {
27
+ border-bottom: 1px solid var(--border-color);
28
28
  padding: 16px 0px 16px 40px;
29
29
  cursor: pointer;
30
30
  background: #fff;
31
31
  transition: padding-left 50ms ease-in-out,
32
32
  background 150ms ease-in-out;
33
33
 
34
- .attachment-info {
34
+ & .attachment-info {
35
35
  transition: all 50ms ease-in-out;
36
36
  }
37
37
 
38
38
  &.drop-placeholder {
39
39
  font-size: 14px;
40
40
  margin-top: -1px;
41
- border-top: 1px solid $c-border;
42
- background: $c-background-disabled;
41
+ border-top: 1px solid var(--border-color);
42
+ background: var(--background-disabled-color);
43
43
  text-align: center;
44
- color: $c-text-light;
44
+ color: var(--text-light-color);
45
45
  padding: 24px 0px;
46
46
  }
47
47
 
48
48
  &.uploading,
49
49
  &.placeholder {
50
50
  padding-left: 56px;
51
- background: $c-background-disabled;
52
- .attachment-info {
51
+ background: var(--background-disabled-color);
52
+
53
+ & .attachment-info {
53
54
  opacity: 0.5;
54
55
  }
55
- .actions {
56
+
57
+ & .actions {
56
58
  display: none;
57
59
  }
58
60
  }
@@ -61,13 +63,14 @@
61
63
  margin-bottom: 0px;
62
64
  }
63
65
 
64
- .actions {
66
+ & .actions {
65
67
  float: right;
66
68
  }
67
69
 
68
- h3 {
70
+ & h3 {
69
71
  margin: 0px 0px 12px 0px;
70
- .icon {
72
+
73
+ & .icon {
71
74
  display: block;
72
75
  float: left;
73
76
  margin-left: -40px;
@@ -75,21 +78,23 @@
75
78
  }
76
79
  }
77
80
 
78
- p {
81
+ & p {
79
82
  &:last-child {
80
83
  margin-bottom: 0px;
81
84
  }
82
85
  }
83
86
 
84
- button {
87
+ & button {
85
88
  cursor: pointer;
86
- border: 1px solid $c-border;
89
+ border: 1px solid var(--border-color);
87
90
  border-radius: 3px;
88
- background: $c-button;
91
+ background: var(--button-color);
89
92
  padding: 5px 20px;
90
93
  font-size: 12px;
91
- color: $c-text;
92
- &:hover, &:focus {
94
+ color: var(--text-color);
95
+
96
+ &:hover,
97
+ &:focus {
93
98
  background: #fff;
94
99
  }
95
100
  }
@@ -99,29 +104,31 @@
99
104
  .attachment-editor {
100
105
  width: 60vw;
101
106
  min-height: 450px;
102
- @include breakpoint-mobile {
107
+
108
+ @media --mobile {
103
109
  width: 100%;
104
110
  height: 100%;
105
111
  }
106
112
 
107
- form {
113
+ & form {
108
114
  width: 100%;
109
115
 
110
- .buttons {
116
+ & .buttons {
111
117
  margin-top: 24px;
112
118
  }
113
119
 
114
- .embed-code {
115
- input[type=text] {
120
+ & .embed-code {
121
+ & input[type=text] {
116
122
  width: 50%;
117
123
  max-width: 100px;
118
124
  margin-right: 8px;
119
125
  }
120
126
  }
121
127
 
122
- textarea,
123
- input[type=text] {
128
+ & textarea,
129
+ & input[type=text] {
124
130
  max-width: 100%;
131
+
125
132
  &.description {
126
133
  height: 100px;
127
134
  }
@@ -1,123 +1,125 @@
1
- @import 'ReactCrop';
2
- @import 'font-awesome';
3
- @import 'admin/vars';
4
- @import 'admin/mixins/**/*';
5
- @import 'admin/components/**/*';
6
- @import 'admin/controllers/**/*';
7
-
8
- body {
9
- background: $c-background;
10
- color: $c-text;
11
- }
12
-
13
- body, td, th {
14
- font-family: Helvetica, Arial, sans-serif;
15
- font-size: 12px;
16
- }
17
-
18
- h1, h2, h3, h4, h5, h6, p {
19
- margin: 16px 0;
20
- }
21
-
22
- img {
23
- border: 0;
24
- }
25
-
26
- small {
27
- font-size: 0.9em;
28
- color: $c-text-light;
29
- }
30
-
31
- th {
32
- text-align: left;
33
- }
34
-
35
- .hr {
36
- border-top: 1px solid $c-border;
37
- hr {
38
- display: none;
39
- }
40
- }
41
-
42
- div.content {
43
- margin: 0 32px;
44
- }
45
-
46
- table.show th,
47
- td {
48
- font-weight: normal;
49
- padding: 2px 16px 2px 0;
50
- }
51
-
52
- .errorExplanation {
53
- background-color: #ffd;
54
- border-bottom: 1px solid #dda;
55
- margin: -32px -32px 16px -32px;
56
- padding: 0px 32px;
57
- color: #333;
58
-
59
- h2 {
60
- font-weight: normal;
61
- font-size: 1.4em;
62
- margin: 0 -32px 16px -32px;
63
- padding: 8px 32px;
64
- background-color: $c-red;
65
- color: #fff;
66
- }
67
-
68
- p {
69
- margin-bottom: 0;
70
- padding: 0;
71
- }
72
-
73
- ul {
74
- padding: 0;
75
- list-style-position: inside;
76
- }
77
-
78
- ul li {
79
- font-weight: bold;
80
- }
81
- }
82
-
83
- .flash {
84
- background: #fffbdf;
85
- border-bottom: 1px solid #ccc9b2;
86
- margin: -32px -32px 32px -32px;
87
- padding: 16px 32px;
88
- font-weight: bold;
89
- color: #6f2d1b;
90
- font-size: 1.2em;
91
- }
92
-
93
- div.paginator {
94
- margin: 32px 0;
95
- font-size: 1.5em;
96
- font-weight: bold;
97
- color: $c-text-light;
98
- }
99
-
100
- img.thumbnail {
101
- border: 1px solid #555;
102
- }
103
-
104
- li .actions {
105
- font-weight: normal;
106
- display: inline;
107
- font-size: 12px;
108
- color: $c-text-light;
109
- margin-top: 1px;
110
- }
111
-
112
- .clearfix:after {
113
- content: ".";
114
- display: block;
115
- height: 0;
116
- font-size: 0;
117
- clear: both;
118
- visibility: hidden;
119
- }
120
-
121
- .clearfix {
122
- display: inline-table;
123
- }
1
+ body {
2
+ background: var(--background-color);
3
+ color: var(--text-color);
4
+ }
5
+
6
+ body,
7
+ td,
8
+ th {
9
+ font-family: Helvetica, Arial, sans-serif;
10
+ font-size: 12px;
11
+ }
12
+
13
+ h1,
14
+ h2,
15
+ h3,
16
+ h4,
17
+ h5,
18
+ h6,
19
+ p {
20
+ margin: 16px 0;
21
+ }
22
+
23
+ img {
24
+ border: 0;
25
+ }
26
+
27
+ small {
28
+ font-size: 0.9em;
29
+ color: var(--text-light-color);
30
+ }
31
+
32
+ th {
33
+ text-align: left;
34
+ }
35
+
36
+ .hr {
37
+ border-top: 1px solid var(--border-color);
38
+
39
+ & hr {
40
+ display: none;
41
+ }
42
+ }
43
+
44
+ div.content {
45
+ margin: 0 32px;
46
+ }
47
+
48
+ table.show th,
49
+ td {
50
+ font-weight: normal;
51
+ padding: 2px 16px 2px 0;
52
+ }
53
+
54
+ .errorExplanation {
55
+ background-color: #ffd;
56
+ border-bottom: 1px solid #dda;
57
+ margin: -32px -32px 16px -32px;
58
+ padding: 0px 32px;
59
+ color: #333;
60
+
61
+ & h2 {
62
+ font-weight: normal;
63
+ font-size: 1.4em;
64
+ margin: 0 -32px 16px -32px;
65
+ padding: 8px 32px;
66
+ background-color: var(--red);
67
+ color: #fff;
68
+ }
69
+
70
+ & p {
71
+ margin-bottom: 0;
72
+ padding: 0;
73
+ }
74
+
75
+ & ul {
76
+ padding: 0;
77
+ list-style-position: inside;
78
+ }
79
+
80
+ & ul li {
81
+ font-weight: bold;
82
+ }
83
+ }
84
+
85
+ .flash {
86
+ background: #fffbdf;
87
+ border-bottom: 1px solid #ccc9b2;
88
+ margin: -32px -32px 32px -32px;
89
+ padding: 16px 32px;
90
+ font-weight: bold;
91
+ color: #6f2d1b;
92
+ font-size: 1.2em;
93
+ }
94
+
95
+ div.paginator {
96
+ margin: 32px 0;
97
+ font-size: 1.5em;
98
+ font-weight: bold;
99
+ color: var(--text-light-color);
100
+ }
101
+
102
+ img.thumbnail {
103
+ border: 1px solid #555;
104
+ }
105
+
106
+ li .actions {
107
+ font-weight: normal;
108
+ display: inline;
109
+ font-size: 12px;
110
+ color: var(--text-light-color);
111
+ margin-top: 1px;
112
+ }
113
+
114
+ .clearfix:after {
115
+ content: ".";
116
+ display: block;
117
+ height: 0;
118
+ font-size: 0;
119
+ clear: both;
120
+ visibility: hidden;
121
+ }
122
+
123
+ .clearfix {
124
+ display: inline-table;
125
+ }
@@ -0,0 +1,223 @@
1
+ main form {
2
+ margin: 16px 32px;
3
+ }
4
+
5
+ form {
6
+ & .field {
7
+ margin: 16px 0;
8
+ padding: 0;
9
+
10
+ & input[type=text],
11
+ & input[type=password],
12
+ & input[type=email],
13
+ & textarea {
14
+ transition: border-color 150ms ease-out;
15
+ }
16
+
17
+ & label {
18
+ display: block;
19
+ padding: 0;
20
+ margin: 0 0 4px 0;
21
+ font-weight: bold;
22
+ font-size: 13px;
23
+ color: var(--text-color);
24
+ transition: color 150ms ease-out;
25
+
26
+ &.check-box,
27
+ &.radio-button {
28
+ font-weight: normal;
29
+ }
30
+
31
+ &.radio-button {
32
+ display: inline-block;
33
+ margin-right: 10px;
34
+ }
35
+ }
36
+
37
+ & .description {
38
+ color: var(--text-light-color);
39
+ margin: 0 0 6px 0;
40
+ }
41
+ }
42
+
43
+ & .field-with-warning {
44
+ & input[type=text],
45
+ & input[type=password],
46
+ & input[type=email],
47
+ & textarea {
48
+ border-color: var(--red-light);
49
+ }
50
+
51
+ & label {
52
+ color: var(--red);
53
+ }
54
+ }
55
+
56
+ & .field-with-errors {
57
+ background: var(--red-invert);
58
+ border-top: 1px solid var(--red-light);
59
+ border-bottom: 1px solid var(--red-light);
60
+ margin: 0 -32px -1px -32px;
61
+ padding: 12px 32px 16px 32px;
62
+
63
+ & label {
64
+ color: var(--red);
65
+ }
66
+ }
67
+
68
+ & .row {
69
+ display: flex;
70
+ flex-wrap: wrap;
71
+ margin-right: -16px;
72
+
73
+ & .field {
74
+ margin-right: 16px;
75
+
76
+ &.text-field {
77
+ flex-grow: 1;
78
+ min-width: 300px;
79
+ }
80
+ }
81
+
82
+ & input[type=text],
83
+ & input[type=password] {
84
+ width: 100%;
85
+ max-width: none;
86
+ }
87
+ }
88
+
89
+ & .date-range-select {
90
+ & .date {
91
+ line-height: 34px;
92
+ display: inline-block;
93
+ white-space: nowrap;
94
+
95
+ & .date-select {
96
+ display: inline-block;
97
+ }
98
+
99
+ & input[type=text] {
100
+ display: inline;
101
+ width: auto;
102
+ min-width: auto;
103
+ margin-left: 12px;
104
+ padding: 4px 6px;
105
+ }
106
+ }
107
+
108
+ & .to {
109
+ margin: 0px 8px;
110
+ }
111
+ }
112
+
113
+ & .page-dates {
114
+ margin-bottom: 40px;
115
+
116
+ & .toggles {
117
+ & label {
118
+ font-weight: normal;
119
+ display: inline-block;
120
+ margin-right: 12px;
121
+
122
+ & input {
123
+ margin-right: 6px;
124
+ }
125
+
126
+ &.disabled {
127
+ color: var(--text-light-color);
128
+ }
129
+ }
130
+ }
131
+
132
+ & .remove-dates {
133
+ margin-top: 12px;
134
+ }
135
+ }
136
+ }
137
+
138
+ .fieldWithErrors {
139
+ display: table;
140
+ padding: 1px;
141
+ padding-right: 22px;
142
+ background: transparent url("pages/admin/warning-icon.gif") right 5px no-repeat;
143
+ }
144
+
145
+ input[type=text],
146
+ input[type=password],
147
+ textarea {
148
+ width: 100%;
149
+ max-width: 450px;
150
+ min-width: 200px;
151
+ border: 1px solid var(--border-color);
152
+ box-shadow: inset 0px 5px 5px rgba(0, 0, 0, 0.03);
153
+ padding: 8px 10px;
154
+ line-height: 1.4;
155
+ font-family: Helvetica, Arial, sans-serif;
156
+ font-size: 13px;
157
+
158
+ &:disabled {
159
+ border-color: var(--border-color-light);
160
+ color: var(--text-light-color);
161
+ }
162
+
163
+ &.warn {
164
+ border-color: red;
165
+ }
166
+ }
167
+
168
+ main .login-form input[type=text],
169
+ main .login-form input[type=password],
170
+ input[type=text].large,
171
+ input[type=password].large {
172
+ font-size: 1.4em;
173
+ }
174
+
175
+ fieldset {
176
+ padding: 0px;
177
+ margin: 0px;
178
+ border: none;
179
+ border-bottom: 1px solid var(--border-color);
180
+ }
181
+
182
+ button,
183
+ select {
184
+ appearance: none;
185
+ cursor: inherit;
186
+ font-family: var(--font-os-sans);
187
+ font-size: 13px;
188
+ color: var(--text-color);
189
+ line-height: 1.5;
190
+ border: 1px solid var(--button-border-color);
191
+ border-radius: 5px;
192
+ padding: 0.25em 0.75em;
193
+ background: var(--button-color);
194
+ box-shadow: inset 0px 0.75em 0.75em rgba(255, 255, 255, 0.25);
195
+
196
+ &:hover {
197
+ background-color: var(--button-color-hover);
198
+ }
199
+
200
+ &:disabled {
201
+ color: var(--text-light-color);
202
+ opacity: 0.8;
203
+
204
+ &:hover {
205
+ background-color: var(--button-color);
206
+ }
207
+ }
208
+ }
209
+
210
+ select {
211
+ padding-right: 2em;
212
+ background-image: url("pages/admin/angle-down-solid.svg");
213
+ background-position: top 50% right 0.5em;
214
+ background-repeat: no-repeat;
215
+ background-size: 1em 1em;
216
+ margin-bottom: 0.25em;
217
+ }
218
+
219
+ form.button-to {
220
+ display: inline;
221
+ margin: 0;
222
+ padding: 0;
223
+ }