horizon/openstack_dashboard/static/dashboard/scss/_util.scss

50 lines
722 B
SCSS

/* Some utility classes useful everywhere */
.row .horizontal-center,
.horizontal-center {
float: none;
margin: 0 auto;
}
/* new clearfix */
.clearfix:after {
visibility: hidden;
display: block;
font-size: 0;
content: " ";
clear: both;
height: 0;
}
.clear {
clear: both;
width: 0;
height: 0;
padding: 0;
margin: 0;
}
.header_rule {
margin-top: 0;
}
input::-ms-clear, input::-ms-reveal {
display: none;
}
// Used to x-scroll to Pre-formatted text.
.pre_scrollable {
display: table;
table-layout: fixed;
width: 100%;
pre {
word-wrap: normal;
}
}
// Set on an element that you would like to word wrap to container size
.word-wrap {
width: 100%;
word-wrap: break-word;
}