Skip to content
This repository has been archived by the owner on May 18, 2021. It is now read-only.

Commit

Permalink
Compass CSS3 mixins added.
Browse files Browse the repository at this point in the history
  • Loading branch information
dvislov committed Mar 18, 2013
1 parent c9f87f5 commit a54cd28
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 13 deletions.
7 changes: 0 additions & 7 deletions app/assets/stylesheets/custom/_areas.scss
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
// themes
@mixin box-sizing($bs) {
$bs: unquote($bs);
-moz-box-sizing: $bs;
-webkit-box-sizing: $bs;
box-sizing: $bs;
}

.themes-talk {
margin-bottom: 40px;
.row {
Expand Down
4 changes: 1 addition & 3 deletions app/assets/stylesheets/custom/_events.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@
}
.user-summary {
width: 100%;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
@include box-sizing(border-box);
}
.formy-photo {
.user-summary {
Expand Down
4 changes: 1 addition & 3 deletions app/assets/stylesheets/custom/_forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@
.form-type-login input[type="password"] {
width: 100%;
height: 28px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
@include box-sizing(border-box);
}
.form-type-login .form-actions {
padding-left: 0;
Expand Down
2 changes: 2 additions & 0 deletions app/assets/stylesheets/custom/_main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ td.middle {
border: 1px solid #ddd;
}
.twtr-doc {
-webkit-border-radius: 0 !important;
-moz-border-radius: 0 !important;
border-radius: 0 !important;
}
.twtr-ft {
Expand Down
1 change: 1 addition & 0 deletions app/assets/stylesheets/screen.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* Import this file using the following HTML or equivalent:
* <link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css" /> */

@import "compass/css3";
@import "custom/_variables";

@import "custom/_main";
Expand Down

0 comments on commit a54cd28

Please sign in to comment.