mirror of
https://github.com/pa11y/pa11y-dashboard.git
synced 2025-09-24 22:31:15 +00:00
Move some CSS styles out of the JS and into the CSS
This commit is contained in:
2
public/css/site.min.css
vendored
2
public/css/site.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -183,29 +183,6 @@ $(document).ready(function(){
|
|||||||
var tableStyle = table.attr('style');
|
var tableStyle = table.attr('style');
|
||||||
legend.attr('style', tableStyle);
|
legend.attr('style', tableStyle);
|
||||||
table.removeAttr('style');
|
table.removeAttr('style');
|
||||||
|
|
||||||
legend.css({
|
|
||||||
background: 'rgba(255, 255, 255, 0.75)'
|
|
||||||
});
|
|
||||||
|
|
||||||
table.css({
|
|
||||||
background: '#fff',
|
|
||||||
border: '1px solid #808080',
|
|
||||||
margin: '5px'
|
|
||||||
});
|
|
||||||
table.find('tr > td:first-child').css({
|
|
||||||
paddingLeft: '10px',
|
|
||||||
paddingRight: '5px'
|
|
||||||
});
|
|
||||||
table.find('tr > td:last-child').css({
|
|
||||||
paddingRight: '10px'
|
|
||||||
});
|
|
||||||
table.find('tr:first-child > td').css({
|
|
||||||
paddingTop: '5px'
|
|
||||||
});
|
|
||||||
table.find('tr:last-child > td').css({
|
|
||||||
paddingBottom: '5px'
|
|
||||||
});
|
|
||||||
table.prev('div').remove();
|
table.prev('div').remove();
|
||||||
|
|
||||||
if (errors.length) {
|
if (errors.length) {
|
||||||
|
2
public/js/site.min.js
vendored
2
public/js/site.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -439,6 +439,28 @@ ul.date-links {
|
|||||||
.tooltip-graph {
|
.tooltip-graph {
|
||||||
font-size:12px;
|
font-size:12px;
|
||||||
}
|
}
|
||||||
|
.legend {
|
||||||
|
background-color: #fff;
|
||||||
|
background-color: rgba(255, 255, 255, 0.75);
|
||||||
|
}
|
||||||
|
.legend table {
|
||||||
|
background: #fff;
|
||||||
|
border: 1px solid #808080;
|
||||||
|
margin: 5px;
|
||||||
|
}
|
||||||
|
.legend tr > td:first-child {
|
||||||
|
padding-left: 10px;
|
||||||
|
padding-right: 5px;
|
||||||
|
}
|
||||||
|
.legend tr > td:last-child {
|
||||||
|
padding-right: 10px;
|
||||||
|
}
|
||||||
|
.legend tr:first-child > td {
|
||||||
|
padding-top: 5px;
|
||||||
|
}
|
||||||
|
.legend tr:last-child > td {
|
||||||
|
padding-bottom: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
/* New task page */
|
/* New task page */
|
||||||
.standards-lists {
|
.standards-lists {
|
||||||
|
Reference in New Issue
Block a user