Issue #2878548 by alexpott, droplet, Cottser, idebr, joelpittet, xjm, martin107: Fix CSS whitespace issues

8.4.x
Chris McCafferty 2017-05-19 12:46:41 -04:00
parent 01621e5880
commit ef1db63d7b
57 changed files with 161 additions and 158 deletions

View File

@ -16,7 +16,9 @@ body {
} }
} }
ol, ul, dl { ol,
ul,
dl {
/* Preserved spaces for list items with text direction other than the list. /* Preserved spaces for list items with text direction other than the list.
* (CKEditor issues #6249,#8049) */ * (CKEditor issues #6249,#8049) */
padding: 0 40px; padding: 0 40px;

View File

@ -6,8 +6,6 @@
* "moono". * "moono".
*/ */
.ckeditor-toolbar { .ckeditor-toolbar {
border: 1px solid #b6b6b6; border: 1px solid #b6b6b6;
padding: 0.1667em 0.1667em 0.08em; padding: 0.1667em 0.1667em 0.08em;

View File

@ -10,7 +10,6 @@
* file: https://www.drupal.org/node/2784443. * file: https://www.drupal.org/node/2784443.
*/ */
/* Transition the edit icon in the toolbar. */ /* Transition the edit icon in the toolbar. */
#toolbar-bar.button.toolbar-icon.toolbar-icon.toolbar-icon-edit:before { #toolbar-bar.button.toolbar-icon.toolbar-icon.toolbar-icon-edit:before {
-webkit-transition: all .7s ease; -webkit-transition: all .7s ease;
@ -41,4 +40,5 @@
-webkit-transition: all .7s ease; -webkit-transition: all .7s ease;
-moz-transition: all .7s ease; -moz-transition: all .7s ease;
transition: all .7s ease; transition: all .7s ease;
}*/ }
*/

View File

@ -5,7 +5,6 @@
* @see tabledrag.js * @see tabledrag.js
*/ */
/* Because base font sizes will vary widely across themes, to maintain consistency outside-in uses only pixels. */ /* Because base font sizes will vary widely across themes, to maintain consistency outside-in uses only pixels. */
.ui-dialog-outside-in body.drag { .ui-dialog-outside-in body.drag {

View File

@ -235,7 +235,6 @@
background: #2b8bd8; background: #2b8bd8;
} }
/* /*
* Visual styling for dropbutton in the Settings Tray module's off canvas tray. * Visual styling for dropbutton in the Settings Tray module's off canvas tray.
* @todo Move to its own component: * @todo Move to its own component:

View File

@ -219,7 +219,6 @@
background-color: #f5f5f5; background-color: #f5f5f5;
} }
/** /**
* Handle. * Handle.
*/ */
@ -280,8 +279,7 @@
background-image: url(../../../misc/icons/bebebe/push-left.svg); /* LTR */ background-image: url(../../../misc/icons/bebebe/push-left.svg); /* LTR */
} }
.toolbar .toolbar-toggle-orientation [value="vertical"]:hover:before, .toolbar .toolbar-toggle-orientation [value="vertical"]:hover:before,
.toolbar .toolbar-toggle-orientation [value="vertical"]:focus:before .toolbar .toolbar-toggle-orientation [value="vertical"]:focus:before {
{
background-image: url(../../../misc/icons/787878/push-left.svg); /* LTR */ background-image: url(../../../misc/icons/787878/push-left.svg); /* LTR */
} }
[dir="rtl"] .toolbar .toolbar-toggle-orientation [value="vertical"]:before { [dir="rtl"] .toolbar .toolbar-toggle-orientation [value="vertical"]:before {

View File

@ -20,7 +20,8 @@
line-height: 1em; line-height: 1em;
text-decoration: none; text-decoration: none;
} }
.toolbar .toolbar-item:hover, .toolbar .toolbar-item:focus { .toolbar .toolbar-item:hover,
.toolbar .toolbar-item:focus {
text-decoration: underline; text-decoration: underline;
} }
@ -93,8 +94,7 @@
.toolbar-tray a:hover, .toolbar-tray a:hover,
.toolbar-tray a:active, .toolbar-tray a:active,
.toolbar-tray a:focus, .toolbar-tray a:focus,
.toolbar-tray a.is-active .toolbar-tray a.is-active {
{
color: #000; color: #000;
text-decoration: underline; text-decoration: underline;
} }

View File

@ -132,7 +132,8 @@ img {
max-width: 100%; max-width: 100%;
height: auto; height: auto;
} }
ul, ol { ul,
ol {
margin: 0; margin: 0;
padding: 0 0 0.25em 1em; /* LTR */ padding: 0 0 0.25em 1em; /* LTR */
} }

