admin.js
6 years ago
class-milestone-widget.php
1 year ago
milestone-widget.css
1 year ago
milestone.js
1 year ago
milestone.php
5 years ago
style-admin.css
1 year ago
style-admin.css
65 lines
| 1 | .milestone-widget fieldset { |
| 2 | margin-bottom: 1em; |
| 3 | } |
| 4 | |
| 5 | .milestone-widget fieldset * { |
| 6 | vertical-align: middle; |
| 7 | } |
| 8 | |
| 9 | .jp-ms-data-time input[type="text"] { |
| 10 | text-align: right; |
| 11 | width: 3.2em; |
| 12 | } |
| 13 | |
| 14 | .jp-ms-data-time .month { |
| 15 | width: 5.4em; |
| 16 | |
| 17 | } |
| 18 | |
| 19 | .jp-ms-data-time .year[type="text"] { |
| 20 | text-align: right; |
| 21 | width: 4.5em; |
| 22 | } |
| 23 | |
| 24 | .jp-ms-data-time .assistive-text, |
| 25 | .jp-ms-data-unit .assistive-text { |
| 26 | position: absolute !important; |
| 27 | clip: rect(1px 1px 1px 1px); /* IE6, IE7 */ |
| 28 | clip: rect(1px, 1px, 1px, 1px); |
| 29 | } |
| 30 | |
| 31 | @media screen and (max-width: 782px) { |
| 32 | |
| 33 | .jp-ms-data-time input[type="text"], |
| 34 | .jp-ms-data-time .year[type="text"] { |
| 35 | width: 2.8em; |
| 36 | |
| 37 | } |
| 38 | |
| 39 | .jp-ms-data-time .year[type="text"] { |
| 40 | width: 4em; |
| 41 | } |
| 42 | } |
| 43 | |
| 44 | /* Fix styles of the Milestone block when it is displayed |
| 45 | * as a part of the Legacy Widget block */ |
| 46 | .wp-block-legacy-widget__edit-form .widget-inside .widget-content .jp-ms-data-time .month { |
| 47 | display: inline-block; |
| 48 | width: 6.5em; |
| 49 | min-height: 34px; |
| 50 | } |
| 51 | |
| 52 | .wp-block-legacy-widget__edit-form .widget-inside .widget-content .jp-ms-data-time input[type="text"] { |
| 53 | display: inline-block; |
| 54 | width: 3.2em; |
| 55 | } |
| 56 | |
| 57 | .wp-block-legacy-widget__edit-form .widget-inside .widget-content .jp-ms-data-time .year[type="text"] { |
| 58 | width: 4.5em; |
| 59 | } |
| 60 | |
| 61 | .editor-styles-wrapper ul.milestone-type { |
| 62 | list-style-type: none; |
| 63 | padding-left: 0; |
| 64 | } |
| 65 |