| 1 |
/** |
| 2 |
* Author: Alin Marcu |
| 3 |
* Author URI: https://deconf.com |
| 4 |
* Copyright 2013 Alin Marcu |
| 5 |
* License: GPLv2 or later |
| 6 |
* License URI: http://www.gnu.org/licenses/gpl-2.0.html |
| 7 |
*/ |
| 8 |
|
| 9 |
/* Tab navigation */ |
| 10 |
#cawp-config, #cawp-sysinfo, #cawp-errors { |
| 11 |
display: none; |
| 12 |
} |
| 13 |
|
| 14 |
#cawp-autodismiss { |
| 15 |
position: fixed; |
| 16 |
top: 35px; |
| 17 |
left: 48%; |
| 18 |
transform: translate(-50%, 0); |
| 19 |
z-index: 2; |
| 20 |
margin-left: 0px; |
| 21 |
} |
| 22 |
|
| 23 |
/* Options pages */ |
| 24 |
table.cawp-settings-options { |
| 25 |
padding-left: 10px; |
| 26 |
width: 100%; |
| 27 |
} |
| 28 |
|
| 29 |
.cawp-settings-options td { |
| 30 |
padding: 0px 5px 5px 5px; |
| 31 |
} |
| 32 |
|
| 33 |
td.cawp-settings-title, td.info { |
| 34 |
width: 140px; |
| 35 |
padding-left: 20px; |
| 36 |
} |
| 37 |
|
| 38 |
td.cawp-settings-title-s { |
| 39 |
width: 300px; |
| 40 |
} |
| 41 |
|
| 42 |
.cawp-help { |
| 43 |
padding-left: 15px; |
| 44 |
} |
| 45 |
|
| 46 |
td.cawp-settings-info { |
| 47 |
padding-bottom: 15px; |
| 48 |
} |
| 49 |
|
| 50 |
td.cawp-settings-title label { |
| 51 |
font-size: 1em; |
| 52 |
} |
| 53 |
|
| 54 |
.cawp-title { |
| 55 |
float: left; |
| 56 |
margin-right: 10px; |
| 57 |
margin-top: 2px; |
| 58 |
clear: left; |
| 59 |
} |
| 60 |
|
| 61 |
.cawp-desc { |
| 62 |
font-size: 1em; |
| 63 |
} |
| 64 |
|
| 65 |
.cawp-top { |
| 66 |
vertical-align: top; |
| 67 |
} |
| 68 |
|
| 69 |
pre.cawp-settings-logdata { |
| 70 |
white-space: pre-wrap; /* Since CSS 2.1 */ |
| 71 |
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */ |
| 72 |
white-space: -pre-wrap; /* Opera 4-6 */ |
| 73 |
white-space: -o-pre-wrap; /* Opera 7 */ |
| 74 |
word-wrap: break-word; /* Internet Explorer 5.5+ */ |
| 75 |
} |
| 76 |
|
| 77 |
pre.cawp-settings-logdata span { |
| 78 |
color: #b30000; |
| 79 |
font-weight: 800; |
| 80 |
} |
| 81 |
|
| 82 |
table.cawp-settings-logdata { |
| 83 |
table-layout: fixed; |
| 84 |
width: 100%; |
| 85 |
} |
| 86 |
|
| 87 |
td.cawp-settings-roles { |
| 88 |
padding-bottom: 15px; |
| 89 |
} |
| 90 |
|
| 91 |
#capi-access-code, .cawp-red { |
| 92 |
color: red !important; |
| 93 |
} |
| 94 |
|
| 95 |
.cawp-green { |
| 96 |
color: green !important; |
| 97 |
} |
| 98 |
|
| 99 |
#poststuff.cawp h2 { |
| 100 |
padding-bottom: 0; |
| 101 |
font-size: 19.5px; |
| 102 |
font-weight: normal; |
| 103 |
padding: 0; |
| 104 |
margin: 20px 0 15px 0; |
| 105 |
} |
| 106 |
|
| 107 |
#poststuff.cawp h2.nav-tab-wrapper { |
| 108 |
border-bottom: 1px solid #ccc; |
| 109 |
padding-bottom: 0; |
| 110 |
} |
| 111 |
|
| 112 |
/* ON/OFF Switch */ |
| 113 |
.cawp-onoffswitch { |
| 114 |
position: relative; |
| 115 |
width: 55px; |
| 116 |
display: inline-block; |
| 117 |
font-size: 80%; |
| 118 |
font-size: 1.1em; |
| 119 |
float: left; |
| 120 |
} |
| 121 |
|
| 122 |
.cawp-onoffswitch .cawp-onoffswitch-label { |
| 123 |
display: block; |
| 124 |
overflow: hidden; |
| 125 |
cursor: pointer; |
| 126 |
border: 1px solid #E5E5E5; |
| 127 |
-moz-border-radius: 20px; |
| 128 |
-webkit-border-radius: 20px; |
| 129 |
border-radius: 20px; |
| 130 |
margin: 0; |
| 131 |
} |
| 132 |
|
| 133 |
.cawp-onoffswitch .cawp-onoffswitch-inner { |
| 134 |
width: 200%; |
| 135 |
margin-left: -100%; |
| 136 |
-webkit-transition: margin 0.15s ease-in-out; |
| 137 |
-o-transition: margin 0.15s ease-in-out; |
| 138 |
-moz-transition: margin 0.15s ease-in-out; |
| 139 |
transition: margin 0.15s ease-in-out; |
| 140 |
} |
| 141 |
|
| 142 |
.cawp-onoffswitch .cawp-onoffswitch-inner:before, .cawp-onoffswitch .cawp-onoffswitch-inner:after { |
| 143 |
float: left; |
| 144 |
width: 50%; |
| 145 |
height: 24px; |
| 146 |
padding: 0; |
| 147 |
line-height: 24px; |
| 148 |
font-size: 80%; |
| 149 |
color: #FFFFFF; |
| 150 |
font-weight: normal; |
| 151 |
-moz-box-sizing: border-box; |
| 152 |
-webkit-box-sizing: border-box; |
| 153 |
box-sizing: border-box; |
| 154 |
} |
| 155 |
|
| 156 |
.cawp-onoffswitch .cawp-onoffswitch-inner:before { |
| 157 |
content: "ON"; |
| 158 |
padding-left: 10px; |
| 159 |
background-color: #0083B7; |
| 160 |
color: #FFFFFF; |
| 161 |
} |
| 162 |
|
| 163 |
.cawp-onoffswitch .cawp-onoffswitch-inner:after { |
| 164 |
content: "OFF"; |
| 165 |
padding-right: 10px; |
| 166 |
background-color: #F9F9F9; |
| 167 |
color: #3D3D3D; |
| 168 |
text-align: right; |
| 169 |
} |
| 170 |
|
| 171 |
.cawp-onoffswitch .cawp-onoffswitch-switch { |
| 172 |
width: 22px; |
| 173 |
height: 22px; |
| 174 |
margin: 0; |
| 175 |
background: #FFFFFF; |
| 176 |
box-shadow: 0 0 3px rgba(0, 0, 0, 0.3); |
| 177 |
-moz-border-radius: 50%; |
| 178 |
-webkit-border-radius: 50%; |
| 179 |
border-radius: 50%; |
| 180 |
position: absolute; |
| 181 |
top: 2px; |
| 182 |
bottom: 0; |
| 183 |
right: 35px; |
| 184 |
-webkit-transition: right 0.15s ease-in-out; |
| 185 |
-o-transition: right 0.15s ease-in-out; |
| 186 |
-moz-transition: right 0.15s ease-in-out; |
| 187 |
transition: right 0.15s ease-in-out; |
| 188 |
} |
| 189 |
|
| 190 |
.cawp-togglegroup { |
| 191 |
position: relative; |
| 192 |
height: 27px; |
| 193 |
top: 50%; |
| 194 |
left: 20px; |
| 195 |
margin-top: 3px; |
| 196 |
margin-left: -20px; |
| 197 |
} |
| 198 |
|
| 199 |
.cawp-togglegroup input[type=checkbox] { |
| 200 |
display: none; |
| 201 |
position: absolute; |
| 202 |
left: 10px; |
| 203 |
} |
| 204 |
|
| 205 |
.cawp-togglegroup input[type=checkbox]:checked ~ .cawp-onoffswitch .cawp-onoffswitch-label .cawp-onoffswitch-inner { |
| 206 |
margin-left: 0; |
| 207 |
} |
| 208 |
|
| 209 |
.cawp-togglegroup input[type=checkbox]:checked ~ .cawp-onoffswitch .cawp-onoffswitch-label .cawp-onoffswitch-switch { |
| 210 |
right: 1px; |
| 211 |
box-shadow: 0 0 3px rgba(0, 0, 0, 0.5); |
| 212 |
} |
| 213 |
|
| 214 |
.cawp-togglegroup input[type=checkbox]:focus ~ .cawp-onoffswitch { |
| 215 |
outline: thin dotted #333; |
| 216 |
outline: 0; |
| 217 |
} |
| 218 |
|
| 219 |
.cawp-togglegroup label { |
| 220 |
position: absolute; |
| 221 |
cursor: pointer; |
| 222 |
padding-left: 65px; |
| 223 |
display: inline-block; |
| 224 |
text-align: left; |
| 225 |
line-height: 24px; |
| 226 |
width: 100%; |
| 227 |
z-index: 1; |
| 228 |
height: 24px; |
| 229 |
} |
| 230 |
|