View File

@ -49,7 +49,6 @@
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 0.733em; font-size: 0.733em;
line-height: 1.2; line-height: 1.2;
} }
.comment__permalink { .comment__permalink {
font-size: 0.733em; font-size: 0.733em;

View File

@ -316,7 +316,9 @@ input.form-submit:focus {
-moz-box-sizing: border-box; -moz-box-sizing: border-box;
} }
.js .dropbutton .dropbutton-action > input, .js .dropbutton .dropbutton-action > a, .js .dropbutton .dropbutton-action > button { .js .dropbutton .dropbutton-action > input,
.js .dropbutton .dropbutton-action > a,
.js .dropbutton .dropbutton-action > button {
text-align: center; text-align: center;
padding-left: 3em; padding-left: 3em;
} }

View File

@ -18,26 +18,13 @@
background: #057ec9; background: #057ec9;
background-image: background-image:
-webkit-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.15)), -webkit-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.15)),
-webkit-linear-gradient( left top, -webkit-linear-gradient(left top, #0094f0 0%, #0094f0 25%, #007ecc 25%, #007ecc 50%, #0094f0 50%, #0094f0 75%, #0094f0 100%);
#0094f0 0%,
#0094f0 25%,
#007ecc 25%,
#007ecc 50%,
#0094f0 50%,
#0094f0 75%,
#0094f0 100% );
background-image: background-image:
-webkit-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.15)), -webkit-linear-gradient(left top, #0094f0 0%, #0094f0 25%, #007ecc 25%, #007ecc 50%, #0094f0 50%, #0094f0 75%, #0094f0 100%); -webkit-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.15)),
-webkit-linear-gradient(left top, #0094f0 0%, #0094f0 25%, #007ecc 25%, #007ecc 50%, #0094f0 50%, #0094f0 75%, #0094f0 100%);
background-image: background-image:
linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.15)), linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.15)),
linear-gradient( to right bottom, linear-gradient(to right bottom, #0094f0 0%, #0094f0 25%, #007ecc 25%, #007ecc 50%, #0094f0 50%, #0094f0 75%, #0094f0 100%);
#0094f0 0%,
#0094f0 25%,
#007ecc 25%,
#007ecc 50%,
#0094f0 50%,
#0094f0 75%,
#0094f0 100% );
background-size: 40px 40px; background-size: 40px 40px;
margin-top: -1px; margin-top: -1px;
margin-left: -1px; /* LTR */ margin-left: -1px; /* LTR */
@ -61,11 +48,14 @@
* Progress bar animations. * Progress bar animations.
*/ */
@-webkit-keyframes animate-stripes { @-webkit-keyframes animate-stripes {
0% {background-position: 0 0, 0 0;} 100% {background-position: 0 0, -80px 0;} 0% { background-position: 0 0, 0 0; }
100% { background-position: 0 0, -80px 0; }
} }
@-ms-keyframes animate-stripes { @-ms-keyframes animate-stripes {
0% {background-position: 0 0, 0 0;} 100% {background-position: 0 0, -80px 0;} 0% { background-position: 0 0, 0 0; }
100% { background-position: 0 0, -80px 0; }
} }
@keyframes animate-stripes { @keyframes animate-stripes {
0% {background-position: 0 0, 0 0;} 100% {background-position: 0 0, -80px 0;} 0% { background-position: 0 0, 0 0; }
100% { background-position: 0 0, -80px 0; }
} }

View File

@ -42,7 +42,8 @@
color: #000; color: #000;
text-decoration: underline; text-decoration: underline;
} }
.button, .button--primary { .button,
.button--primary {
background: none !important; background: none !important;
} }
.messages { .messages {
@ -70,7 +71,17 @@
background: none; background: none;
border-radius: 4px; border-radius: 4px;
} }
input.form-autocomplete, input.form-text, input.form-tel, input.form-email, input.form-url, input.form-search, input.form-number, input.form-color, input.form-file, textarea.form-textarea, select.form-select { input.form-autocomplete,
input.form-text,
input.form-tel,
input.form-email,
input.form-url,
input.form-search,
input.form-number,
input.form-color,
input.form-file,
textarea.form-textarea,
select.form-select {
border-width: 1px; border-width: 1px;
} }
} }

View File

