Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
fix(checkbox): update to grid units, demo cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcy Sutton committed Apr 13, 2015
1 parent 3c0fed9 commit bc1c4e0
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 8 deletions.
3 changes: 2 additions & 1 deletion src/components/checkbox/checkbox.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
$checkbox-width: 18px !default;
$checkbox-height: $checkbox-width !default;
$checkbox-margin: 8px !default;

md-checkbox {
box-sizing: border-box;
display: block;
margin: 15px;
margin: $checkbox-margin;
white-space: nowrap;
cursor: pointer;
outline: none;
Expand Down
2 changes: 1 addition & 1 deletion src/components/checkbox/demoBasicUsage/index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

<div ng-controller="AppCtrl" layout-padding >
<div ng-controller="AppCtrl" layout-padding>
<p> Using ngModel: </p>
<div>
<md-checkbox ng-model="data.cb1" aria-label="Checkbox 1">
Expand Down
3 changes: 3 additions & 0 deletions src/components/checkbox/demoBasicUsage/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@
.checkboxDemo1 md-checkbox {
float: left;
}
p {
padding-left: 8px;
}
2 changes: 1 addition & 1 deletion src/components/checkbox/demoSyncing/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div ng-controller="AppCtrl" layout-padding >
<div ng-controller="AppCtrl" layout-padding>
<p> Using ngChecked: </p>

<div layout="row" layout-padding>
Expand Down
11 changes: 6 additions & 5 deletions src/components/checkbox/demoSyncing/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,22 @@
}

legend {
color : #0000ba;
color: #0000ba;
}

p {
padding-left : 10px;
padding-left: 8px;
}

.info {
padding-left:13px;
padding-left: 13px;
}

div.standard {
padding:10px; padding-left:15px;
padding: 8px;
padding-left: 15px;
}

fieldset.standard {
margin-left:10px;
margin-left: 10px;
}

0 comments on commit bc1c4e0

Please sign in to comment.