diff options
Diffstat (limited to 'client/src/app/shared/forms')
3 files changed, 8 insertions, 8 deletions
diff --git a/client/src/app/shared/forms/markdown-textarea.component.scss b/client/src/app/shared/forms/markdown-textarea.component.scss index 33f52fa6e..f2c76f7a1 100644 --- a/client/src/app/shared/forms/markdown-textarea.component.scss +++ b/client/src/app/shared/forms/markdown-textarea.component.scss | |||
@@ -14,7 +14,7 @@ $input-border-radius: 3px; | |||
14 | textarea { | 14 | textarea { |
15 | @include peertube-textarea(100%, 150px); | 15 | @include peertube-textarea(100%, 150px); |
16 | 16 | ||
17 | background-color: var(--markdownTextareaBackgroundColor); | 17 | background-color: pvar(--markdownTextareaBackgroundColor); |
18 | 18 | ||
19 | font-family: monospace; | 19 | font-family: monospace; |
20 | font-size: 13px; | 20 | font-size: 13px; |
@@ -61,7 +61,7 @@ $input-border-radius: 3px; | |||
61 | flex-grow: 1; | 61 | flex-grow: 1; |
62 | border-bottom-left-radius: unset; | 62 | border-bottom-left-radius: unset; |
63 | border-bottom-right-radius: unset; | 63 | border-bottom-right-radius: unset; |
64 | border-bottom: 2px solid var(--mainColor); | 64 | border-bottom: 2px solid pvar(--mainColor); |
65 | 65 | ||
66 | :first-child { | 66 | :first-child { |
67 | margin-left: auto; | 67 | margin-left: auto; |
@@ -112,7 +112,7 @@ $input-border-radius: 3px; | |||
112 | padding-left: 0px; | 112 | padding-left: 0px; |
113 | padding-right: 0px; | 113 | padding-right: 0px; |
114 | position: absolute; | 114 | position: absolute; |
115 | background-color: var(--mainBackgroundColor); | 115 | background-color: pvar(--mainBackgroundColor); |
116 | width: 100% !important; | 116 | width: 100% !important; |
117 | border-top: none; | 117 | border-top: none; |
118 | border-left: none; | 118 | border-left: none; |
@@ -125,8 +125,8 @@ $input-border-radius: 3px; | |||
125 | 125 | ||
126 | ::ng-deep .tab-content { | 126 | ::ng-deep .tab-content { |
127 | @include content-preview-base(); | 127 | @include content-preview-base(); |
128 | background-color: var(--mainBackgroundColor); | 128 | background-color: pvar(--mainBackgroundColor); |
129 | scrollbar-color: var(--actionButtonColor) var(--mainBackgroundColor); | 129 | scrollbar-color: pvar(--actionButtonColor) pvar(--mainBackgroundColor); |
130 | } | 130 | } |
131 | 131 | ||
132 | textarea, | 132 | textarea, |
@@ -214,7 +214,7 @@ $input-border-radius: 3px; | |||
214 | padding: $base-padding; | 214 | padding: $base-padding; |
215 | border-right: 1px dashed $input-border-color !important; | 215 | border-right: 1px dashed $input-border-color !important; |
216 | resize: none; | 216 | resize: none; |
217 | scrollbar-color: var(--actionButtonColor) var(--markdownTextareaBackgroundColor); | 217 | scrollbar-color: pvar(--actionButtonColor) pvar(--markdownTextareaBackgroundColor); |
218 | 218 | ||
219 | &:focus { | 219 | &:focus { |
220 | box-shadow: none; | 220 | box-shadow: none; |
diff --git a/client/src/app/shared/forms/peertube-checkbox.component.scss b/client/src/app/shared/forms/peertube-checkbox.component.scss index c1233e8a5..cf8540dc3 100644 --- a/client/src/app/shared/forms/peertube-checkbox.component.scss +++ b/client/src/app/shared/forms/peertube-checkbox.component.scss | |||
@@ -45,7 +45,7 @@ | |||
45 | font-size: 12px; | 45 | font-size: 12px; |
46 | line-height: 12px; | 46 | line-height: 12px; |
47 | font-weight: 500; | 47 | font-weight: 500; |
48 | color: var(--inputPlaceholderColor); | 48 | color: pvar(--inputPlaceholderColor); |
49 | background-color: rgba(217,225,232,.1); | 49 | background-color: rgba(217,225,232,.1); |
50 | border: 1px solid rgba(217,225,232,.5); | 50 | border: 1px solid rgba(217,225,232,.5); |
51 | } | 51 | } |
diff --git a/client/src/app/shared/forms/timestamp-input.component.scss b/client/src/app/shared/forms/timestamp-input.component.scss index 9671cc65f..8092b095b 100644 --- a/client/src/app/shared/forms/timestamp-input.component.scss +++ b/client/src/app/shared/forms/timestamp-input.component.scss | |||
@@ -9,7 +9,7 @@ p-inputmask { | |||
9 | 9 | ||
10 | &:focus-within, | 10 | &:focus-within, |
11 | &:focus { | 11 | &:focus { |
12 | box-shadow: #{$focus-box-shadow-form} var(--mainColorLightest); | 12 | box-shadow: #{$focus-box-shadow-form} pvar(--mainColorLightest); |
13 | } | 13 | } |
14 | } | 14 | } |
15 | } | 15 | } |