pages_core 3.12.3 → 3.12.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/app/assets/builds/pages_core/admin-dist.js +1 -44
- data/app/assets/builds/pages_core/admin-dist.js.map +3 -3
- data/app/assets/builds/pages_core/admin.css +79 -46
- data/app/assets/stylesheets/pages_core/admin/components/attachments.css +3 -4
- data/app/assets/stylesheets/pages_core/admin/components/forms.css +17 -16
- data/app/assets/stylesheets/pages_core/admin/components/image_editor.css +8 -4
- data/app/assets/stylesheets/pages_core/admin/components/image_grid.css +1 -1
- data/app/assets/stylesheets/pages_core/admin/components/list_table.css +11 -3
- data/app/assets/stylesheets/pages_core/admin/components/modal.css +9 -5
- data/app/assets/stylesheets/pages_core/admin/components/page_tree.css +5 -1
- data/app/assets/stylesheets/pages_core/admin/components/toast.css +2 -2
- data/app/assets/stylesheets/pages_core/admin/controllers/pages.css +4 -2
- data/app/assets/stylesheets/pages_core/admin/vars.css +2 -1
- data/app/controllers/admin/calendars_controller.rb +2 -2
- data/app/controllers/admin/categories_controller.rb +3 -3
- data/app/controllers/admin/news_controller.rb +6 -6
- data/app/controllers/admin/pages_controller.rb +12 -11
- data/app/controllers/admin/users_controller.rb +1 -1
- data/app/controllers/concerns/pages_core/preview_pages_controller.rb +15 -17
- data/app/controllers/pages_core/admin_controller.rb +2 -2
- data/app/controllers/pages_core/base_controller.rb +1 -8
- data/app/controllers/pages_core/frontend/pages_controller.rb +13 -5
- data/app/controllers/pages_core/frontend_controller.rb +12 -7
- data/app/helpers/admin/menu_helper.rb +2 -0
- data/app/helpers/admin/pages_helper.rb +1 -4
- data/app/helpers/pages_core/admin/admin_helper.rb +0 -1
- data/app/helpers/pages_core/admin/content_tabs_helper.rb +9 -2
- data/app/helpers/pages_core/application_helper.rb +2 -3
- data/app/helpers/pages_core/frontend_helper.rb +1 -1
- data/app/helpers/pages_core/head_tags_helper.rb +15 -46
- data/app/helpers/pages_core/images_helper.rb +76 -21
- data/app/helpers/pages_core/locales_helper.rb +9 -0
- data/app/helpers/pages_core/open_graph_tags_helper.rb +3 -5
- data/app/helpers/pages_core/page_path_helper.rb +1 -1
- data/app/javascript/components/Attachments/Attachment.tsx +55 -52
- data/app/javascript/components/Attachments/AttachmentEditor.tsx +45 -50
- data/app/javascript/components/Attachments/Placeholder.tsx +1 -2
- data/app/javascript/components/Attachments.jsx +69 -57
- data/app/javascript/components/DateRangeSelect.jsx +94 -54
- data/app/javascript/components/EditableImage.tsx +20 -16
- data/app/javascript/components/FileUploadButton.tsx +12 -12
- data/app/javascript/components/ImageCropper/FocalPoint.tsx +22 -20
- data/app/javascript/components/ImageCropper/Image.tsx +20 -16
- data/app/javascript/components/ImageCropper/Toolbar.tsx +35 -27
- data/app/javascript/components/ImageCropper/useCrop.ts +105 -91
- data/app/javascript/components/ImageCropper.tsx +34 -25
- data/app/javascript/components/ImageEditor/Form.tsx +32 -43
- data/app/javascript/components/ImageEditor.tsx +29 -21
- data/app/javascript/components/ImageGrid/DragElement.tsx +6 -4
- data/app/javascript/components/ImageGrid/GridImage.tsx +56 -52
- data/app/javascript/components/ImageGrid/Placeholder.tsx +1 -1
- data/app/javascript/components/ImageGrid.jsx +132 -101
- data/app/javascript/components/ImageUploader.tsx +59 -55
- data/app/javascript/components/Modal.tsx +2 -4
- data/app/javascript/components/PageDates.jsx +25 -20
- data/app/javascript/components/PageFiles.jsx +7 -5
- data/app/javascript/components/PageImages.tsx +9 -7
- data/app/javascript/components/PageTree/Draggable.tsx +46 -40
- data/app/javascript/components/PageTree/Node.tsx +111 -95
- data/app/javascript/components/PageTree/types.ts +9 -9
- data/app/javascript/components/PageTree.tsx +44 -29
- data/app/javascript/components/RichTextArea.jsx +51 -37
- data/app/javascript/components/RichTextToolbarButton.tsx +8 -5
- data/app/javascript/components/TagEditor/AddTagForm.tsx +11 -10
- data/app/javascript/components/TagEditor/Tag.tsx +10 -8
- data/app/javascript/components/TagEditor.tsx +15 -10
- data/app/javascript/components/Toast.tsx +3 -7
- data/app/javascript/components/drag/draggedOrder.ts +17 -16
- data/app/javascript/components/drag/types.ts +12 -12
- data/app/javascript/components/drag/useDragCollection.ts +36 -42
- data/app/javascript/components/drag/useDragUploader.ts +3 -2
- data/app/javascript/components/drag.ts +5 -4
- data/app/javascript/controllers/LoginController.ts +0 -1
- data/app/javascript/controllers/MainController.ts +6 -2
- data/app/javascript/controllers/PageOptionsController.js +7 -2
- data/app/javascript/features/RichText.tsx +9 -7
- data/app/javascript/index.ts +5 -3
- data/app/javascript/lib/Tree.ts +27 -24
- data/app/javascript/lib/copyToClipboard.ts +5 -4
- data/app/javascript/lib/readyHandler.ts +4 -4
- data/app/javascript/lib/request.ts +7 -3
- data/app/javascript/stores/useModalStore.ts +3 -3
- data/app/javascript/stores/useToastStore.ts +14 -12
- data/app/javascript/types.ts +22 -22
- data/app/models/concerns/pages_core/page_model/templateable.rb +1 -1
- data/app/views/admin/calendars/show.html.erb +1 -1
- data/app/views/admin/news/index.html.erb +1 -1
- data/app/views/admin/pages/_edit_files.html.erb +1 -1
- data/app/views/admin/pages/_edit_images.html.erb +1 -1
- data/app/views/admin/pages/_list_item.html.erb +1 -1
- data/app/views/admin/pages/_search_bar.html.erb +1 -1
- data/app/views/admin/pages/deleted.html.erb +2 -2
- data/app/views/admin/pages/edit.html.erb +3 -3
- data/app/views/admin/pages/index.html.erb +4 -4
- data/app/views/admin/pages/new.html.erb +1 -1
- data/app/views/admin/pages/search.html.erb +3 -3
- data/app/views/feeds/pages.rss.builder +2 -2
- data/app/views/layouts/admin/_page_header.html.erb +4 -4
- data/app/views/layouts/admin.html.erb +1 -2
- data/config/locales/en.yml +1 -0
- data/lib/pages_core/pages_plugin.rb +5 -3
- data/lib/rails/generators/pages_core/frontend/templates/application.html.erb +15 -13
- data/lib/tasks/pages/reports.rake +26 -0
- metadata +32 -4
- data/app/helpers/pages_core/admin/deprecated_admin_helper.rb +0 -40
- data/app/views/pages_core/_google_analytics.html.erb +0 -8
@@ -6855,7 +6855,8 @@ readers do not read off random characters that represent icons */
|
|
6855
6855
|
font-weight: 400; }
|
6856
6856
|
|
6857
6857
|
:root {
|
6858
|
-
--font-os-sans: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif, BlinkMacSystemFont, "Segoe UI",
|
6858
|
+
--font-os-sans: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif, BlinkMacSystemFont, "Segoe UI",
|
6859
|
+
Roboto, Ubuntu, "Helvetica Neue", Oxygen, Cantarell, sans-serif;
|
6859
6860
|
|
6860
6861
|
--red: #c00007;
|
6861
6862
|
--red-transparent: rgba(192,0,7,0.25098);
|
@@ -6925,8 +6926,7 @@ readers do not read off random characters that represent icons */
|
|
6925
6926
|
padding: 16px 0px 16px 40px;
|
6926
6927
|
cursor: pointer;
|
6927
6928
|
background: #fff;
|
6928
|
-
transition: padding-left 50ms ease-in-out,
|
6929
|
-
background 150ms ease-in-out;
|
6929
|
+
transition: padding-left 50ms ease-in-out, background 150ms ease-in-out;
|
6930
6930
|
}
|
6931
6931
|
|
6932
6932
|
.attachments .attachment .attachment-info {
|
@@ -7023,18 +7023,18 @@ readers do not read off random characters that represent icons */
|
|
7023
7023
|
margin-top: 24px;
|
7024
7024
|
}
|
7025
7025
|
|
7026
|
-
.attachment-editor form .embed-code input[type=text] {
|
7026
|
+
.attachment-editor form .embed-code input[type="text"] {
|
7027
7027
|
width: 50%;
|
7028
7028
|
max-width: 100px;
|
7029
7029
|
margin-right: 8px;
|
7030
7030
|
}
|
7031
7031
|
|
7032
7032
|
.attachment-editor form textarea,
|
7033
|
-
.attachment-editor form input[type=text] {
|
7033
|
+
.attachment-editor form input[type="text"] {
|
7034
7034
|
max-width: 100%;
|
7035
7035
|
}
|
7036
7036
|
|
7037
|
-
.attachment-editor form textarea.description, .attachment-editor form input.description[type=text] {
|
7037
|
+
.attachment-editor form textarea.description, .attachment-editor form input.description[type="text"] {
|
7038
7038
|
height: 100px;
|
7039
7039
|
}
|
7040
7040
|
|
@@ -7180,9 +7180,9 @@ form .field {
|
|
7180
7180
|
padding: 0;
|
7181
7181
|
}
|
7182
7182
|
|
7183
|
-
form .field input[type=text],
|
7184
|
-
form .field input[type=password],
|
7185
|
-
form .field input[type=email],
|
7183
|
+
form .field input[type="text"],
|
7184
|
+
form .field input[type="password"],
|
7185
|
+
form .field input[type="email"],
|
7186
7186
|
form .field textarea {
|
7187
7187
|
transition: border-color 150ms ease-out;
|
7188
7188
|
}
|
@@ -7214,9 +7214,9 @@ form .field .description {
|
|
7214
7214
|
margin: 0 0 6px 0;
|
7215
7215
|
}
|
7216
7216
|
|
7217
|
-
form .field-with-warning input[type=text],
|
7218
|
-
form .field-with-warning input[type=password],
|
7219
|
-
form .field-with-warning input[type=email],
|
7217
|
+
form .field-with-warning input[type="text"],
|
7218
|
+
form .field-with-warning input[type="password"],
|
7219
|
+
form .field-with-warning input[type="email"],
|
7220
7220
|
form .field-with-warning textarea {
|
7221
7221
|
border-color: #d6a6a8;
|
7222
7222
|
border-color: var(--red-light);
|
@@ -7258,8 +7258,8 @@ form .row .field.text-field {
|
|
7258
7258
|
min-width: 300px;
|
7259
7259
|
}
|
7260
7260
|
|
7261
|
-
form .row input[type=text],
|
7262
|
-
form .row input[type=password] {
|
7261
|
+
form .row input[type="text"],
|
7262
|
+
form .row input[type="password"] {
|
7263
7263
|
width: 100%;
|
7264
7264
|
max-width: none;
|
7265
7265
|
}
|
@@ -7274,7 +7274,7 @@ form .date-range-select .date .date-select {
|
|
7274
7274
|
display: inline-block;
|
7275
7275
|
}
|
7276
7276
|
|
7277
|
-
form .date-range-select .date input[type=text] {
|
7277
|
+
form .date-range-select .date input[type="text"] {
|
7278
7278
|
display: inline;
|
7279
7279
|
width: auto;
|
7280
7280
|
min-width: auto;
|
@@ -7313,11 +7313,12 @@ form .page-dates .remove-dates {
|
|
7313
7313
|
display: table;
|
7314
7314
|
padding: 1px;
|
7315
7315
|
padding-right: 22px;
|
7316
|
-
background: transparent url("pages/admin/warning-icon.gif") right 5px
|
7316
|
+
background: transparent url("pages/admin/warning-icon.gif") right 5px
|
7317
|
+
no-repeat;
|
7317
7318
|
}
|
7318
7319
|
|
7319
|
-
input[type=text],
|
7320
|
-
input[type=password],
|
7320
|
+
input[type="text"],
|
7321
|
+
input[type="password"],
|
7321
7322
|
textarea {
|
7322
7323
|
width: 100%;
|
7323
7324
|
max-width: 450px;
|
@@ -7331,21 +7332,21 @@ textarea {
|
|
7331
7332
|
font-size: 13px;
|
7332
7333
|
}
|
7333
7334
|
|
7334
|
-
input[type=text]:disabled, input[type=password]:disabled, textarea:disabled {
|
7335
|
+
input[type="text"]:disabled, input[type="password"]:disabled, textarea:disabled {
|
7335
7336
|
border-color: #eee;
|
7336
7337
|
border-color: var(--border-color-light);
|
7337
7338
|
color: #666;
|
7338
7339
|
color: var(--text-light-color);
|
7339
7340
|
}
|
7340
7341
|
|
7341
|
-
input.warn[type=text], input.warn[type=password], textarea.warn {
|
7342
|
+
input.warn[type="text"], input.warn[type="password"], textarea.warn {
|
7342
7343
|
border-color: red;
|
7343
7344
|
}
|
7344
7345
|
|
7345
|
-
main .login-form input[type=text],
|
7346
|
-
main .login-form input[type=password],
|
7347
|
-
input[type=text].large,
|
7348
|
-
input[type=password].large {
|
7346
|
+
main .login-form input[type="text"],
|
7347
|
+
main .login-form input[type="password"],
|
7348
|
+
input[type="text"].large,
|
7349
|
+
input[type="password"].large {
|
7349
7350
|
font-size: 1.4em;
|
7350
7351
|
}
|
7351
7352
|
|
@@ -7363,7 +7364,8 @@ select {
|
|
7363
7364
|
-moz-appearance: none;
|
7364
7365
|
appearance: none;
|
7365
7366
|
cursor: inherit;
|
7366
|
-
font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif, BlinkMacSystemFont, "Segoe UI",
|
7367
|
+
font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif, BlinkMacSystemFont, "Segoe UI",
|
7368
|
+
Roboto, Ubuntu, "Helvetica Neue", Oxygen, Cantarell, sans-serif;
|
7367
7369
|
font-family: var(--font-os-sans);
|
7368
7370
|
font-size: 13px;
|
7369
7371
|
color: #111;
|
@@ -7616,7 +7618,7 @@ main .page-description h3 {
|
|
7616
7618
|
cursor: pointer;
|
7617
7619
|
display: block;
|
7618
7620
|
transition: transform 200ms, box-shadow 200ms, border-color 200ms ease-out;
|
7619
|
-
box-shadow: 0px 2px 5px rgba(0, 0, 0, 0
|
7621
|
+
box-shadow: 0px 2px 5px rgba(0, 0, 0, 0);
|
7620
7622
|
border: 1px solid #fff;
|
7621
7623
|
position: relative;
|
7622
7624
|
-webkit-perspective: 1000;
|
@@ -7629,7 +7631,7 @@ main .page-description h3 {
|
|
7629
7631
|
font-size: 14px;
|
7630
7632
|
color: #ffdfa0;
|
7631
7633
|
color: var(--background-warning-color);
|
7632
|
-
text-shadow: 0px 0px 5px rgba(0, 0, 0, 1
|
7634
|
+
text-shadow: 0px 0px 5px rgba(0, 0, 0, 1);
|
7633
7635
|
z-index: 100;
|
7634
7636
|
}
|
7635
7637
|
|
@@ -7673,7 +7675,10 @@ main .page-description h3 {
|
|
7673
7675
|
width: 100%;
|
7674
7676
|
height: 100%;
|
7675
7677
|
background: #e5e5e5;
|
7676
|
-
background-image: linear-gradient(45deg, #fff 25%, transparent 25%),
|
7678
|
+
background-image: linear-gradient(45deg, #fff 25%, transparent 25%),
|
7679
|
+
linear-gradient(135deg, #fff 25%, transparent 25%),
|
7680
|
+
linear-gradient(45deg, transparent 75%, #fff 75%),
|
7681
|
+
linear-gradient(135deg, transparent 75%, #fff 75%);
|
7677
7682
|
background-size: 12px 12px;
|
7678
7683
|
background-position: 0 0, 6px 0, 6px -6px, 0px 6px;
|
7679
7684
|
display: flex;
|
@@ -7798,7 +7803,8 @@ main .page-description h3 {
|
|
7798
7803
|
-moz-user-select: none;
|
7799
7804
|
user-select: none;
|
7800
7805
|
cursor: pointer;
|
7801
|
-
transition: border-radius 200ms, margin 200ms, width 200ms, height 200ms,
|
7806
|
+
transition: border-radius 200ms, margin 200ms, width 200ms, height 200ms,
|
7807
|
+
border-color 200ms ease-out;
|
7802
7808
|
}
|
7803
7809
|
|
7804
7810
|
.image-editor .focal-editor .focal-point:after {
|
@@ -7841,7 +7847,7 @@ main .page-description h3 {
|
|
7841
7847
|
}
|
7842
7848
|
}
|
7843
7849
|
|
7844
|
-
.image-grid input[type=file] {
|
7850
|
+
.image-grid input[type="file"] {
|
7845
7851
|
display: none;
|
7846
7852
|
}
|
7847
7853
|
|
@@ -8265,8 +8271,16 @@ table.list td,
|
|
8265
8271
|
}
|
8266
8272
|
|
8267
8273
|
table.list th {
|
8268
|
-
background: linear-gradient(
|
8269
|
-
|
8274
|
+
background: linear-gradient(
|
8275
|
+
to bottom,
|
8276
|
+
#fff 0%,
|
8277
|
+
#f8f8f8 100%
|
8278
|
+
);
|
8279
|
+
background: linear-gradient(
|
8280
|
+
to bottom,
|
8281
|
+
var(--background-color) 0%,
|
8282
|
+
var(--background-disabled-color) 100%
|
8283
|
+
);
|
8270
8284
|
color: #666;
|
8271
8285
|
color: var(--text-light-color);
|
8272
8286
|
font-weight: bold;
|
@@ -8303,12 +8317,16 @@ table.list tr.disabled td {
|
|
8303
8317
|
}
|
8304
8318
|
|
8305
8319
|
table.list tr.disabled td:first-child {
|
8306
|
-
background: transparent
|
8320
|
+
background: transparent
|
8321
|
+
radial-gradient(ellipse at center, #bdbdbd 50%, transparent 50%) no-repeat
|
8322
|
+
left 12px top 50%;
|
8307
8323
|
background-size: 10px 10px;
|
8308
8324
|
}
|
8309
8325
|
|
8310
8326
|
table.list tr.active td:first-child {
|
8311
|
-
background: transparent
|
8327
|
+
background: transparent
|
8328
|
+
radial-gradient(ellipse at center, #92b6c4 50%, transparent 50%) no-repeat
|
8329
|
+
left 12px top 50%;
|
8312
8330
|
background-size: 10px 10px;
|
8313
8331
|
}
|
8314
8332
|
|
@@ -8376,7 +8394,11 @@ body.modal > .wrapper {
|
|
8376
8394
|
}
|
8377
8395
|
|
8378
8396
|
.modal-wrapper .background {
|
8379
|
-
background: radial-gradient(
|
8397
|
+
background: radial-gradient(
|
8398
|
+
rgba(255, 255, 255, 0.9),
|
8399
|
+
rgba(255, 255, 255, 0.9) 50%,
|
8400
|
+
rgba(80, 80, 80, 0.9)
|
8401
|
+
);
|
8380
8402
|
cursor: pointer;
|
8381
8403
|
position: absolute;
|
8382
8404
|
top: 0px;
|
@@ -8431,18 +8453,18 @@ body.modal > .wrapper {
|
|
8431
8453
|
}
|
8432
8454
|
|
8433
8455
|
100% {
|
8434
|
-
opacity: 1
|
8435
|
-
transform: scale(1
|
8456
|
+
opacity: 1;
|
8457
|
+
transform: scale(1);
|
8436
8458
|
}
|
8437
8459
|
}
|
8438
8460
|
|
8439
8461
|
@keyframes modal-background-appear {
|
8440
8462
|
0% {
|
8441
|
-
opacity: 0
|
8463
|
+
opacity: 0;
|
8442
8464
|
}
|
8443
8465
|
|
8444
8466
|
100% {
|
8445
|
-
opacity: 1
|
8467
|
+
opacity: 1;
|
8446
8468
|
}
|
8447
8469
|
}
|
8448
8470
|
|
@@ -8503,8 +8525,16 @@ body.modal > .wrapper {
|
|
8503
8525
|
.page-tree .page:hover {
|
8504
8526
|
border: 1px solid #eee;
|
8505
8527
|
border: 1px solid var(--border-color-light);
|
8506
|
-
background: linear-gradient(
|
8507
|
-
|
8528
|
+
background: linear-gradient(
|
8529
|
+
to bottom,
|
8530
|
+
#fff 0%,
|
8531
|
+
#f8f8f8 100%
|
8532
|
+
);
|
8533
|
+
background: linear-gradient(
|
8534
|
+
to bottom,
|
8535
|
+
var(--background-color) 0%,
|
8536
|
+
var(--background-disabled-color) 100%
|
8537
|
+
);
|
8508
8538
|
}
|
8509
8539
|
|
8510
8540
|
.page-tree .page .date {
|
@@ -8865,7 +8895,7 @@ textarea.rich {
|
|
8865
8895
|
text-align: left;
|
8866
8896
|
animation-duration: 500ms;
|
8867
8897
|
animation-name: toast-appear;
|
8868
|
-
animation-timing-function: cubic-bezier(0.215, 0.
|
8898
|
+
animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
|
8869
8899
|
animation-fill-mode: forwards;
|
8870
8900
|
}
|
8871
8901
|
|
@@ -8877,7 +8907,7 @@ textarea.rich {
|
|
8877
8907
|
.toast-wrapper .toast.fadeout {
|
8878
8908
|
animation-duration: 300ms;
|
8879
8909
|
animation-name: toast-disappear;
|
8880
|
-
animation-timing-function: cubic-bezier(0.
|
8910
|
+
animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
|
8881
8911
|
}
|
8882
8912
|
|
8883
8913
|
@keyframes toast-appear {
|
@@ -9011,7 +9041,8 @@ textarea.rich {
|
|
9011
9041
|
}
|
9012
9042
|
|
9013
9043
|
.toolbar .button.header i:after, .toolbar button.header i:after {
|
9014
|
-
font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif, BlinkMacSystemFont, "Segoe UI",
|
9044
|
+
font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif, BlinkMacSystemFont, "Segoe UI",
|
9045
|
+
Roboto, Ubuntu, "Helvetica Neue", Oxygen, Cantarell, sans-serif;
|
9015
9046
|
font-family: var(--font-os-sans);
|
9016
9047
|
font-weight: bold;
|
9017
9048
|
font-size: 13px;
|
@@ -9196,7 +9227,9 @@ td.drag-handle {
|
|
9196
9227
|
}
|
9197
9228
|
|
9198
9229
|
.news-item-list .pinned .name, .calendar-item-list .pinned .name {
|
9199
|
-
background: transparent
|
9230
|
+
background: transparent
|
9231
|
+
radial-gradient(ellipse at center, #92b6c4 50%, transparent 50%) no-repeat
|
9232
|
+
left 12px top 50%;
|
9200
9233
|
background-size: 10px 10px;
|
9201
9234
|
}
|
9202
9235
|
|
@@ -9222,7 +9255,7 @@ td.drag-handle {
|
|
9222
9255
|
display: block;
|
9223
9256
|
}
|
9224
9257
|
|
9225
|
-
.edit-page main input[type=text],
|
9258
|
+
.edit-page main input[type="text"],
|
9226
9259
|
.edit-page main textarea {
|
9227
9260
|
width: 100%;
|
9228
9261
|
max-width: 100%;
|
@@ -28,8 +28,7 @@
|
|
28
28
|
padding: 16px 0px 16px 40px;
|
29
29
|
cursor: pointer;
|
30
30
|
background: #fff;
|
31
|
-
transition: padding-left 50ms ease-in-out,
|
32
|
-
background 150ms ease-in-out;
|
31
|
+
transition: padding-left 50ms ease-in-out, background 150ms ease-in-out;
|
33
32
|
|
34
33
|
& .attachment-info {
|
35
34
|
transition: all 50ms ease-in-out;
|
@@ -118,7 +117,7 @@
|
|
118
117
|
}
|
119
118
|
|
120
119
|
& .embed-code {
|
121
|
-
& input[type=text] {
|
120
|
+
& input[type="text"] {
|
122
121
|
width: 50%;
|
123
122
|
max-width: 100px;
|
124
123
|
margin-right: 8px;
|
@@ -126,7 +125,7 @@
|
|
126
125
|
}
|
127
126
|
|
128
127
|
& textarea,
|
129
|
-
& input[type=text] {
|
128
|
+
& input[type="text"] {
|
130
129
|
max-width: 100%;
|
131
130
|
|
132
131
|
&.description {
|
@@ -7,9 +7,9 @@ form {
|
|
7
7
|
margin: 16px 0;
|
8
8
|
padding: 0;
|
9
9
|
|
10
|
-
& input[type=text],
|
11
|
-
& input[type=password],
|
12
|
-
& input[type=email],
|
10
|
+
& input[type="text"],
|
11
|
+
& input[type="password"],
|
12
|
+
& input[type="email"],
|
13
13
|
& textarea {
|
14
14
|
transition: border-color 150ms ease-out;
|
15
15
|
}
|
@@ -41,9 +41,9 @@ form {
|
|
41
41
|
}
|
42
42
|
|
43
43
|
& .field-with-warning {
|
44
|
-
& input[type=text],
|
45
|
-
& input[type=password],
|
46
|
-
& input[type=email],
|
44
|
+
& input[type="text"],
|
45
|
+
& input[type="password"],
|
46
|
+
& input[type="email"],
|
47
47
|
& textarea {
|
48
48
|
border-color: var(--red-light);
|
49
49
|
}
|
@@ -79,8 +79,8 @@ form {
|
|
79
79
|
}
|
80
80
|
}
|
81
81
|
|
82
|
-
& input[type=text],
|
83
|
-
& input[type=password] {
|
82
|
+
& input[type="text"],
|
83
|
+
& input[type="password"] {
|
84
84
|
width: 100%;
|
85
85
|
max-width: none;
|
86
86
|
}
|
@@ -96,7 +96,7 @@ form {
|
|
96
96
|
display: inline-block;
|
97
97
|
}
|
98
98
|
|
99
|
-
& input[type=text] {
|
99
|
+
& input[type="text"] {
|
100
100
|
display: inline;
|
101
101
|
width: auto;
|
102
102
|
min-width: auto;
|
@@ -139,11 +139,12 @@ form {
|
|
139
139
|
display: table;
|
140
140
|
padding: 1px;
|
141
141
|
padding-right: 22px;
|
142
|
-
background: transparent url("pages/admin/warning-icon.gif") right 5px
|
142
|
+
background: transparent url("pages/admin/warning-icon.gif") right 5px
|
143
|
+
no-repeat;
|
143
144
|
}
|
144
145
|
|
145
|
-
input[type=text],
|
146
|
-
input[type=password],
|
146
|
+
input[type="text"],
|
147
|
+
input[type="password"],
|
147
148
|
textarea {
|
148
149
|
width: 100%;
|
149
150
|
max-width: 450px;
|
@@ -165,10 +166,10 @@ textarea {
|
|
165
166
|
}
|
166
167
|
}
|
167
168
|
|
168
|
-
main .login-form input[type=text],
|
169
|
-
main .login-form input[type=password],
|
170
|
-
input[type=text].large,
|
171
|
-
input[type=password].large {
|
169
|
+
main .login-form input[type="text"],
|
170
|
+
main .login-form input[type="password"],
|
171
|
+
input[type="text"].large,
|
172
|
+
input[type="password"].large {
|
172
173
|
font-size: 1.4em;
|
173
174
|
}
|
174
175
|
|
@@ -2,7 +2,7 @@
|
|
2
2
|
cursor: pointer;
|
3
3
|
display: block;
|
4
4
|
transition: transform 200ms, box-shadow 200ms, border-color 200ms ease-out;
|
5
|
-
box-shadow: 0px 2px 5px rgba(0, 0, 0, 0
|
5
|
+
box-shadow: 0px 2px 5px rgba(0, 0, 0, 0);
|
6
6
|
border: 1px solid #fff;
|
7
7
|
position: relative;
|
8
8
|
-webkit-perspective: 1000;
|
@@ -13,7 +13,7 @@
|
|
13
13
|
right: 6px;
|
14
14
|
font-size: 14px;
|
15
15
|
color: var(--background-warning-color);
|
16
|
-
text-shadow: 0px 0px 5px rgba(0, 0, 0, 1
|
16
|
+
text-shadow: 0px 0px 5px rgba(0, 0, 0, 1);
|
17
17
|
z-index: 100;
|
18
18
|
}
|
19
19
|
|
@@ -56,7 +56,10 @@
|
|
56
56
|
width: 100%;
|
57
57
|
height: 100%;
|
58
58
|
background: #e5e5e5;
|
59
|
-
background-image: linear-gradient(45deg, #fff 25%, transparent 25%),
|
59
|
+
background-image: linear-gradient(45deg, #fff 25%, transparent 25%),
|
60
|
+
linear-gradient(135deg, #fff 25%, transparent 25%),
|
61
|
+
linear-gradient(45deg, transparent 75%, #fff 75%),
|
62
|
+
linear-gradient(135deg, transparent 75%, #fff 75%);
|
60
63
|
background-size: 12px 12px;
|
61
64
|
background-position: 0 0, 6px 0, 6px -6px, 0px 6px;
|
62
65
|
display: flex;
|
@@ -187,7 +190,8 @@
|
|
187
190
|
touch-action: none;
|
188
191
|
user-select: none;
|
189
192
|
cursor: pointer;
|
190
|
-
transition: border-radius 200ms, margin 200ms, width 200ms, height 200ms,
|
193
|
+
transition: border-radius 200ms, margin 200ms, width 200ms, height 200ms,
|
194
|
+
border-color 200ms ease-out;
|
191
195
|
|
192
196
|
&:hover {
|
193
197
|
&:after {
|
@@ -11,7 +11,11 @@ table.list {
|
|
11
11
|
}
|
12
12
|
|
13
13
|
& th {
|
14
|
-
background: linear-gradient(
|
14
|
+
background: linear-gradient(
|
15
|
+
to bottom,
|
16
|
+
var(--background-color) 0%,
|
17
|
+
var(--background-disabled-color) 100%
|
18
|
+
);
|
15
19
|
color: var(--text-light-color);
|
16
20
|
font-weight: bold;
|
17
21
|
border-bottom: 1px solid var(--border-color);
|
@@ -44,12 +48,16 @@ table.list {
|
|
44
48
|
}
|
45
49
|
|
46
50
|
& tr.disabled td:first-child {
|
47
|
-
background: transparent
|
51
|
+
background: transparent
|
52
|
+
radial-gradient(ellipse at center, #bdbdbd 50%, transparent 50%) no-repeat
|
53
|
+
left 12px top 50%;
|
48
54
|
background-size: 10px 10px;
|
49
55
|
}
|
50
56
|
|
51
57
|
& tr.active td:first-child {
|
52
|
-
background: transparent
|
58
|
+
background: transparent
|
59
|
+
radial-gradient(ellipse at center, #92b6c4 50%, transparent 50%) no-repeat
|
60
|
+
left 12px top 50%;
|
53
61
|
background-size: 10px 10px;
|
54
62
|
}
|
55
63
|
|
@@ -15,7 +15,11 @@ body.modal {
|
|
15
15
|
justify-content: center;
|
16
16
|
|
17
17
|
& .background {
|
18
|
-
background: radial-gradient(
|
18
|
+
background: radial-gradient(
|
19
|
+
rgba(255, 255, 255, 0.9),
|
20
|
+
rgba(255, 255, 255, 0.9) 50%,
|
21
|
+
rgba(80, 80, 80, 0.9)
|
22
|
+
);
|
19
23
|
cursor: pointer;
|
20
24
|
position: absolute;
|
21
25
|
top: 0px;
|
@@ -68,17 +72,17 @@ body.modal {
|
|
68
72
|
}
|
69
73
|
|
70
74
|
100% {
|
71
|
-
opacity: 1
|
72
|
-
transform: scale(1
|
75
|
+
opacity: 1;
|
76
|
+
transform: scale(1);
|
73
77
|
}
|
74
78
|
}
|
75
79
|
|
76
80
|
@keyframes modal-background-appear {
|
77
81
|
0% {
|
78
|
-
opacity: 0
|
82
|
+
opacity: 0;
|
79
83
|
}
|
80
84
|
|
81
85
|
100% {
|
82
|
-
opacity: 1
|
86
|
+
opacity: 1;
|
83
87
|
}
|
84
88
|
}
|
@@ -49,7 +49,11 @@
|
|
49
49
|
|
50
50
|
&:hover {
|
51
51
|
border: 1px solid var(--border-color-light);
|
52
|
-
background: linear-gradient(
|
52
|
+
background: linear-gradient(
|
53
|
+
to bottom,
|
54
|
+
var(--background-color) 0%,
|
55
|
+
var(--background-disabled-color) 100%
|
56
|
+
);
|
53
57
|
}
|
54
58
|
|
55
59
|
& .date {
|
@@ -17,7 +17,7 @@
|
|
17
17
|
text-align: left;
|
18
18
|
animation-duration: 500ms;
|
19
19
|
animation-name: toast-appear;
|
20
|
-
animation-timing-function: cubic-bezier(0.215, 0.
|
20
|
+
animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
|
21
21
|
animation-fill-mode: forwards;
|
22
22
|
|
23
23
|
&.error {
|
@@ -27,7 +27,7 @@
|
|
27
27
|
&.fadeout {
|
28
28
|
animation-duration: 300ms;
|
29
29
|
animation-name: toast-disappear;
|
30
|
-
animation-timing-function: cubic-bezier(0.
|
30
|
+
animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
|
31
31
|
}
|
32
32
|
}
|
33
33
|
}
|
@@ -136,7 +136,9 @@ td.drag-handle {
|
|
136
136
|
}
|
137
137
|
|
138
138
|
& .pinned .name {
|
139
|
-
background: transparent
|
139
|
+
background: transparent
|
140
|
+
radial-gradient(ellipse at center, #92b6c4 50%, transparent 50%) no-repeat
|
141
|
+
left 12px top 50%;
|
140
142
|
background-size: 10px 10px;
|
141
143
|
}
|
142
144
|
}
|
@@ -162,7 +164,7 @@ td.drag-handle {
|
|
162
164
|
}
|
163
165
|
}
|
164
166
|
|
165
|
-
& main input[type=text],
|
167
|
+
& main input[type="text"],
|
166
168
|
& main textarea {
|
167
169
|
width: 100%;
|
168
170
|
max-width: 100%;
|
@@ -2,7 +2,8 @@
|
|
2
2
|
@custom-media --narrow screen and (max-width: 1150px);
|
3
3
|
|
4
4
|
:root {
|
5
|
-
--font-os-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
|
5
|
+
--font-os-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
|
6
|
+
Roboto, Ubuntu, "Helvetica Neue", Oxygen, Cantarell, sans-serif;
|
6
7
|
|
7
8
|
--red: #c00007;
|
8
9
|
--red-transparent: #c0000740;
|
@@ -8,7 +8,7 @@ module Admin
|
|
8
8
|
|
9
9
|
def show
|
10
10
|
unless @year
|
11
|
-
redirect_to(admin_calendar_path(
|
11
|
+
redirect_to(admin_calendar_path(content_locale, Time.zone.now.year))
|
12
12
|
return
|
13
13
|
end
|
14
14
|
@pages = if @month
|
@@ -23,7 +23,7 @@ module Admin
|
|
23
23
|
def calendar_items
|
24
24
|
Page.with_dates
|
25
25
|
.order("starts_at DESC")
|
26
|
-
.in_locale(
|
26
|
+
.in_locale(content_locale)
|
27
27
|
.visible
|
28
28
|
.paginate(per_page: 50, page: params[:page])
|
29
29
|
end
|
@@ -22,7 +22,7 @@ module Admin
|
|
22
22
|
@category = Category.create(category_params)
|
23
23
|
if @category.valid?
|
24
24
|
flash[:notice] = t("pages_core.categories_controller.created")
|
25
|
-
redirect_to admin_pages_url(
|
25
|
+
redirect_to admin_pages_url(content_locale)
|
26
26
|
else
|
27
27
|
render action: :new
|
28
28
|
end
|
@@ -31,7 +31,7 @@ module Admin
|
|
31
31
|
def update
|
32
32
|
if @category.update(category_params)
|
33
33
|
flash[:notice] = t("pages_core.categories_controller.updated")
|
34
|
-
redirect_to admin_pages_url(
|
34
|
+
redirect_to admin_pages_url(content_locale)
|
35
35
|
else
|
36
36
|
render action: :edit
|
37
37
|
end
|
@@ -40,7 +40,7 @@ module Admin
|
|
40
40
|
def destroy
|
41
41
|
@category.destroy
|
42
42
|
flash[:notice] = t("pages_core.categories_controller.deleted")
|
43
|
-
redirect_to admin_pages_url(
|
43
|
+
redirect_to admin_pages_url(content_locale)
|
44
44
|
end
|
45
45
|
|
46
46
|
protected
|