| |
| table.entityTable { |
|
|
| thead { |
| tr { |
| th { |
| &:first-child { |
| padding-left: 20px !important; |
| } |
|
|
| text-transform: none; |
| background: @theme-color-background-base; |
| vertical-align: middle !important; |
| text-align: left !important; |
| font-size: 15px; |
| white-space: nowrap; |
| padding: 22px 16px !important; |
| margin: 0; |
| font-weight: normal; |
| border-radius: 0; |
| color: @theme-color-text-contrast; |
| } |
| } |
| } |
|
|
| tbody { |
| tr { |
| &:hover { |
| td { |
| background-color: @theme-color-background-tinyContrast; |
| } |
| } |
| &.highlighted td { |
| background-color: #ECF9DD; |
| } |
|
|
| td { |
| &:first-child { |
| padding-left: 20px !important; |
| } |
|
|
| color: @theme-color-text; |
| font-size: 13px; |
| line-height: 16px; |
| background-color: @theme-color-background-contrast; |
| vertical-align: top !important; |
| padding: 16px; |
| border-bottom: 1px solid @theme-color-background-tinyContrast !important; |
| border-radius: 0; |
| } |
| } |
| } |
|
|
| th.entityTable_Numeric { |
| text-align: right !important; |
| } |
| td.entityTable_Numeric { |
| text-align: right; |
| font-variant-numeric: tabular-nums; |
| } |
|
|
| .entityTable_Sparkline { |
| padding: 0; |
| width: 100px; |
| } |
| } |
|
|
| .entityTable_StarCell, |
| table.entityTable tbody tr .entityTable_StarCell { |
| width: 40px; |
| padding-right: 0; |
| } |
|
|
| .entityTable_Filler, |
| table.entityTable tbody tr .entityTable_Filler { |
| padding: 0; |
| } |
|
|
| .entityTable_ActionCell, |
| table.entityTable tbody tr .entityTable_ActionCell { |
| padding: 0 16px; |
| } |
|
|
| .entityTable_ActionCell-1, |
| table.entityTable tbody tr .entityTable_ActionCell-1 { |
| width: 80px; |
| } |
|
|
| .entityTable_ActionCell-3, |
| table.entityTable tbody tr .entityTable_ActionCell-3 { |
| width: 170px; |
| } |
|
|
| .table-action { |
| padding: 16px; |
| height: auto; |
| margin: 0; |
| line-height: 1; |
| background-color: transparent; |
| border: 0; |
| color: inherit !important; |
| display: inline; |
|
|
| a&[class^="icon-"], a&[class*=" icon-"] { |
| text-decoration: none!important; |
| } |
|
|
| &:focus, |
| &:hover { |
| background-color: @theme-color-background-base; |
| box-shadow: 0 1px 2px 0 rgba(0,0,0,0.16), 0 1px 5px 0 rgba(0,0,0,0.12); |
| cursor: pointer; |
| } |
|
|
| &[data-state="disabled"] { |
| opacity: 0.2; |
| cursor: not-allowed; |
| } |
|
|
| .entityTable_ActionCell & { |
| display: inline-block; |
| } |
| } |
|
|
| .card .tableActionBar { |
| a, button { |
| background-color: @theme-color-background-contrast; |
| &:focus { |
| background-color: @theme-color-background-contrast; |
| } |
| } |
| } |
|
|
| .tableFooterLabel { |
| margin-bottom: 16px; |
| font-style: italic; |
| } |
|
|
| .tableActionBar { |
| a, |
| button { |
| height: 36px; |
| line-height: 36px; |
| box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12) !important; |
| color: @theme-color-text; |
| background-image: none !important; |
| font-size: 12px; |
| cursor: pointer; |
| text-decoration: none; |
| background-color: inherit; |
| text-align: center; |
| letter-spacing: .5px; |
| transition: .2s ease-out; |
| border: none; |
| border-radius: 3px; |
| display: inline-block; |
| padding: 0 2rem; |
| margin-left: 16px; |
| text-transform: uppercase; |
| vertical-align: middle; |
| -webkit-tap-highlight-color: transparent; |
|
|
| &:hover { |
| text-decoration: none; |
| } |
| } |
|
|
| button:disabled, |
| button[disabled] { |
| background-color: @theme-color-background-disabled !important; |
| color: @theme-color-text-lighter !important; |
| } |
|
|
| button:first-child:not(:disabled):not([disabled]), |
| a:first-child { |
| background-color: @theme-color-brand !important; |
| color: @color-white; |
| } |
| } |
|
|