Skip to content

Commit

Permalink
FIX Info link missing from rebase, convert CSS to SCSS
Browse files Browse the repository at this point in the history
  • Loading branch information
robbieaverill committed May 31, 2018
1 parent 740d438 commit 9294818
Show file tree
Hide file tree
Showing 6 changed files with 51 additions and 63 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true

[{*.yml,package.json,*.js}]
[{*.yml,package.json,*.js,*.scss}]
indent_size = 2

# The indent size used in the package.json file cannot be changed:
Expand Down
2 changes: 1 addition & 1 deletion client/dist/styles/bundle.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions client/src/styles/bundle.scss
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
// Import core variables
@import "variables";

// Maintenance module styles
@import "sitesummary";
61 changes: 0 additions & 61 deletions client/src/styles/sitesummary.css

This file was deleted.

45 changes: 45 additions & 0 deletions client/src/styles/sitesummary.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
.package-summary {
margin-top: 0;

h3 {
margin-bottom: 0;
}

td {
vertical-align: middle;
}

.grid-refresh-button {
margin-bottom: 0;
}
}

.package-summary__title {
display: block;
}

.package-summary__anchor {
color: inherit;
text-decoration: inherit;
display: block;

&:hover,
&:active {
color: inherit;
text-decoration: inherit;
}
}

.gridfield-dropdown-filter button {
display: none;
}

.site-summary__more-info {
color: inherit;
margin: $input-padding-y;

&:hover {
text-decoration: none;
color: inherit;
}
}
1 change: 1 addition & 0 deletions src/Reports/SiteSummary.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ public function getReportField()
'buttons-before-left'
),
$this->getDropdownFilter(),
$this->getInfoLink(),
Injector::inst()->create(GridFieldHtmlFragment::class, 'header', $versionHtml)
);

Expand Down

0 comments on commit 9294818

Please sign in to comment.