|
@@ -44,88 +44,21 @@ export default React.memo(styled(Table)`
|
|
|
max-width: 100%;
|
|
|
width: 100%;
|
|
|
|
|
|
- &.isFixed table {
|
|
|
- table-layout: fixed;
|
|
|
- }
|
|
|
-
|
|
|
table {
|
|
|
border-spacing: 0;
|
|
|
max-width: 100%;
|
|
|
overflow: hidden;
|
|
|
width: 100%;
|
|
|
|
|
|
- thead tr {
|
|
|
- background: transparent;
|
|
|
- text-transform: lowercase;
|
|
|
-
|
|
|
- &.filter th {
|
|
|
- padding: 0;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- tbody tr {
|
|
|
- background: white;
|
|
|
-
|
|
|
- td {
|
|
|
- border-top: 1px solid #e6e6e6;
|
|
|
-
|
|
|
- &:first-child {
|
|
|
- border-left: 1px solid #e6e6e6;
|
|
|
- }
|
|
|
-
|
|
|
- &:last-child {
|
|
|
- border-right: 1px solid #e6e6e6;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- &:first-child td {
|
|
|
- &:first-child {
|
|
|
- border-radius: 0.25rem 0 0 0;
|
|
|
- }
|
|
|
-
|
|
|
- &:last-child {
|
|
|
- border-radius: 0 0.25rem 0 0;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- &:last-child td {
|
|
|
- border-bottom: 1px solid #e6e6e6;
|
|
|
-
|
|
|
- &:first-child {
|
|
|
- border-radius: 0 0 0 0.25rem;
|
|
|
- }
|
|
|
-
|
|
|
- &:last-child {
|
|
|
- border-radius: 0 0 0.25rem 0;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- &:not(:hover) {
|
|
|
- .ui.button:not(.isIcon):not(.disabled) {
|
|
|
- background: #eee !important;
|
|
|
- color: #555 !important;
|
|
|
- }
|
|
|
-
|
|
|
- .ui.toggle.checkbox input:checked~.box:before,
|
|
|
- .ui.toggle.checkbox input:checked~label:before {
|
|
|
- background-color: #eee !important;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
tr {
|
|
|
max-width: 100%;
|
|
|
width: 100%;
|
|
|
|
|
|
- &.isHighlight td {
|
|
|
- background: #ffffed;
|
|
|
- }
|
|
|
-
|
|
|
label {
|
|
|
opacity: 0.42;
|
|
|
}
|
|
|
|
|
|
- td, th {
|
|
|
+ td, &:not(.filter) th {
|
|
|
&:first-child {
|
|
|
padding-left: 1.5rem;
|
|
|
}
|
|
@@ -142,120 +75,10 @@ export default React.memo(styled(Table)`
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ }
|
|
|
|
|
|
- td {
|
|
|
- padding: 0.75rem 1rem;
|
|
|
- text-align: left;
|
|
|
- vertical-align: middle;
|
|
|
-
|
|
|
- label {
|
|
|
- display: block !important;
|
|
|
- white-space: nowrap;
|
|
|
- }
|
|
|
-
|
|
|
- i.icon {
|
|
|
- cursor: pointer;
|
|
|
- }
|
|
|
-
|
|
|
- div.empty {
|
|
|
- opacity: 0.6;
|
|
|
- padding: 0.25rem;
|
|
|
- }
|
|
|
-
|
|
|
- .ui--Spinner {
|
|
|
- margin: 0 auto;
|
|
|
-
|
|
|
- .text {
|
|
|
- margin-bottom: 0;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- &:hover label {
|
|
|
- opacity: 1;
|
|
|
- }
|
|
|
-
|
|
|
- &.address {
|
|
|
- min-width: 11rem;
|
|
|
- padding: 0.85rem 1rem;
|
|
|
- }
|
|
|
-
|
|
|
- &.button {
|
|
|
- text-align: right;
|
|
|
- vertical-align: middle;
|
|
|
- white-space: nowrap;
|
|
|
- }
|
|
|
-
|
|
|
- &.combined {
|
|
|
- border-top-width: 0;
|
|
|
- }
|
|
|
-
|
|
|
- &.hash {
|
|
|
- font-family: monospace;
|
|
|
- }
|
|
|
-
|
|
|
- &.number {
|
|
|
- text-align: right;
|
|
|
- }
|
|
|
-
|
|
|
- &.relative {
|
|
|
- position: relative;
|
|
|
- }
|
|
|
-
|
|
|
- &.overflow {
|
|
|
- max-width: 0;
|
|
|
- overflow: hidden;
|
|
|
- text-overflow: ellipsis;
|
|
|
- }
|
|
|
-
|
|
|
- &.together {
|
|
|
- white-space: nowrap;
|
|
|
- }
|
|
|
-
|
|
|
- &.top {
|
|
|
- vertical-align: top;
|
|
|
- }
|
|
|
-
|
|
|
- &.middle {
|
|
|
- text-align: center;
|
|
|
- }
|
|
|
-
|
|
|
- &.mini {
|
|
|
- padding: 0 0.75rem 0 0;
|
|
|
- white-space: nowrap;
|
|
|
- }
|
|
|
-
|
|
|
- &.favorite i.icon.isSelected {
|
|
|
- color: darkorange;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- th {
|
|
|
- color: rgba(78, 78, 78, .66);
|
|
|
- font-family: sans-serif;
|
|
|
- font-weight: 100;
|
|
|
- text-align: right;
|
|
|
- padding: 0.75rem 1rem 0.25rem;
|
|
|
- vertical-align: baseline;
|
|
|
- white-space: nowrap;
|
|
|
-
|
|
|
- h1, h2 {
|
|
|
- font-size: 1.75rem;
|
|
|
- }
|
|
|
-
|
|
|
- &.isClickable {
|
|
|
- cursor: pointer;
|
|
|
- border-bottom: 2px solid transparent;
|
|
|
- }
|
|
|
-
|
|
|
- &.address {
|
|
|
- text-align: left;
|
|
|
- padding-left: 3rem;
|
|
|
- }
|
|
|
-
|
|
|
- &.start {
|
|
|
- text-align: left;
|
|
|
- }
|
|
|
- }
|
|
|
+ &.isFixed table {
|
|
|
+ table-layout: fixed;
|
|
|
}
|
|
|
}
|
|
|
`);
|