123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376 |
- .table {
- width: 100%;
- max-width: 100%;
- border-spacing: 0;
- border-collapse: collapse;
- th,
- td {
- padding: 8px;
- line-height: 18px;
- vertical-align: top;
- border-top: 1px solid $ui-base-color;
- text-align: left;
- background: darken($ui-base-color, 4%);
- }
- & > thead > tr > th {
- vertical-align: bottom;
- border-bottom: 2px solid $ui-base-color;
- border-top: 0;
- font-weight: 500;
- }
- & > tbody > tr > th {
- font-weight: 500;
- }
- & > tbody > tr:nth-child(odd) > td,
- & > tbody > tr:nth-child(odd) > th {
- background: $ui-base-color;
- }
- a {
- color: $highlight-text-color;
- text-decoration: underline;
- &:hover {
- text-decoration: none;
- }
- }
- strong {
- font-weight: 500;
- @each $lang in $cjk-langs {
- &:lang(#{$lang}) {
- font-weight: 700;
- }
- }
- }
- &.inline-table {
- & > tbody > tr:nth-child(odd) {
- & > td,
- & > th {
- background: transparent;
- }
- }
- & > tbody > tr:first-child {
- & > td,
- & > th {
- border-top: 0;
- }
- }
- }
- &.horizontal-table {
- border-collapse: collapse;
- border-style: hidden;
- & > tbody > tr > th,
- & > tbody > tr > td {
- padding: 11px 10px;
- background: transparent;
- border: 1px solid lighten($ui-base-color, 8%);
- color: $secondary-text-color;
- }
- & > tbody > tr > th {
- color: $darker-text-color;
- font-weight: 600;
- }
- }
- &.batch-table {
- & > thead > tr > th {
- background: $ui-base-color;
- border-top: 1px solid darken($ui-base-color, 8%);
- border-bottom: 1px solid darken($ui-base-color, 8%);
- &:first-child {
- border-radius: 4px 0 0;
- border-left: 1px solid darken($ui-base-color, 8%);
- }
- &:last-child {
- border-radius: 0 4px 0 0;
- border-right: 1px solid darken($ui-base-color, 8%);
- }
- }
- }
- &--invites tbody td {
- vertical-align: middle;
- }
- }
- .table-wrapper {
- overflow: auto;
- margin-bottom: 20px;
- }
- samp {
- font-family: $font-monospace, monospace;
- }
- button.table-action-link {
- background: transparent;
- border: 0;
- font: inherit;
- }
- button.table-action-link,
- a.table-action-link {
- text-decoration: none;
- display: inline-block;
- margin-right: 5px;
- padding: 0 10px;
- color: $darker-text-color;
- font-weight: 500;
- &:hover {
- color: $primary-text-color;
- }
- i.fa {
- font-weight: 400;
- margin-right: 5px;
- }
- &:first-child {
- padding-left: 0;
- }
- }
- .batch-table {
- &__toolbar,
- &__row {
- display: flex;
- &__select {
- box-sizing: border-box;
- padding: 8px 16px;
- cursor: pointer;
- min-height: 100%;
- input {
- margin-top: 8px;
- }
- &--aligned {
- display: flex;
- align-items: center;
- input {
- margin-top: 0;
- }
- }
- }
- &__actions,
- &__content {
- padding: 8px 0;
- padding-right: 16px;
- flex: 1 1 auto;
- }
- }
- &__toolbar {
- position: sticky;
- top: 0;
- z-index: 1;
- border: 1px solid darken($ui-base-color, 8%);
- background: $ui-base-color;
- border-radius: 4px 0 0;
- height: 47px;
- align-items: center;
- &__actions {
- text-align: right;
- padding-right: 16px - 5px;
- }
- }
- &__select-all {
- background: $ui-base-color;
- height: 47px;
- align-items: center;
- justify-content: center;
- border: 1px solid darken($ui-base-color, 8%);
- border-top: 0;
- color: $secondary-text-color;
- display: none;
- &.active {
- display: flex;
- }
- .selected,
- .not-selected {
- display: none;
- &.active {
- display: block;
- }
- }
- strong {
- font-weight: 700;
- }
- span {
- padding: 8px;
- display: inline-block;
- }
- button {
- background: transparent;
- border: 0;
- font: inherit;
- color: $highlight-text-color;
- border-radius: 4px;
- font-weight: 700;
- padding: 8px;
- &:hover,
- &:focus,
- &:active {
- background: lighten($ui-base-color, 8%);
- }
- }
- }
- &__form {
- padding: 16px;
- border: 1px solid darken($ui-base-color, 8%);
- border-top: 0;
- background: $ui-base-color;
- .fields-row {
- padding-top: 0;
- margin-bottom: 0;
- }
- }
- &__row {
- border: 1px solid darken($ui-base-color, 8%);
- border-top: 0;
- background: darken($ui-base-color, 4%);
- @media screen and (max-width: $no-gap-breakpoint) {
- .optional &:first-child {
- border-top: 1px solid darken($ui-base-color, 8%);
- }
- }
- &:hover {
- background: darken($ui-base-color, 2%);
- }
- &:nth-child(even) {
- background: $ui-base-color;
- &:hover {
- background: lighten($ui-base-color, 2%);
- }
- }
- &__content {
- padding-top: 12px;
- padding-bottom: 16px;
- overflow: hidden;
- &--unpadded {
- padding: 0;
- }
- &--with-image {
- display: flex;
- align-items: center;
- }
- &__image {
- flex: 0 0 auto;
- display: flex;
- justify-content: center;
- align-items: center;
- margin-right: 10px;
- .emojione {
- width: 32px;
- height: 32px;
- }
- }
- &__text {
- flex: 1 1 auto;
- }
- &__quote {
- padding: 12px;
- padding-top: 0;
- }
- &__extra {
- flex: 0 0 auto;
- text-align: right;
- color: $darker-text-color;
- font-weight: 500;
- }
- }
- .directory__tag {
- margin: 0;
- width: 100%;
- a {
- background: transparent;
- border-radius: 0;
- }
- }
- }
- &.optional .batch-table__toolbar,
- &.optional .batch-table__row__select {
- @media screen and (max-width: $no-gap-breakpoint) {
- display: none;
- }
- }
- .status__content {
- padding-top: 0;
- summary {
- display: list-item;
- }
- strong {
- font-weight: 700;
- }
- }
- .nothing-here {
- border: 1px solid darken($ui-base-color, 8%);
- border-top: 0;
- box-shadow: none;
- @media screen and (max-width: $no-gap-breakpoint) {
- border-top: 1px solid darken($ui-base-color, 8%);
- }
- }
- @media screen and (max-width: 870px) {
- .accounts-table tbody td.optional {
- display: none;
- }
- }
- }
- .one-liner {
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- }
|