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

Commit

Permalink
fix(styles): fixes theming specificy regarding border colors
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Messerle committed Jun 3, 2015
1 parent 49ab60d commit 264f043
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 7 deletions.
3 changes: 2 additions & 1 deletion src/components/bottomSheet/bottomSheet.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ md-bottom-sheet {
padding: $bottom-sheet-vertical-padding $bottom-sheet-horizontal-padding $bottom-sheet-vertical-padding + $bottom-sheet-hidden-bottom-padding $bottom-sheet-horizontal-padding;
z-index: $z-index-bottom-sheet;

border-top: 1px solid;
border-top-width: 1px;
border-top-style: solid;

transform: translate3d(0, $bottom-sheet-hidden-bottom-padding, 0);
transition: $swift-ease-out;
Expand Down
6 changes: 4 additions & 2 deletions src/components/checkbox/checkbox.scss
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ md-checkbox {
left: 0;
width: $checkbox-width;
height: $checkbox-height;
border: $checkbox-border-width solid;
border-width: $checkbox-border-width;
border-style: solid;
border-radius: $checkbox-border-radius;
}

Expand All @@ -117,7 +118,8 @@ md-checkbox {
display: table;
width: $checkbox-width / 3;
height: $checkbox-width * 2 / 3;
border: $checkbox-border-width solid;
border-width: $checkbox-border-width;
border-style: solid;
border-top: 0;
border-left: 0;
content: '';
Expand Down
3 changes: 2 additions & 1 deletion src/components/dialog/dialog.scss
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ md-dialog {
}
}
&.md-content-overflow .md-actions {
border-top: 1px solid;
border-top-width: 1px;
border-top-style: solid;
}

}
Expand Down
3 changes: 2 additions & 1 deletion src/components/divider/divider.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
md-divider {
display: block;
border-top: 1px solid;
border-top-width: 1px;
border-top-style: solid;
margin: 0;

&[md-inset] {
Expand Down
6 changes: 4 additions & 2 deletions src/components/slider/slider.scss
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@ md-slider {
width: $slider-thumb-width;
height: $slider-thumb-height;
border-radius: max($slider-thumb-width, $slider-thumb-height);
border: 3px solid;
border-width: 3px;
border-style: solid;
}

transform: scale($slider-thumb-default-scale);
Expand Down Expand Up @@ -186,7 +187,8 @@ md-slider {
$slider-thumb-height + $slider-thumb-disabled-border * 2
);
transform: scale($slider-thumb-disabled-scale);
border: $slider-thumb-disabled-border solid;
border-width: $slider-thumb-disabled-border;
border-style: solid;
display: none;
}

Expand Down
3 changes: 3 additions & 0 deletions src/components/sticky/sticky.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,9 @@ function MdSticky($document, $mdConstant, $compile, $$rAF, $mdUtil) {
}
item.height = item.element.prop('offsetHeight');
item.clone.css('margin-left', item.left + 'px');
if ($mdUtil.floatingScrollbars()) {
item.clone.css('margin-right', '0');
}
}


Expand Down

0 comments on commit 264f043

Please sign in to comment.