changeset 3ad2624f7035 in sao:default
details: https://hg.tryton.org/sao?cmd=changeset;node=3ad2624f7035
description:
Update border and color of themed input-group-addon and form-control
Override variable in theme does not work because it is imported under
html[theme="default"].
issue9689
review326281002
diffstat:
src/theme.less | 29 ++++++++++++++++++++++++-----
1 files changed, 24 insertions(+), 5 deletions(-)
diffs (53 lines):
diff -r 941fe31687bc -r 3ad2624f7035 src/theme.less
--- a/src/theme.less Sun Oct 11 19:04:16 2020 +0200
+++ b/src/theme.less Mon Oct 12 11:25:24 2020 +0200
@@ -20,11 +20,6 @@
THE SOFTWARE.
*/
-@input-border-radius: 0;
-@input-border-radius-large: 0;
-@input-border-radius-small: 0;
-@input-bg-disabled: transparent;
-
.navbar {
border: none;
.box-shadow(0 1px 2px rgba(0,0,0,.3));
@@ -93,6 +88,16 @@
}
}
+.form-control {
+ border: transparent;
+
+ &[disabled],
+ &[readonly],
+ fieldset[disabled] & {
+ background-color: transparent;
+ }
+}
+
textarea,
textarea.form-control,
input.form-control,
@@ -140,6 +145,20 @@
padding: 0 5px;
}
+.input-group-addon {
+ background-color: transparent;
+ border: transparent;
+ border-radius: 0;
+
+ &.input-sm {
+ border-radius: 0;
+ }
+
+ &.input-lg {
+ border-radius: 0;
+ }
+}
+
select,
select.form-control {
border: 0;