hubl/src/styles/base/table.scss

144 lines
2.6 KiB
SCSS
Raw Normal View History

2020-01-08 16:29:23 +00:00
#circle-information,
#circle-edit,
#admin-circle-list,
#admin-circle-create,
#project-edit,
2020-01-08 16:29:23 +00:00
#admin-project-list,
2020-04-08 10:57:05 +00:00
#admin-project-create,
#admin-users-list {
2020-01-08 16:29:23 +00:00
.table {
.table-header {
display: flex;
flex: 1;
font-size: 1.6rem;
font-weight: 600;
justify-content: space-around;
text-align: center;
&.grey-color {
background: $color-228-25-79;
color: white;
}
>* {
border-right: 1px solid white;
flex: 1;
padding: 2.1rem 0;
text-align: center;
}
>*:last-of-type {
border-right: 1px solid $color-228-25-79;
}
}
.table-body {
>div:first-of-type>sib-display>div,
team-template-edit[name='members'] {
display: flex;
border-left: 1px solid $color-228-25-79;
}
.border {
border-bottom: 1px solid $color-228-25-79;
border-right: 1px solid $color-228-25-79;
}
.cell {
text-align: center;
word-wrap: break-word;
}
.w25 {
width: 25%;
}
.w33 {
width: 33.3333%;
}
.w50 {
width: 50%;
}
.hashtag::before {
content: '#';
}
}
2020-04-08 10:57:05 +00:00
.cell-with-buttons {
align-items: center;
display: flex;
justify-content: center;
[name='button'] {
input[type='submit'] {
@extend .button,
.text-bold,
.text-uppercase,
.reversed,
.button-blue,
.bordered,
.btn-margin-left;
}
}
}
2020-01-08 16:29:23 +00:00
.cell-with-name {
color: $color-233-18-29;
font-weight: 600;
padding-top: 2.5rem;
}
2020-04-13 17:02:51 +00:00
sib-multiple {
display: flex;
align-items: center;
justify-content: center;
}
2020-04-08 10:57:05 +00:00
.user-thumb>div /* for the table in circle-edit and captain's cell in project-admin */,
[name='user-thumb'] {
2020-04-02 16:09:23 +00:00
@extend %user-thumb__grid;
2020-01-08 16:29:23 +00:00
padding: 0 2.2rem;
2020-04-02 16:09:23 +00:00
>.user-thumb__picture {
@extend %user-thumb__picture;
2020-01-08 16:29:23 +00:00
}
>[name='sup'] {
2020-04-02 16:09:23 +00:00
@extend %user-thumb__grid-sup;
2020-01-08 16:29:23 +00:00
2020-04-02 16:09:23 +00:00
.user-thumb__name {
@extend %user-thumb__name;
}
2020-01-08 16:29:23 +00:00
2020-04-02 16:09:23 +00:00
.user-thumb__groups {
@extend %user-thumb__groups;
2020-01-08 16:29:23 +00:00
}
}
>[name='sub'] {
2020-04-02 16:09:23 +00:00
@extend %user-thumb__grid-inf;
2020-01-08 16:29:23 +00:00
2020-04-02 16:09:23 +00:00
>.user-thumb__username:not(:empty) {
@extend %user-thumb__username;
}
2020-01-08 16:29:23 +00:00
2020-04-02 16:09:23 +00:00
>.user-thumb__city:not(:empty) {
@extend %user-thumb__city;
2020-01-08 16:29:23 +00:00
}
}
}
sib-ac-checker {
align-items: center;
display: flex;
justify-content: center;
}
}
}