mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-08-28 21:46:10 +02:00
The main benefit of this is so that authors who make use of .editorconfig don't end up with whitespace changes in their PRs. Spaces vs. tabs has been left alone, although that could do with a tidy-up in SS4 after the switch to PSR-1/2. The command used was this: for match in '*.ss' '*.css' '*.scss' '*.html' '*.yml' '*.php' '*.js' '*.csv' '*.inc' '*.php5'; do find . -path ./thirdparty -not -prune -o -path ./admin/thirdparty -not -prune -o -type f -name "$match" -exec sed -E -i '' 's/[[:space:]]+$//' {} \+ find . -path ./thirdparty -not -prune -o -path ./admin/thirdparty -not -prune -o -type f -name "$match" | xargs perl -pi -e 's/ +$//' done
86 lines
1.4 KiB
SCSS
86 lines
1.4 KiB
SCSS
@import 'themes/default';
|
|
@import 'ieShared';
|
|
|
|
|
|
|
|
//IE8 needs this defined inside .cms-panel
|
|
.cms-panel {
|
|
@include IEVerticalPanelText;
|
|
}
|
|
|
|
//fix for overlapping of tree view mode checkboxes
|
|
.cms-content-toolbar{
|
|
.cms-tree-view-modes{
|
|
.checkboxAboveTree {
|
|
margin-right:1px;
|
|
}
|
|
}
|
|
}
|
|
|
|
/**
|
|
* DEPRECATED:
|
|
* .cms-content-tools will be removed in 4.0
|
|
* Use .cms-content-filters instead.
|
|
*/
|
|
.cms .cms-content-tools {
|
|
|
|
//fix for width of dropdowns in filter panel
|
|
.cms-panel-content .dropdown select {
|
|
width:152px;
|
|
}
|
|
}
|
|
|
|
.filter-buttons{
|
|
button{
|
|
width:23px !important;
|
|
height:23px !important;
|
|
&.ss-gridfield-button-close{
|
|
margin-right:-7px !important;
|
|
}
|
|
}
|
|
}
|
|
|
|
.col-buttons{
|
|
width:18px;
|
|
}
|
|
|
|
/* fix for actions buttons on edit page content overlapping */
|
|
.cms-content-actions {
|
|
.ss-ui-buttonset {
|
|
button {
|
|
margin-right: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Fix for lack of support of :not selector
|
|
// Applied to trees when displaying filter / search results.
|
|
.tree-holder,
|
|
.cms-tree {
|
|
&.filtered-list li {
|
|
> a,
|
|
> a:link {
|
|
color: $color-text-disabled;
|
|
}
|
|
|
|
// Re-apply default style to filtered items
|
|
&.filtered-item {
|
|
> a,
|
|
> a:link {
|
|
color: $color-text-blue-link;
|
|
}
|
|
}
|
|
|
|
// Re-re-apply disabled selector from top of _tree.scss
|
|
&.disabled,
|
|
&.edit-disabled {
|
|
> a,
|
|
> a:link {
|
|
color: $color-text-disabled;
|
|
background: transparent none;
|
|
cursor: default;
|
|
}
|
|
}
|
|
}
|
|
}
|