Skip to content

Commit

Permalink
update font weight variables and translate mixins
Browse files Browse the repository at this point in the history
  • Loading branch information
khanhlh committed Dec 29, 2014
1 parent 860efd5 commit 0f70725
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,18 @@
-o-transform: skewX(@x) skewY(@y);
transform: skewX(@x) skewY(@y);
}
.translateY(@y) {
-webkit-transform: translateY(@y);
-ms-transform: translateY(@y); // IE9 only
-o-transform: translateY(@y);
transform: translateY(@y);
}
.translateX(@x) {
-webkit-transform: translateX(@x);
-ms-transform: translateX(@x); // IE9 only
-o-transform: translateX(@x);
transform: translateX(@x);
}
.translate(@x; @y) {
-webkit-transform: translate(@x, @y);
-ms-transform: translate(@x, @y); // IE9 only
Expand Down
8 changes: 7 additions & 1 deletion source/plg_system_t3/base-bs3/less/variables.less
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,13 @@
@t3-font-size-small: @font-size-base - 1px;
@t3-font-size-smaller: @font-size-base - 2px;


// Font weight variations
// -------------------------
@font-weight-bold: 700;
@font-weight-semibold: 500;
@font-weight-normal: 400;
@font-weight-light: 300;
@font-weight-thin: 100;

//
// T3 TEMPLATE STYLES
Expand Down

0 comments on commit 0f70725

Please sign in to comment.