templates/project/sass/source/lib/_default.sass in rtpl-compass-1.2 vs templates/project/sass/source/lib/_default.sass in rtpl-compass-1.3
- old
+ new
@@ -71,11 +71,10 @@
%no-select
+user-select(none)
%has-ps-icon
@extend %relative
-
+bf
@extend %absolute, %default-zi
content: ''
// ---------------------------------------------------------------------------------------------------------------------
@@ -97,10 +96,16 @@
float: left
.right
float: right
+.clear
+ clear: both
+
+.clearfix
+ +pie-clearfix
+
// Width
.full-width
width: 100%
.half-width
@@ -135,28 +140,46 @@
.tar
text-align: right
// Alignment Blocks In Width
+// ---
+// <div class="jbox">
+// <div class="box"></div>
+// <div class="box"></div>
+// <div class="box"></div>
+// </div>
+// or
+// <ul class="jbox">
+// <li class="box"></li>
+// <li class="box"></li>
+// <li class="box"></li>
+// </ul>
.jbox
line-height: 0
text-align: justify
+legacy-pie-clearfix
.box
line-height: normal
-// Other
-.clear
- clear: both
+// Alignment Block In Height
+// ---
+// <div class="va_outer">
+// <div class="va_inner"></div>
+// </div>
+.va_outer
+ @extend .tac
+ +bf
+ @extend %dib, %vam, .tac, .full-height
+ content: ''
+ .va_inner
+ @extend %dib, %vam
-.clearfix
- +pie-clearfix
-
// --Images--
.loading
background: #fff url(../images/required/loading.gif) no-repeat center
-.img-rwd
+.img_rwd
@extend %block
max-width: 100%
height: auto
// --Position--
\ No newline at end of file