--- a/src/pyams_skin/resources/less/forms.less Tue Jul 10 15:58:08 2018 +0200
+++ b/src/pyams_skin/resources/less/forms.less Thu Jul 12 18:23:31 2018 +0200
@@ -1168,7 +1168,7 @@
}
}
.input input:focus+.tooltip-top-right,
- .textarea textarea:focus+.tooltip-top-right {
+ .input textarea:focus+.tooltip-top-right {
right: 0;
left: auto;
margin-bottom: 5px;
@@ -1186,7 +1186,7 @@
}
}
.input input:focus+.tooltip-top-left,
- .textarea textarea:focus+.tooltip-top-left {
+ .input textarea:focus+.tooltip-top-left {
right: auto;
left: 0;
margin-bottom: 5px;
@@ -1205,7 +1205,7 @@
}
}
.input input:focus + .tooltip-right,
- .textarea textarea:focus+.tooltip-right {
+ .input textarea:focus+.tooltip-right {
left: 100%;
margin-left: 5px;
}
@@ -1223,7 +1223,7 @@
}
}
.input input:focus + .tooltip-left,
- .textarea textarea:focus + .tooltip-left {
+ .input textarea:focus + .tooltip-left {
right: 100%;
left: auto;
margin-right: 5px;
@@ -1241,7 +1241,7 @@
}
}
.input input:focus + .tooltip-bottom-right,
- .textarea textarea:focus + .tooltip-bottom-right {
+ .input textarea:focus + .tooltip-bottom-right {
right: 0;
left: auto;
margin-top: 5px;
@@ -1259,7 +1259,7 @@
}
}
.input input:focus + .tooltip-bottom-left,
- .textarea textarea:focus + .tooltip-bottom-left {
+ .input textarea:focus + .tooltip-bottom-left {
right: auto;
left: 0;
margin-top: 5px;
@@ -1327,7 +1327,7 @@
}
.input input,
.select select,
- .textarea textarea {
+ .input textarea {
display: block;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
@@ -1366,8 +1366,7 @@
line-height: 1em;
}
}
- .input span.textarea-widget,
- .textarea span.textarea-widget {
+ .input span.textarea-widget {
display: block;
width: 100%;
min-height: 14px;
@@ -1375,8 +1374,8 @@
border-bottom: 1px solid #ccc!important;
}
.input .i18n-content input,
- .select .i18n-content select,
- .textarea .i18n-content textarea {
+ .input .i18n-content textarea,
+ .select .i18n-content select {
&[readonly] {
border-width: 0!important;
}
@@ -1386,19 +1385,19 @@
min-height: 12px;
}
.input input:focus + .tooltip,
- .textarea textarea:focus + .tooltip {
+ .input textarea:focus + .tooltip {
opacity: 1;
}
.input .icon-prepend + input,
- .textarea .icon-prepend + textarea {
+ .input .icon-prepend + textarea {
padding-left: 37px;
}
.input .icon-append + input,
- .textarea .icon-append + textarea {
+ .input .icon-append + textarea {
padding-right: 37px;
}
.input .icon-prepend + .icon-append + input,
- .textarea .icon-prepend + .icon-append + textarea {
+ .input .icon-prepend + .icon-append + textarea {
padding-left: 37px;
}
.input.with-icons {
@@ -1475,10 +1474,10 @@
.select-multiple select {
height: auto;
}
- .textarea {
+ .input {
textarea {
height: auto;
- resize: none;
+ resize: vertical;
}
&.height-100 {
textarea {
@@ -1806,28 +1805,28 @@
.icon-append,
.icon-prepend,
.input input,
+ .input textarea,
.radio i,
.select select,
- .textarea textarea,
.toggle i {
border-color: #ccc;
transition: border-color .3s;
-webkit-transition: border-color .3s;
}
.input.bordered:hover,
+ .input:hover textarea,
.checkbox:hover i,
.input:hover input,
.radio:hover i,
.select:hover select,
- .textarea:hover textarea,
.toggle:hover i {
border-color: rgba(82, 168, 236, 0.7);
}
.checkbox input:focus+i,
.input input:focus,
+ .input textarea:focus,
.radio input:focus+i,
.select select:focus,
- .textarea textarea:focus,
.toggle input:focus+i {
border-color: rgba(82, 168, 236, 0.7);
outline: 0;
@@ -1873,18 +1872,18 @@
.button.state-disabled,
.checkbox.state-disabled,
.input.state-disabled input,
+ .input.state-disabled textarea,
.radio.state-disabled,
.select.state-disabled,
- .textarea.state-disabled,
.toggle.state-disabled {
cursor: default!important;
opacity: .6!important;
}
.checkbox.state-disabled:hover i,
.input.state-disabled:hover input,
+ .input.state-disabled:hover textarea,
.radio.state-disabled:hover i,
.select.state-disabled:hover select,
- .textarea.state-disabled:hover textarea,
.toggle.state-disabled:hover i {
border-color: #e5e5e5!important;
}