|
| 1 | +.formPane a { |
| 2 | + color: var(--color-text-link, #3b5998); |
| 3 | + text-decoration: none; |
| 4 | +} |
| 5 | + |
| 6 | +.formPane a:link { |
| 7 | + color: var(--color-text-link, #3b5998); |
| 8 | + text-decoration: none; |
| 9 | +} |
| 10 | + |
| 11 | +.formPane a:visited { |
| 12 | + color: var(--color-text-link-visited, #3b5998); |
| 13 | + text-decoration: none; |
| 14 | +} |
| 15 | + |
| 16 | +.formPane a:hover { |
| 17 | + color: var(--color-text-link-hover, #3b5998); |
| 18 | + font-weight: bold; |
| 19 | +} |
| 20 | + |
| 21 | +.formPane a:active { |
| 22 | + color: var(--color-text-link-active, #888); |
| 23 | + text-decoration: none; |
| 24 | +} |
| 25 | + |
| 26 | +.formPane__message, |
1 | 27 | .formPaneMessage { |
2 | 28 | color: #666; |
3 | 29 | margin: var(--spacing-xs, 0.5em) 0; |
4 | 30 | padding: var(--spacing-xs, 0.35em) var(--spacing-xs, 0.5em); |
5 | 31 | } |
6 | 32 |
|
7 | | -.formPaneMessageInfo { |
| 33 | +.formPane__message--info { |
8 | 34 | background-color: var(--color-main-block-bg, #eee); |
9 | 35 | } |
10 | 36 |
|
11 | | -.formPaneMessageError { |
| 37 | +.formPane__message--error { |
12 | 38 | background-color: var(--color-log-error-bg, #fee); |
13 | 39 | } |
14 | 40 |
|
15 | | -.formPaneEditButton { |
16 | | - padding: var(--spacing-xs, 0.5em); |
17 | | - border: .5em solid white; |
| 41 | +.formPane__editButton { |
| 42 | + margin-left: auto; |
| 43 | + align-self: center; |
| 44 | + padding: var(--spacing-xs, 0.5rem); |
| 45 | + border: .5rem solid white; |
18 | 46 | font-size: 100%; |
19 | | - float: right; |
| 47 | + float: none; |
| 48 | +} |
| 49 | + |
| 50 | +.formPane .formPane__mobileTextareaValue > div { |
| 51 | + display: block; |
| 52 | + min-width: 0; |
| 53 | + position: relative; |
| 54 | +} |
| 55 | + |
| 56 | +.formPane .formPane__mobileTextareaValue > div > textarea { |
| 57 | + box-sizing: border-box; |
| 58 | + max-width: 100%; |
| 59 | + min-width: 0; |
| 60 | + width: 100%; |
| 61 | +} |
| 62 | + |
| 63 | +.formPane .formPane__mobileTextareaValue > div > button[type='button'] { |
| 64 | + float: none !important; |
| 65 | + position: absolute; |
| 66 | + right: 0; |
| 67 | + top: 0; |
| 68 | +} |
| 69 | + |
| 70 | +.formPane[data-layout='mobile'] .formPane__mobileTextareaRow { |
| 71 | + flex-direction: column !important; |
| 72 | + align-items: stretch; |
| 73 | +} |
| 74 | + |
| 75 | +.formPane[data-layout='mobile'] .formPane__mobileTextareaLabel { |
| 76 | + width: auto !important; |
| 77 | + padding-bottom: 0; |
| 78 | +} |
| 79 | + |
| 80 | +.formPane[data-layout='mobile'] .formPane__mobileTextareaValue { |
| 81 | + box-sizing: border-box; |
| 82 | + min-width: 0; |
| 83 | + padding-right: var(--spacing-sm, 0.75rem); |
| 84 | + width: 100%; |
| 85 | +} |
| 86 | + |
| 87 | +.formPane[data-layout='mobile'] .formPane__mobileTextareaValue textarea { |
| 88 | + box-sizing: border-box; |
| 89 | + margin-left: 0 !important; |
| 90 | + margin-right: 0 !important; |
| 91 | + max-width: 100%; |
| 92 | + width: 100%; |
| 93 | +} |
| 94 | + |
| 95 | +@media (max-width: 960px) { |
| 96 | + .formPane .formPane__mobileTextareaRow { |
| 97 | + flex-direction: column !important; |
| 98 | + align-items: stretch; |
| 99 | + } |
| 100 | + |
| 101 | + .formPane .formPane__mobileTextareaLabel { |
| 102 | + width: auto !important; |
| 103 | + padding-bottom: 0; |
| 104 | + } |
| 105 | + |
| 106 | + .formPane .formPane__mobileTextareaValue { |
| 107 | + box-sizing: border-box; |
| 108 | + min-width: 0; |
| 109 | + padding-right: var(--spacing-sm, 0.75rem); |
| 110 | + width: 100%; |
| 111 | + } |
| 112 | + |
| 113 | + .formPane .formPane__mobileTextareaValue textarea { |
| 114 | + box-sizing: border-box; |
| 115 | + margin-left: 0 !important; |
| 116 | + margin-right: 0 !important; |
| 117 | + max-width: 100%; |
| 118 | + width: 100%; |
| 119 | + } |
20 | 120 | } |
0 commit comments