horizon/openstack_dashboard/static/dashboard/scss/_mixins.scss
Diana Whitten 7c242e18d0 Material Theme: Buttons need border radius
Material buttons actually have a border radius:
http://preview.tinyurl.com/zw5ftjf

Theme Preview Pages should use Font Awesome
H2 should not be manually overridden

Change-Id: I8951e04d463ef897815d8a46ad93e5d2327d4793
Closes-bug: #1528369
Closes-bug: #1528368
Closes-bug: #1528372
2016-01-26 17:18:34 -07:00

29 lines
589 B
SCSS

/* This file contains any custom SCSS mixins that can be shared */
/* For more information on the benefits of Sass mixins and the @mixin syntax,
* check out http://www.sass-lang.com/guide#topic-6
*/
@mixin input-placeholder {
&::-webkit-input-placeholder {
@content;
}
&:-moz-placeholder { /* Firefox 18- */
@content;
}
&::-moz-placeholder { /* Firefox 19+ */
@content;
}
&:-ms-input-placeholder {
@content;
}
}
@mixin horizontal-center {
float: none;
margin: 0 auto;
}
@mixin vertical-center {
display: inline-block;
vertical-align: middle;
}