app/assets/stylesheets/sass-zero/utilities/layout.scss in sass-zero-0.0.24 vs app/assets/stylesheets/sass-zero/utilities/layout.scss in sass-zero-0.0.25
- old
+ new
@@ -1,29 +1,31 @@
@import "sass-zero/variables";
@import "sass-zero/mixins";
-.u-position {
+.u-position-context {
+ position: relative !important;
+}
+
+.u-position-right {
position: absolute !important;
+ right: 0;
+}
- &--right {
- right: 0 !important;
- }
+.u-position-left {
+ position: absolute !important;
+ left: 0;
+}
- &--left {
- left: 0 !important;
- }
-
- &--bottom {
- bottom: 0 !important;
- }
-
- &--top {
- top: 0 !important;
- }
+.u-position--bottom-right {
+ position: absolute !important;
+ bottom: 0;
+ right: 0;
}
-.u-position-context {
- position: relative !important;
+.u-position--top-right {
+ position: absolute !important;
+ top: 0;
+ right: 0;
}
.u-clearfix {
@include clearfix;
}