This repository was archived by the owner on Sep 5, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +21
-23
lines changed
Expand file tree Collapse file tree 1 file changed +21
-23
lines changed Original file line number Diff line number Diff line change 22@name checkbox
33@description
44
5- ### CSS Styles
5+ < h2 > CSS Styles</ h2 >
66
77The css decalaration of the ` <md-checkbox> ` component is:
8-
9- <hljs lang =" css " >
8+
9+ <hljs lang =" css " >
1010 md-checkbox {
1111 margin: 8px;
1212 cursor: pointer;
1313 padding-left: 18px;
1414 padding-right: 0;
1515 line-height: 26px;
1616 min-width: 18px;
17- min-height: 18px;
17+ min-height: 18px;
1818 }
19- </hljs >
20-
21- #### Ink color
19+ </hljs >
2220
23- ![ greencheckbox] ( https://cloud.githubusercontent.com/assets/1292882/8035909/b2130da0-0dfc-11e5-932f-4424d3b46d5b.PNG )
21+ <br />
22+ <h3 > Ink color</h3 >
2423
25- In order to change the color when the checkbox is checked:
24+ <p >In order to change the color when the checkbox is checked:</p >
25+
26+ ![ greencheckbox] ( https://cloud.githubusercontent.com/assets/1292882/8035909/b2130da0-0dfc-11e5-932f-4424d3b46d5b.PNG )
2627
2728<hljs lang =" html " >
2829<md-checkbox class =" green " >
@@ -37,12 +38,13 @@ In order to change the color when the checkbox is checked:
3738 </hljs >
3839
3940
40- #### Disabled
41+ <br />
42+ <h3 > Disabled</h3 >
4143
42- In order to change the color when a disabled checkbox is checked:
44+ < p > In order to change the color when a disabled checkbox is checked:</ p >
4345
4446![ checkboxdisabledred] ( https://cloud.githubusercontent.com/assets/1292882/8036177/dc941a86-0dfe-11e5-8892-ac19ec6926fe.PNG )
45-
47+ < br />
4648
4749<hljs lang =" html " >
4850<md-checkbox ng-disabled =" true " class =" red " ng-model =" data.cb4 " ng-init =" data.cb4=true " >
@@ -56,12 +58,13 @@ md-checkbox.md-checked[disabled].red .md-icon {
5658}
5759 </hljs >
5860
59- #### Borders
60- In order to add a custom border do the following:
61+ <br />
62+ <h3 > Borders</h3 >
63+ <p >In order to add a custom border do the following:</p >
6164
6265![ checkboxcustomborder] ( https://cloud.githubusercontent.com/assets/1292882/8037214/388dd40c-0e05-11e5-82a7-4bfa2541e968.PNG )
6366
64-
67+ < br />< br />
6568<hljs lang =" html " >
6669 <div >
6770 <md-checkbox ng-model =" data.cb2 " aria-label =" Checkbox 2 " ng-true-value =" 'yup' " ng-false-value =" 'nope' " >
@@ -83,16 +86,11 @@ md-checkbox.dotted .md-icon {
8386
8487
8588
86- #### Bi-Di
89+ <br />
90+ <h3 > Bi-Di </h3 >
8791
88- The mdCheckbox directive supports bi-directional specifiers in the ` <html> ` tag:
92+ The mdCheckbox directive supports bi-directional specifiers in the ` <html dir="rtl" > ` tag:
8993
9094![ checkboxrtl] ( https://cloud.githubusercontent.com/assets/1292882/8036091/fb40bcf6-0dfd-11e5-8319-25e68939d1a3.PNG )
9195
9296
93- <hljs lang =" html " >
94- <html dir =" rtl " >
95- </hljs >
96-
97-
98-
You can’t perform that action at this time.
0 commit comments