mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
e0fe90b3c8
Start of using bootstrap variables and typography styles, remove old cms reset in favour of bootstrap reboot
41 lines
777 B
SCSS
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;
|
|
}
|
|
} |