Pārlūkot izejas kodu

add a new class: "radio-no-uncheck"

add a new class: "radio-no-uncheck"
Stein, Peter 12 gadi atpakaļ
vecāks
revīzija
c9eb8a44a6
1 mainītis faili ar 9 papildinājumiem un 0 dzēšanām
  1. 9 0
      static/stylesheets/bootstrap-switch.css

+ 9 - 0
static/stylesheets/bootstrap-switch.css

@@ -48,6 +48,15 @@
 .has-switch.deactivate span {
   cursor: default !important;
 }
+.has-switch.radio-no-uncheck {
+
+  filter: alpha(opacity=50);
+  cursor: default !important;
+}
+.has-switch.radio-no-uncheck label,
+.has-switch.radio-no-uncheck span {
+  cursor: default !important;
+}
 .has-switch > div {
   display: inline-block;
   width: 150%;