@ -127,7 +127,6 @@ label[for] {
padding: 0.25em 0.666em 0; padding: 0.25em 0.666em 0;
} }
/* Filter */ /* Filter */
ul.tips, ul.tips,
div.description, div.description,
@ -254,7 +253,8 @@ select {
} }
select:focus, select:focus,
select:hover { select:hover {
background-image: url(../../../../misc/icons/333333/caret-down.svg), background-image:
url(../../../../misc/icons/333333/caret-down.svg),
-webkit-linear-gradient(top, #fcfcfa, #e9e9dd); -webkit-linear-gradient(top, #fcfcfa, #e9e9dd);
color: #1a1a1a; color: #1a1a1a;
} }

View File

@ -10,12 +10,18 @@
.messages pre { .messages pre {
margin: 0; margin: 0;
} }
.messages h1, .messages .heading-a, .messages h1,
.messages h2, .messages .heading-b, .messages .heading-a,
.messages h3, .messages .heading-c, .messages h2,
.messages h4, .messages .heading-d, .messages .heading-b,
.messages h5, .messages .heading-e, .messages h3,
.messages h6, .messages .heading-f { .messages .heading-c,
.messages h4,
.messages .heading-d,
.messages h5,
.messages .heading-e,
.messages h6,
.messages .heading-f {
margin-top: 0; margin-top: 0;
} }

View File

@ -74,7 +74,6 @@ details.fieldset-no-legend {
margin-right: 1.5em; margin-right: 1.5em;
} }
.views-admin-dependent .form-item .form-item, .views-admin-dependent .form-item .form-item,
.views-admin-dependent .form-type-checkboxes, .views-admin-dependent .form-type-checkboxes,
.views-admin-dependent .form-type-radios, .views-admin-dependent .form-type-radios,

View File

@ -59,5 +59,4 @@
width: auto; width: auto;
max-width: 100%; max-width: 100%;
} }
} }

View File

@ -135,7 +135,9 @@
padding: 1em 0; padding: 1em 0;
vertical-align: middle; vertical-align: middle;
} }
html, .install-page, .maintenance-page { html,
.install-page,
.maintenance-page {
margin: 0; margin: 0;
width: 100%; width: 100%;
height: 100%; height: 100%;

View File

@ -16,7 +16,9 @@ body {
} }
} }
ol, ul, dl { ol,
ul,
dl {
/* Preserved spaces for list items with text direction other than the list. /* Preserved spaces for list items with text direction other than the list.
* (CKEditor issues #6249,#8049) */ * (CKEditor issues #6249,#8049) */
padding: 0 40px; padding: 0 40px;

View File

@ -6,8 +6,6 @@
* "moono". * "moono".
*/ */
.ckeditor-toolbar { .ckeditor-toolbar {
border: 1px solid #b6b6b6; border: 1px solid #b6b6b6;
padding: 0.1667em 0.1667em 0.08em; padding: 0.1667em 0.1667em 0.08em;

View File

@ -219,7 +219,6 @@
background-color: #f5f5f5; background-color: #f5f5f5;
} }
/** /**
* Handle. * Handle.
*/ */
@ -280,8 +279,7 @@
background-image: url(../../images/core/icons/bebebe/push-left.svg); /* LTR */ background-image: url(../../images/core/icons/bebebe/push-left.svg); /* LTR */
} }
.toolbar .toolbar-toggle-orientation [value="vertical"]:hover:before, .toolbar .toolbar-toggle-orientation [value="vertical"]:hover:before,
.toolbar .toolbar-toggle-orientation [value="vertical"]:focus:before .toolbar .toolbar-toggle-orientation [value="vertical"]:focus:before {
{
background-image: url(../../images/core/icons/787878/push-left.svg); /* LTR */ background-image: url(../../images/core/icons/787878/push-left.svg); /* LTR */
} }
[dir="rtl"] .toolbar .toolbar-toggle-orientation [value="vertical"]:before { [dir="rtl"] .toolbar .toolbar-toggle-orientation [value="vertical"]:before {

View File

@ -20,7 +20,8 @@
line-height: 1em; line-height: 1em;
text-decoration: none; text-decoration: none;
} }
.toolbar .toolbar-item:hover, .toolbar .toolbar-item:focus { .toolbar .toolbar-item:hover,
.toolbar .toolbar-item:focus {
text-decoration: underline; text-decoration: underline;
} }
@ -93,8 +94,7 @@
.toolbar-tray a:hover, .toolbar-tray a:hover,
.toolbar-tray a:active, .toolbar-tray a:active,
.toolbar-tray a:focus, .toolbar-tray a:focus,
.toolbar-tray a.is-active .toolbar-tray a.is-active {
{
color: #000; color: #000;
text-decoration: underline; text-decoration: underline;
} }