From 9615bacc940124b831eb3b6c5cb558b2cea62297 Mon Sep 17 00:00:00 2001 From: prrashi Date: Fri, 23 Jan 2015 22:12:37 -0500 Subject: [PATCH] Added cursor:default in css --- min/jquery.rateyo.min.css | 2 +- min/jquery.rateyo.min.css.map | 2 +- src/jquery.rateyo.css | 3 +++ src/jquery.rateyo.less | 5 +++++ 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/min/jquery.rateyo.min.css b/min/jquery.rateyo.min.css index 03550fb..aa6872d 100644 --- a/min/jquery.rateyo.min.css +++ b/min/jquery.rateyo.min.css @@ -1 +1 @@ -.jq-ry-container{position:relative;padding:0 5px;line-height:0;display:block;cursor:pointer}.jq-ry-container>.jq-ry-group-wrapper{position:relative;width:100%}.jq-ry-container>.jq-ry-group-wrapper>.jq-ry-group{position:relative;line-height:0;z-index:10;white-space:nowrap}.jq-ry-container>.jq-ry-group-wrapper>.jq-ry-group>svg{display:inline}.jq-ry-container>.jq-ry-group-wrapper>.jq-ry-group.jq-ry-normal-group{width:100%}.jq-ry-container>.jq-ry-group-wrapper>.jq-ry-group.jq-ry-rated-group{width:0;z-index:11;position:absolute;top:0;left:0;overflow:hidden} \ No newline at end of file +.jq-ry-container{position:relative;padding:0 5px;line-height:0;display:block;cursor:pointer}.jq-ry-container[readonly=readonly]{cursor:default}.jq-ry-container>.jq-ry-group-wrapper{position:relative;width:100%}.jq-ry-container>.jq-ry-group-wrapper>.jq-ry-group{position:relative;line-height:0;z-index:10;white-space:nowrap}.jq-ry-container>.jq-ry-group-wrapper>.jq-ry-group>svg{display:inline}.jq-ry-container>.jq-ry-group-wrapper>.jq-ry-group.jq-ry-normal-group{width:100%}.jq-ry-container>.jq-ry-group-wrapper>.jq-ry-group.jq-ry-rated-group{width:0;z-index:11;position:absolute;top:0;left:0;overflow:hidden} \ No newline at end of file diff --git a/min/jquery.rateyo.min.css.map b/min/jquery.rateyo.min.css.map index c5ac40a..16048ca 100644 --- a/min/jquery.rateyo.min.css.map +++ b/min/jquery.rateyo.min.css.map @@ -1 +1 @@ -{"version":3,"sources":["src/jquery.rateyo.less"],"names":[],"mappings":"AAAA;EAEE,kBAAA;EACA,cAAA;EACA,cAAA;EACA,cAAA;EACA,eAAA;;AAEA,gBAAC;EAEC,kBAAA;EACA,WAAA;;AAEA,gBALD,uBAKE;EAEC,kBAAA;EACA,cAAA;EACA,WAAA;EACA,mBAAA;;AAEA,gBAZH,uBAKE,eAOE;EAEC,eAAA;;AAGF,gBAjBH,uBAKE,eAYE;EAEC,WAAA;;AAGF,gBAtBH,uBAKE,eAiBE;EAEC,QAAA;EACA,WAAA;EACA,kBAAA;EACA,MAAA;EACA,OAAA;EACA,gBAAA"} \ No newline at end of file +{"version":3,"sources":["src/jquery.rateyo.less"],"names":[],"mappings":"AAAA;EAEE,kBAAA;EACA,cAAA;EACA,cAAA;EACA,cAAA;EACA,eAAA;;AAEA,gBAAC;EAEC,eAAA;;AAGF,gBAAC;EAEC,kBAAA;EACA,WAAA;;AAEA,gBALD,uBAKE;EAEC,kBAAA;EACA,cAAA;EACA,WAAA;EACA,mBAAA;;AAEA,gBAZH,uBAKE,eAOE;EAEC,eAAA;;AAGF,gBAjBH,uBAKE,eAYE;EAEC,WAAA;;AAGF,gBAtBH,uBAKE,eAiBE;EAEC,QAAA;EACA,WAAA;EACA,kBAAA;EACA,MAAA;EACA,OAAA;EACA,gBAAA"} \ No newline at end of file diff --git a/src/jquery.rateyo.css b/src/jquery.rateyo.css index 2555870..4374c9b 100644 --- a/src/jquery.rateyo.css +++ b/src/jquery.rateyo.css @@ -5,6 +5,9 @@ display: block; cursor: pointer; } +.jq-ry-container[readonly="readonly"] { + cursor: default; +} .jq-ry-container > .jq-ry-group-wrapper { position: relative; width: 100%; diff --git a/src/jquery.rateyo.less b/src/jquery.rateyo.less index d198735..f5f6a4f 100644 --- a/src/jquery.rateyo.less +++ b/src/jquery.rateyo.less @@ -6,6 +6,11 @@ display: block; cursor: pointer; + &[readonly="readonly"] { + + cursor: default; + } + &> .jq-ry-group-wrapper { position: relative;