summaryrefslogtreecommitdiffstats
path: root/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/green.css
diff options
context:
space:
mode:
author“shentao” <shentao@chinamobile.com>2016-10-21 15:05:13 +0800
committer“shentao” <shentao@chinamobile.com>2016-10-21 15:05:13 +0800
commit33796336d546fa61a3906500ea56d77c960ab222 (patch)
treeeada1477041dd418b05122654eb25682a2dbf2eb /openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/green.css
parent9a7b8cfb0e8182d0d69d73ee40c0116042bc2e5e (diff)
GSO-35
Change-Id: I3ad00c3c9265a1b3818decedca1d77995864ba29 Signed-off-by: “shentao” <shentao@chinamobile.com>
Diffstat (limited to 'openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/green.css')
-rw-r--r--openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/green.css53
1 files changed, 53 insertions, 0 deletions
diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/green.css b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/green.css
new file mode 100644
index 00000000..cce7a7fa
--- /dev/null
+++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/green.css
@@ -0,0 +1,53 @@
+/* iCheck plugin Flat skin, green
+----------------------------------- */
+.icheckbox_flat-green,
+.iradio_flat-green {
+ display: inline-block;
+ *display: inline;
+ vertical-align: middle;
+ margin: 0;
+ padding: 0;
+ width: 20px;
+ height: 20px;
+ background: url(green.png) no-repeat;
+ border: none;
+ cursor: pointer;
+}
+
+.icheckbox_flat-green {
+ background-position: 0 0;
+}
+ .icheckbox_flat-green.checked {
+ background-position: -22px 0;
+ }
+ .icheckbox_flat-green.disabled {
+ background-position: -44px 0;
+ cursor: default;
+ }
+ .icheckbox_flat-green.checked.disabled {
+ background-position: -66px 0;
+ }
+
+.iradio_flat-green {
+ background-position: -88px 0;
+}
+ .iradio_flat-green.checked {
+ background-position: -110px 0;
+ }
+ .iradio_flat-green.disabled {
+ background-position: -132px 0;
+ cursor: default;
+ }
+ .iradio_flat-green.checked.disabled {
+ background-position: -154px 0;
+ }
+
+/* HiDPI support */
+@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
+ .icheckbox_flat-green,
+ .iradio_flat-green {
+ background-image: url(green@2x.png);
+ -webkit-background-size: 176px 22px;
+ background-size: 176px 22px;
+ }
+} \ No newline at end of file