silverstripe-framework/admin/scss/_typography.scss
Paul Clarke e0fe90b3c8 General CMS typography swap to bootstrap
Start of using bootstrap variables and typography styles, remove old
cms reset in favour of bootstrap reboot
2016-04-19 11:13:53 +12:00

41 lines
777 B
SCSS

/**
* File: typography.scss
*
* Contains the basic typography related styles for the admin interface.
*/
.cms {
code {
font-family: 'Bitstream Vera Sans Mono','Courier', monospace;
}
}
// Used for long sentences where you would like to truncate them with an ellipsis (requires a set width)
.truncate {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
// Used for breaking text so it doesn't run horizontally, useful for breaking URLs
.break-string {
overflow-wrap: break-word;
word-wrap: break-word;
}
// Standard table styles
.table {
margin-top: 20px;
margin-bottom: $spacer-y * 2;
border-top: 0;
thead th {
font-size: 12px;
text-transform: uppercase;
font-weight: normal;
border-bottom: 1px solid #bbb;
border-top: 0;
}
}