Warning, /webapps/ocs-webserver/httpdocs/theme/flatui/less/modules/checkbox-and-radio.less is written in an unsupported language. File is not indexed.
0001 // 0002 // Checkbox & Radio 0003 // -------------------------------------------------- 0004 0005 .checkbox, 0006 .radio { 0007 margin-bottom: 12px; 0008 padding-left: 32px; 0009 position: relative; 0010 .transition(color .25s linear); 0011 0012 input { 0013 outline: none !important; 0014 display: none; 0015 } 0016 0017 // Replace icons 0018 // -------------------------------------------------- 0019 .icons { 0020 color: @lightgray; 0021 display: block; 0022 height: 20px; 0023 left: 0; 0024 position: absolute; 0025 top: 0; 0026 width: 20px; 0027 text-align: center; 0028 line-height: 20px; 0029 font-size: 20px; 0030 .transition(color .25s linear); 0031 0032 .first-icon-icon, 0033 .second-icon { 0034 position: absolute; 0035 left: 0; 0036 top: 0; 0037 .opacity(100); 0038 } 0039 .second-icon { 0040 .opacity(0); 0041 } 0042 } 0043 0044 // Alternate States 0045 // -------------------------------------------------- 0046 0047 // Hover State 0048 &:hover { 0049 .first-icon { 0050 .opacity(0); 0051 } 0052 .second-icon { 0053 .opacity(100); 0054 } 0055 } 0056 0057 // Checked State 0058 &.checked { 0059 color: @link-color; 0060 0061 .icons { 0062 color: @firm; 0063 } 0064 .first-icon { 0065 .opacity(0); 0066 } 0067 .second-icon { 0068 .opacity(100); 0069 } 0070 } 0071 0072 // Disabled state 0073 &.disabled { 0074 cursor: default; 0075 color: mix(@lightgray, white, 38%); 0076 0077 .icons { 0078 color: mix(@lightgray, white, 38%); 0079 } 0080 .first-icon { 0081 .opacity(100); 0082 } 0083 .second-icon { 0084 .opacity(0); 0085 } 0086 &.checked { 0087 .icons { 0088 color: mix(@lightgray, white, 38%); 0089 } 0090 .first-icon { 0091 .opacity(0); 0092 } 0093 .second-icon { 0094 .opacity(100); 0095 } 0096 } 0097 } 0098 }