Change-Id: I633e0deeca6c1268937d8c9b918ea414355c85f3
}
}
+ &.v-readonly {
+ > label,
+ > .v-icon {
+ cursor: default;
+ }
+
+ > label > .v-icon {
+ cursor: default;
+ }
+
+ :root & > input:active ~ label:after {
+ background: transparent;
+ }
+
+ :root & > input ~ label:after {
+ @include opacity($v-disabled-opacity);
+ }
+ }
+
+
}
check.setIcon(testIcon.get());
row.addComponent(check);
+ check = new CheckBox("Readonly", true);
+ check.setReadOnly(true);
+ check.setIcon(testIcon.get());
+ row.addComponent(check);
+
h1 = new Label("Option Groups");
h1.addStyleName("h1");
addComponent(h1);
public void checkboxes() throws Exception {
openTestURL("test");
open("Check Boxes & Option Groups", "Check Boxes");
- compareScreen("checkboxes_with_disabled");
+ compareScreen("checkboxes_with_readonly");
}
@Test