mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Misc CSS tweaks.
Added bottom margin to lists, added styling for standard tables.
This commit is contained in:
@@ -270,12 +270,11 @@ paper-item > a:hover {
|
||||
text-align: right;
|
||||
padding-left: 16px;
|
||||
}
|
||||
ul {
|
||||
margin-top: 8px;
|
||||
margin-bottom: 0;
|
||||
ul, ol {
|
||||
margin: 8px 0;
|
||||
}
|
||||
#main li {
|
||||
padding:8px 16px;
|
||||
padding: 8px 16px;
|
||||
}
|
||||
li p {
|
||||
margin: 0;
|
||||
@@ -326,3 +325,18 @@ paper-progress {
|
||||
background: rgba(0, 0, 0, 0.12);
|
||||
margin-top: -1px;
|
||||
}
|
||||
|
||||
/* Tables */
|
||||
html /deep/ table {
|
||||
border-collapse: collapse;
|
||||
width: 100%;
|
||||
background-color: #E8EAF6;
|
||||
}
|
||||
html /deep/ table td, table th {
|
||||
vertical-align: top;
|
||||
text-align: left;
|
||||
padding: 8px 16px;
|
||||
}
|
||||
html /deep/ table th {
|
||||
border-bottom: 1px solid rgba(0, 0, 0, 0.12);
|
||||
}
|
||||
|
||||
@@ -84,18 +84,11 @@
|
||||
<style>
|
||||
|
||||
/* Table styling. */
|
||||
|
||||
|
||||
html /deep/ table[is=editable-table] {
|
||||
border-collapse: collapse;
|
||||
width: 100%;
|
||||
background-color: inherit;
|
||||
}
|
||||
html /deep/ table[is=editable-table] td, table[is=editable-table] th {
|
||||
vertical-align: top;
|
||||
text-align: left;
|
||||
}
|
||||
html /deep/ table[is=editable-table] th {
|
||||
border-bottom: 1px solid rgba(0, 0, 0, 0.12);
|
||||
padding: 0;
|
||||
}
|
||||
html /deep/ table[is=editable-table] td:last-child {
|
||||
cursor: pointer;
|
||||
|
||||
Reference in New Issue
Block a user