system.diff.css
Same filename in this branch
Same filename and directory in other branches
- 10 core/themes/stable9/css/system/system.diff.css
- 10 core/modules/system/css/system.diff.css
- 11.x core/themes/stable9/css/system/system.diff.css
- 11.x core/modules/system/css/system.diff.css
- 9 core/themes/stable9/css/system/system.diff.css
- 9 core/themes/stable/css/system/system.diff.css
- 9 core/modules/system/css/system.diff.css
/**
* Traditional split diff theming
*/
table.diff {
width: 100%;
margin-bottom: 20px;
border-spacing: 4px;
}
table.diff .diff-context {
background-color: #fafafa;
}
table.diff .diff-deletedline {
width: 50%;
background-color: #ffa;
}
table.diff .diff-addedline {
width: 50%;
background-color: #afa;
}
table.diff .diffchange {
color: #f00;
font-weight: bold;
}
table.diff .diff-marker {
width: 1.4em;
}
table.diff th {
padding-right: inherit; /* LTR */
}
[dir="rtl"] table.diff th {
padding-right: 0;
padding-left: inherit;
}
table.diff td div {
overflow: auto;
padding: 0.1ex 0.5em;
word-wrap: break-word;
}
table.diff td {
padding: 0.1ex 0.4em;
}
File
-
core/
modules/ system/ css/ system.diff.css
View source
- /**
- * Traditional split diff theming
- */
- table.diff {
- width: 100%;
- margin-bottom: 20px;
- border-spacing: 4px;
- }
- table.diff .diff-context {
- background-color: #fafafa;
- }
- table.diff .diff-deletedline {
- width: 50%;
- background-color: #ffa;
- }
- table.diff .diff-addedline {
- width: 50%;
- background-color: #afa;
- }
- table.diff .diffchange {
- color: #f00;
- font-weight: bold;
- }
- table.diff .diff-marker {
- width: 1.4em;
- }
- table.diff th {
- padding-right: inherit; /* LTR */
- }
- [dir="rtl"] table.diff th {
- padding-right: 0;
- padding-left: inherit;
- }
- table.diff td div {
- overflow: auto;
- padding: 0.1ex 0.5em;
- word-wrap: break-word;
- }
- table.diff td {
- padding: 0.1ex 0.4em;
- }
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.