vendor/toolkit/metro-ui/tiles.less in metro-ui-rails-0.15.8.12 vs vendor/toolkit/metro-ui/tiles.less in metro-ui-rails-0.15.8.13
- old
+ new
@@ -1,9 +1,9 @@
/*
* Metro UI CSS
* Copyright 2012 Sergey Pimenov
- * Licensed under the MIT Lilcense
+ * Licensed under the MIT License
*
* Tiles.less
*
*/
@@ -111,10 +111,21 @@
top: 50%;
left: 50%;
margin-left: -32px;
margin-top: -32px;
}
+
+ & > i {
+ position: absolute;
+ width: 64px;
+ height: 64px;
+ top: 50%;
+ left: 50%;
+ margin-left: -32px;
+ margin-top: -32px;
+ font-size: 64px;
+ }
}
}
&.image, &.image-slider {
& > .tile-content {
@@ -258,17 +269,24 @@
width: 100%;
height: 100%;
}
}
- & > .text {
+ & > img ~ .text {
.pos-abs;
left: 60px;
+ width: auto;
+ }
+
+ & > .text {
+ position: relative;
+ left: 8px;
top: 5px;
right: 50px;
.tertiary-text;
color: @white;
line-height: 14px;
+ width: 60%;
&:hover {
color: @white;
}
}
\ No newline at end of file