Alfredo Villegas commited on
Commit
a0d2898
1 Parent(s): c5dec12

Colores 2 botón switch

Browse files
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, textarea:disabled {
63
  background: #8b8b8b;
64
  }
65
 
66
- .slider,
67
  textarea:disabled {
68
  background-color: #8b8b8b !important;
69
- }
 
59
  box-shadow: 0 0 10px rgba(0, 0, 0, 5.5);
60
  }
61
 
62
+ .switch, label:disabled {
63
  background: #8b8b8b;
64
  }
65
 
66
+ /* .slider,
67
  textarea:disabled {
68
  background-color: #8b8b8b !important;
69
+ } */
static/js/windowHandler.js CHANGED
@@ -106,6 +106,7 @@ class WindowHandler{
106
  $("#input-text").val("");
107
  $("button").prop("disabled", true);
108
  $("textarea").prop("disabled", true);
 
109
  this.mensaje = ""
110
  let clone = this.template.clone();
111
  clone.addClass("me");
 
106
  $("#input-text").val("");
107
  $("button").prop("disabled", true);
108
  $("textarea").prop("disabled", true);
109
+ $("label").prop("disabled", true);
110
  this.mensaje = ""
111
  let clone = this.template.clone();
112
  clone.addClass("me");