Misc CSS tweaks.

Added bottom margin to lists, added styling for standard tables.
This commit is contained in:
Oliver Hamlet
2014-12-28 17:04:31 +00:00
parent 538b05f624
commit c8f9f0d23a
2 changed files with 20 additions and 13 deletions
+18 -4
View File
@@ -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);
}
+2 -9
View File
@@ -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;