summaryrefslogtreecommitdiff
blob: 7aceb3a3dbdd3c3aecc09ec627f00ab8b90e8025 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
.milestone-widget fieldset {
	margin-bottom: 1em;
}

.milestone-widget fieldset * {
	vertical-align: middle;
}

.jp-ms-data-time input[type="text"] {
	text-align: right;
	width: 2.1em;
}

.jp-ms-data-time .month {
	width: 5.4em;

}

.jp-ms-data-time .year[type="text"] {
	text-align: right;
	width: 3.2em;
}

.jp-ms-data-time input[type="text"] {
	text-align: right;
	width: 3.2em;
}

.jp-ms-data-time .year[type="text"] {
	width: 4.5em;
}

.jp-ms-data-time .assistive-text,
.jp-ms-data-unit .assistive-text {
	position: absolute !important;
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);
}

@media screen and (max-width: 782px) {
	.jp-ms-data-time input[type="text"],
	.jp-ms-data-time .year[type="text"] {
		width: 2.8em;

	}

	.jp-ms-data-time .year[type="text"] {
		width: 4em;
	}
}

/* Fix styles of the Milestone block when it is dispayed as a part of the Legacy Widget block */
.wp-block-legacy-widget__edit-form .widget-inside .widget-content .jp-ms-data-time .month {
	display: inline-block;
	width: 6.5em;
	min-height: 34px;
}

.wp-block-legacy-widget__edit-form .widget-inside .widget-content .jp-ms-data-time input[type="text"] {
	display: inline-block;
	width: 3.2em;
}

.wp-block-legacy-widget__edit-form .widget-inside .widget-content .jp-ms-data-time .year[type="text"] {
	width: 4.5em;
}

.editor-styles-wrapper ul.milestone-type {
	list-style-type: none;
	padding-left: 0;
}