Files
leadchat/app/javascript/dashboard/assets/scss/widgets/_woot-tables.scss
Sivin Varghese 7d4e6d0257 chore: Refactor tables in all screen for RTL (#6525)
* chore: Refactor tables in all screen for RTL

* Notification page footer

* Apply suggestions from code review

* chore: Minor ixes

* chore: Adds rtl comment

* chore: Code clean up for contact table

---------

Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com>
2023-02-27 11:36:28 +05:30

61 lines
901 B
SCSS

table {
border-spacing: 0;
font-size: var(--font-size-small);
thead {
th {
font-weight: var(--font-weight-bold);
text-align: left;
text-transform: uppercase;
}
}
tbody {
tr {
border-bottom: 1px solid var(--color-border-light);
}
td {
padding: var(--space-small);
}
}
}
.woot-table {
tr {
.show-if-hover {
opacity: 0;
transition: opacity 0.2s $swift-ease-out-function;
}
&:hover {
.show-if-hover {
opacity: 1;
}
}
}
.agent-name {
display: block;
font-weight: var(--font-weight-medium);
text-transform: capitalize;
}
.woot-thumbnail {
border-radius: 50%;
height: 5rem;
width: 5rem;
}
.button-wrapper {
@include flex-align(left, null);
@include flex;
flex-direction: row;
min-width: 20rem;
}
.button {
margin: 0;
}
}