-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Add wrap around to table cells on Debug page (#214)
- Loading branch information
1 parent
84bc7e4
commit 6d52340
Showing
1 changed file
with
90 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,91 +1,103 @@ | ||
h1 { | ||
margin: 0.8em 0 0.5em 0; | ||
color: #333; | ||
font-weight: normal; | ||
font-family: 'Orienta', sans-serif; | ||
font-size: 36px; | ||
line-height: 40px; | ||
margin: 0.8em 0 0.5em 0; | ||
color: #333; | ||
font-weight: normal; | ||
font-family: 'Orienta', sans-serif; | ||
font-size: 36px; | ||
line-height: 40px; | ||
} | ||
|
||
h2 { | ||
margin: 0.8em 0 0.5em 0; | ||
color: #333; | ||
font-weight: normal; | ||
font-family: 'Orienta', sans-serif; | ||
font-size: 30px; | ||
line-height: 40px; | ||
border-bottom: 1px solid #fff; | ||
box-shadow: 0 1px 0 rgba(0,0,0,0.1); | ||
padding-bottom: 10px; | ||
margin: 0.8em 0 0.5em 0; | ||
color: #333; | ||
font-weight: normal; | ||
font-family: 'Orienta', sans-serif; | ||
font-size: 30px; | ||
line-height: 40px; | ||
border-bottom: 1px solid #fff; | ||
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1); | ||
padding-bottom: 10px; | ||
} | ||
|
||
h3 { | ||
margin: 0.8em 0 0.5em 0; | ||
color: #333; | ||
font-weight: normal; | ||
font-family: 'Orienta', sans-serif; | ||
font-size: 24px; | ||
line-height: 40px; | ||
margin: 0.8em 0 0.5em 0; | ||
color: #333; | ||
font-weight: normal; | ||
font-family: 'Orienta', sans-serif; | ||
font-size: 24px; | ||
line-height: 40px; | ||
} | ||
|
||
h4 { | ||
margin: 0.8em 0 0.5em 0; | ||
color: #333; | ||
font-weight: normal; | ||
font-family: 'Orienta', sans-serif; | ||
font-size: 18px; | ||
line-height: 20px; | ||
margin: 0.8em 0 0.5em 0; | ||
color: #333; | ||
font-weight: normal; | ||
font-family: 'Orienta', sans-serif; | ||
font-size: 18px; | ||
line-height: 20px; | ||
} | ||
|
||
table { | ||
margin: 0; | ||
} | ||
|
||
/* Default Table Style */ | ||
table { | ||
color: #333; | ||
background: white; | ||
border: 1px solid grey; | ||
font-size: 12pt; | ||
border-collapse: collapse; | ||
} | ||
table thead th, | ||
table tfoot th { | ||
color: #777; | ||
background: rgba(0,0,0,.1); | ||
} | ||
table caption { | ||
padding:.5em; | ||
} | ||
table th, | ||
table td { | ||
padding: .5em; | ||
border: 1px solid lightgrey; | ||
} | ||
/* Zebra Table Style */ | ||
[data-table-theme*=zebra] tbody tr:nth-of-type(odd) { | ||
background: rgba(0,0,0,.05); | ||
} | ||
[data-table-theme*=zebra][data-table-theme*=dark] tbody tr:nth-of-type(odd) { | ||
background: rgba(255,255,255,.05); | ||
} | ||
/* Dark Style */ | ||
[data-table-theme*=dark] { | ||
color: #ddd; | ||
background: #333; | ||
font-size: 12pt; | ||
border-collapse: collapse; | ||
} | ||
[data-table-theme*=dark] thead th, | ||
[data-table-theme*=dark] tfoot th { | ||
color: #aaa; | ||
background: rgba(0255,255,255,.15); | ||
} | ||
[data-table-theme*=dark] caption { | ||
padding:.5em; | ||
} | ||
[data-table-theme*=dark] th, | ||
[data-table-theme*=dark] td { | ||
padding: .5em; | ||
border: 1px solid grey; | ||
} | ||
margin: 0; | ||
} | ||
|
||
/* Default Table Style */ | ||
table { | ||
color: #333; | ||
background: white; | ||
border: 1px solid grey; | ||
font-size: 12pt; | ||
border-collapse: collapse; | ||
} | ||
|
||
table thead th, | ||
table tfoot th { | ||
color: #777; | ||
background: rgba(0, 0, 0, .1); | ||
} | ||
|
||
table caption { | ||
padding: .5em; | ||
} | ||
|
||
table th, | ||
table td { | ||
padding: .5em; | ||
border: 1px solid lightgrey; | ||
max-width: 600px; | ||
word-wrap: break-word; | ||
overflow-wrap: break-word; | ||
} | ||
|
||
/* Zebra Table Style */ | ||
[data-table-theme*=zebra] tbody tr:nth-of-type(odd) { | ||
background: rgba(0, 0, 0, .05); | ||
} | ||
|
||
[data-table-theme*=zebra][data-table-theme*=dark] tbody tr:nth-of-type(odd) { | ||
background: rgba(255, 255, 255, .05); | ||
} | ||
|
||
/* Dark Style */ | ||
[data-table-theme*=dark] { | ||
color: #ddd; | ||
background: #333; | ||
font-size: 12pt; | ||
border-collapse: collapse; | ||
} | ||
|
||
[data-table-theme*=dark] thead th, | ||
[data-table-theme*=dark] tfoot th { | ||
color: #aaa; | ||
background: rgba(0255, 255, 255, .15); | ||
} | ||
|
||
[data-table-theme*=dark] caption { | ||
padding: .5em; | ||
} | ||
|
||
[data-table-theme*=dark] th, | ||
[data-table-theme*=dark] td { | ||
padding: .5em; | ||
border: 1px solid grey; | ||
} |