File tree Expand file tree Collapse file tree 2 files changed +252
-118
lines changed
deps/rabbitmq_management/priv/www Expand file tree Collapse file tree 2 files changed +252
-118
lines changed Original file line number Diff line number Diff line change @@ -367,3 +367,49 @@ div.bindings-wrapper p.arrow { font-size: 200%; }
367367}
368368
369369table .dynamic-shovels td label {width : 200px ; margin-right : 10px ;padding : 4px 0px 5px 0px }
370+
371+ input [type = checkbox ].toggle {
372+ display : none;
373+ }
374+
375+ label .toggle {
376+ cursor : pointer;
377+ text-indent : -9999px ;
378+ width : 32px ;
379+ height : 16px ;
380+ background : # b81d13 ;
381+ display : block;
382+ border-radius : 16px ;
383+ position : relative;
384+ margin : auto;
385+ }
386+
387+ label .toggle : after {
388+ content : '' ;
389+ position : absolute;
390+ top : 2px ;
391+ left : 2px ;
392+ width : 12px ;
393+ height : 12px ;
394+ background : # fff ;
395+ border-radius : 12px ;
396+ transition : 0.3s ;
397+ }
398+
399+ input .toggle : indeterminate + label .toggle {
400+ background : # efb700 ;
401+ }
402+
403+ input .toggle : checked + label .toggle {
404+ background : # 008450 ;
405+ }
406+
407+ input .toggle : indeterminate + label .toggle : after {
408+ left : calc (50% );
409+ transform : translateX (-50% );
410+ }
411+
412+ input .toggle : checked + label .toggle : after {
413+ left : calc (100% - 2px );
414+ transform : translateX (-100% );
415+ }
You can’t perform that action at this time.
0 commit comments