Spaces:
Runtime error
Runtime error
Alfredo Villegas commited on
Commit ·
0478785
1
Parent(s): a0d2898
Colores dsiabled
Browse files- static/css/app.css +1 -1
- static/css/switch.css +3 -3
- static/js/windowHandler.js +2 -1
static/css/app.css
CHANGED
|
@@ -207,7 +207,7 @@ button{
|
|
| 207 |
.input-box button:last-child{
|
| 208 |
border-radius: 0 5px 5px 0;
|
| 209 |
}
|
| 210 |
-
.input-box button:disabled, .input-box textarea:disabled{
|
| 211 |
background-color: #8b8b8b;
|
| 212 |
border-color: #8b8b8b;
|
| 213 |
|
|
|
|
| 207 |
.input-box button:last-child{
|
| 208 |
border-radius: 0 5px 5px 0;
|
| 209 |
}
|
| 210 |
+
.input-box button:disabled, .input-box textarea:disabled, .input-box input:disabled{
|
| 211 |
background-color: #8b8b8b;
|
| 212 |
border-color: #8b8b8b;
|
| 213 |
|
static/css/switch.css
CHANGED
|
@@ -59,11 +59,11 @@ input:checked+.slider:before {
|
|
| 59 |
box-shadow: 0 0 10px rgba(0, 0, 0, 5.5);
|
| 60 |
}
|
| 61 |
|
| 62 |
-
.switch,
|
| 63 |
background: #8b8b8b;
|
| 64 |
}
|
| 65 |
|
| 66 |
-
|
| 67 |
textarea:disabled {
|
| 68 |
-
background-color: #8b8b8b
|
| 69 |
} */
|
|
|
|
| 59 |
box-shadow: 0 0 10px rgba(0, 0, 0, 5.5);
|
| 60 |
}
|
| 61 |
|
| 62 |
+
/* .switch, input:disabled {
|
| 63 |
background: #8b8b8b;
|
| 64 |
}
|
| 65 |
|
| 66 |
+
.slider,
|
| 67 |
textarea:disabled {
|
| 68 |
+
background-color: #8b8b8b;
|
| 69 |
} */
|
static/js/windowHandler.js
CHANGED
|
@@ -106,7 +106,7 @@ class WindowHandler{
|
|
| 106 |
$("#input-text").val("");
|
| 107 |
$("button").prop("disabled", true);
|
| 108 |
$("textarea").prop("disabled", true);
|
| 109 |
-
$("
|
| 110 |
this.mensaje = ""
|
| 111 |
let clone = this.template.clone();
|
| 112 |
clone.addClass("me");
|
|
@@ -134,6 +134,7 @@ class WindowHandler{
|
|
| 134 |
this.mensaje = "";
|
| 135 |
$("button").prop("disabled", false);
|
| 136 |
$("textarea").prop("disabled", false);
|
|
|
|
| 137 |
$("textarea").focus();
|
| 138 |
this.active.find("div p").html(msgProcesado);
|
| 139 |
Prism.highlightAllUnder(this.active[0]);
|
|
|
|
| 106 |
$("#input-text").val("");
|
| 107 |
$("button").prop("disabled", true);
|
| 108 |
$("textarea").prop("disabled", true);
|
| 109 |
+
$(".switch input").prop("disabled", true);
|
| 110 |
this.mensaje = ""
|
| 111 |
let clone = this.template.clone();
|
| 112 |
clone.addClass("me");
|
|
|
|
| 134 |
this.mensaje = "";
|
| 135 |
$("button").prop("disabled", false);
|
| 136 |
$("textarea").prop("disabled", false);
|
| 137 |
+
$(".switch input").prop("disabled", false);
|
| 138 |
$("textarea").focus();
|
| 139 |
this.active.find("div p").html(msgProcesado);
|
| 140 |
Prism.highlightAllUnder(this.active[0]);
|