| @@ -1,99 +1,49 @@ | ||
| 1 | -@import "../content-helper/common/css/variables"; | |
| 2 | -@import "../content-helper/common/css/functions"; | |
| 3 | - | |
| 4 | -.parse-ly_page_parsely-settings { | |
| 1 | +:root { | |
| 5 | 2 | --padding-default: 15px; |
| 3 | +} | |
| 6 | 4 | |
| 7 | - fieldset.user-role-permissions { | |
| 8 | - label { | |
| 9 | - margin-right: to_rem(16px) !important; | |
| 10 | - } | |
| 11 | - } | |
| 5 | +#track-post-types { | |
| 6 | + max-width: 550px; | |
| 7 | + width: 100%; | |
| 8 | +} | |
| 12 | 9 | |
| 13 | - .content-helper-message { | |
| 14 | - margin-top: 1.5rem; | |
| 10 | +#track-post-types th, | |
| 11 | +#track-post-types td { | |
| 12 | + display: table-cell; | |
| 13 | + padding: var(--padding-default); | |
| 14 | + text-align: center; | |
| 15 | + vertical-align: middle; | |
| 16 | +} | |
| 15 | 17 | |
| 16 | - p { | |
| 17 | - padding: 0.5rem; | |
| 18 | - } | |
| 19 | - } | |
| 18 | +#track-post-types td { | |
| 19 | + padding: 0; /* Set padding to 0 so labels can take the space */ | |
| 20 | +} | |
| 20 | 21 | |
| 21 | - .disabled-before-posting, | |
| 22 | - fieldset:disabled, | |
| 23 | - tr:has(fieldset:disabled) { | |
| 24 | - label:not(.prevent-disable), | |
| 25 | - p, | |
| 26 | - th { | |
| 27 | - color: var(--gray-500); | |
| 28 | - cursor: default; | |
| 29 | - } | |
| 30 | - } | |
| 22 | +/* Make radio box clickable in whole cell */ | |
| 23 | +#track-post-types td label { | |
| 24 | + display: inline-block; | |
| 25 | + margin: 0 !important; | |
| 26 | + padding-top: var(--padding-default); | |
| 27 | + padding-bottom: var(--padding-default); | |
| 28 | + width: 100%; | |
| 29 | +} | |
| 31 | 30 | |
| 32 | - #track-post-types { | |
| 33 | - max-width: 550px; | |
| 34 | - width: 100%; | |
| 31 | +#track-post-types thead th:nth-child(3) { | |
| 32 | + word-break: break-word; | |
| 33 | +} | |
| 35 | 34 | |
| 36 | - th, | |
| 37 | - td { | |
| 38 | - display: table-cell; | |
| 39 | - padding: var(--padding-default); | |
| 40 | - text-align: center; | |
| 41 | - vertical-align: middle; | |
| 42 | - } | |
| 35 | +@media only screen and (max-width: 380px) { | |
| 43 | 36 | |
| 44 | - /* Set padding to 0 so labels can take all the space */ | |
| 45 | - td { | |
| 46 | - padding: 0; | |
| 47 | - } | |
| 48 | - | |
| 49 | - /* Make radio box clickable in whole cell */ | |
| 50 | - td label { | |
| 51 | - display: inline-block; | |
| 52 | - margin: 0 !important; | |
| 53 | - padding-top: var(--padding-default); | |
| 54 | - padding-bottom: var(--padding-default); | |
| 55 | - width: 100%; | |
| 56 | - } | |
| 57 | - | |
| 58 | - thead th:nth-child(3) { | |
| 59 | - word-break: break-word; | |
| 60 | - } | |
| 37 | + #track-post-types th, | |
| 38 | + #track-post-types td { | |
| 39 | + padding-left: 10px; | |
| 40 | + padding-right: 10px; | |
| 61 | 41 | } |
| 62 | 42 | |
| 63 | - /* Can be a link or span. */ | |
| 64 | - .managed-option-badge { | |
| 65 | - border-radius: to_rem(4px); | |
| 66 | - border: to_rem(1px) solid var(--green-500); | |
| 67 | - color: var(--green-500) !important; | |
| 68 | - display: inline-block; | |
| 69 | - font-size: to_rem(10px); | |
| 70 | - padding: to_rem(2px) to_rem(4px); | |
| 71 | - text-decoration: none; | |
| 72 | - } | |
| 73 | - | |
| 74 | - a.managed-option-badge { | |
| 75 | - cursor: pointer !important; | |
| 76 | - | |
| 77 | - &:hover { | |
| 78 | - background-color: var(--green-500); | |
| 79 | - color: #fff !important; | |
| 80 | - } | |
| 81 | - } | |
| 82 | - | |
| 83 | - @media only screen and (max-width: 380px) { | |
| 84 | - #track-post-types { | |
| 85 | - th, | |
| 86 | - td { | |
| 87 | - padding-left: 10px; | |
| 88 | - padding-right: 10px; | |
| 89 | - } | |
| 90 | - | |
| 91 | - th:first-child { | |
| 92 | - max-width: 120px; | |
| 93 | - overflow: hidden; | |
| 94 | - text-overflow: ellipsis; | |
| 95 | - white-space: nowrap; | |
| 96 | - } | |
| 97 | - } | |
| 43 | + #track-post-types th:first-child { | |
| 44 | + max-width: 120px; | |
| 45 | + overflow: hidden; | |
| 46 | + text-overflow: ellipsis; | |
| 47 | + white-space: nowrap; | |
| 98 | 48 | } |
| 99 | 49 | } |