Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
drupal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
222
Merge Requests
222
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
drupal
Commits
3d017474
Commit
3d017474
authored
Apr 02, 2015
by
alexpott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#2412949
by kyuubi: Rewrite the system status report component inline with our CSS standards
parent
36b1c8b6
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
33 additions
and
39 deletions
+33
-39
core/modules/system/css/system.admin.css
core/modules/system/css/system.admin.css
+9
-13
core/modules/system/templates/status-report.html.twig
core/modules/system/templates/status-report.html.twig
+5
-5
core/themes/seven/css/components/system-status-report.css
core/themes/seven/css/components/system-status-report.css
+15
-0
core/themes/seven/css/components/tables.css
core/themes/seven/css/components/tables.css
+3
-21
core/themes/seven/seven.libraries.yml
core/themes/seven/seven.libraries.yml
+1
-0
No files found.
core/modules/system/css/system.admin.css
View file @
3d017474
...
...
@@ -187,37 +187,33 @@ small .admin-link:after {
background
:
url(../../../misc/icons/787878/cog.svg)
0
50%
no-repeat
;
}
/**
* Status report.
*/
/* Status report. */
.system-status-report
td
{
padding
:
6px
;
vertical-align
:
top
;
}
.system-status-report
td
:nth-child
(
-n
+
2
)
{
background-color
:
rgba
(
0
,
0
,
0
,
0.04
);
}
.system-status-report
.status-icon
{
.system-status-report__status-icon
{
width
:
16px
;
padding-right
:
0
;
/* LTR */
}
[
dir
=
"rtl"
]
.system-status-report
.
status-icon
{
[
dir
=
"rtl"
]
.system-status-report
__
status-icon
{
padding-left
:
0
;
padding-right
:
6px
;
}
.system-status-report
.status-icon
div
{
.system-status-report__status-icon
:before
{
content
:
""
;
background-repeat
:
no-repeat
;
height
:
16px
;
width
:
16px
;
margin-top
:
2px
;
display
:
block
;
}
.system-status-report
.status-icon--error
div
{
.system-status-report
__status-icon--error
:before
{
background-image
:
url(../../../misc/icons/ea2800/error.svg)
;
}
.system-status-report
.status-icon--warning
div
{
.system-status-report
__status-icon--warning
:before
{
background-image
:
url(../../../misc/icons/e29700/warning.svg)
;
}
.system-status-report
.
status-title
{
.system-status-report
__
status-title
{
width
:
25%
;
}
...
...
core/modules/system/templates/status-report.html.twig
View file @
3d017474
...
...
@@ -26,17 +26,17 @@
<tbody>
{%
for
requirement
in
requirements
%}
{%
if
requirement.severity_status
in
[
'warning'
,
'error'
]
%}
<tr
class=
"color-
{{
requirement.severity_status
}}
"
>
<tr
class=
"
system-status-report__entry
color-
{{
requirement.severity_status
}}
"
>
{%
else
%}
<tr>
<tr
class=
"system-status-report__entry"
>
{%
endif
%}
<td
class=
"s
tatus-icon
status-icon--
{{
requirement.severity_status
}}
"
>
<td
class=
"s
ystem-status-report__status-icon system-status-report__
status-icon--
{{
requirement.severity_status
}}
"
>
<div
title=
"
{{
requirement.severity_title
}}
"
>
<span
class=
"visually-hidden"
>
{{
requirement.severity_title
}}
</span>
</div>
</td>
<td
class=
"status-title"
>
{{
requirement.title
}}
</td>
<td
class=
"status-value"
>
<td
class=
"s
ystem-status-report__s
tatus-title"
>
{{
requirement.title
}}
</td>
<td>
{{
requirement.value
}}
{%
if
requirement.description
%}
<div
class=
"description"
>
{{
requirement.description
}}
</div>
...
...
core/themes/seven/css/components/system-status-report.css
0 → 100644
View file @
3d017474
/**
* @file
* Seven styles for the System Status Report.
*/
.system-status-report__entry
{
border-top
:
1px
solid
#ccc
;
border-bottom
:
inherit
;
}
.system-status-report__entry
:first-child
{
border-top
:
1px
solid
#bebfb9
;
}
.system-status-report__entry
:last-child
{
border-bottom
:
1px
solid
#bebfb9
;
}
core/themes/seven/css/components/tables.css
View file @
3d017474
/**
* Tables.
* @file
* Seven styles for Tables.
*/
table
{
width
:
100%
;
margin
:
0
0
10px
;
...
...
@@ -123,26 +125,6 @@ th.select-all {
margin-bottom
:
1.2em
;
}
/**
* Status report table.
*/
table
.system-status-report
tr
{
border-top
:
1px
solid
#ccc
;
border-bottom
:
inherit
;
}
table
.system-status-report
tr
:first-child
{
border-top
:
1px
solid
#bebfb9
;
}
table
.system-status-report
tr
:last-child
{
border-bottom
:
1px
solid
#bebfb9
;
}
table
.system-status-report
td
{
padding
:
12px
;
}
table
.system-status-report
td
:nth-child
(
-n
+
2
)
{
background-color
:
transparent
;
}
/**
* Responsive tables.
*/
...
...
core/themes/seven/seven.libraries.yml
View file @
3d017474
...
...
@@ -26,6 +26,7 @@ global-styling:
css/components/panel.css
:
{}
css/components/skip-link.css
:
{}
css/components/tables.css
:
{}
css/components/system-status-report.css
:
{}
css/components/tabs.css
:
{}
css/components/tour.theme.css
:
{}
css/components/update-status.css
:
{}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment