fix lint
parent
ab0ff9c3ad
commit
213db6c1ed
@ -1,135 +1,132 @@
|
|||||||
.group-settings {
|
.group-settings {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
height: 100vh;
|
||||||
|
width: 277px;
|
||||||
|
flex-shrink: 0;
|
||||||
|
border: 1px solid #2f2f2f;
|
||||||
|
background-color: $session-shade-4;
|
||||||
|
align-items: center;
|
||||||
|
|
||||||
|
&-header {
|
||||||
|
margin-top: $session-margin-lg;
|
||||||
|
width: -webkit-fill-available;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: row;
|
||||||
height: 100vh;
|
|
||||||
width: 277px;
|
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
border: 1px solid #2f2f2f;
|
|
||||||
background-color: $session-shade-4;
|
|
||||||
align-items: center;
|
|
||||||
|
|
||||||
&-header {
|
|
||||||
margin-top: $session-margin-lg;
|
|
||||||
width: -webkit-fill-available;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: row;
|
|
||||||
flex-shrink: 0;
|
|
||||||
|
|
||||||
.module-avatar {
|
|
||||||
margin: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
.session-icon-button {
|
.module-avatar {
|
||||||
margin: 0 $session-margin-md;
|
margin: auto;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
h2 {
|
.session-icon-button {
|
||||||
word-break: break-word;
|
margin: 0 $session-margin-md;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
.description {
|
|
||||||
margin: $session-margin-md 0;
|
h2 {
|
||||||
border: 1px solid $session-shade-6;
|
word-break: break-word;
|
||||||
background-color: $session-shade-1;
|
}
|
||||||
min-height: 4rem;
|
|
||||||
width: inherit;
|
.description {
|
||||||
color: $session-color-white;
|
margin: $session-margin-md 0;
|
||||||
text-align: center;
|
border: 1px solid $session-shade-6;
|
||||||
|
background-color: $session-shade-1;
|
||||||
|
min-height: 4rem;
|
||||||
|
width: inherit;
|
||||||
|
color: $session-color-white;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
&-item {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
background-color: $session-shade-1;
|
||||||
|
min-height: 3rem;
|
||||||
|
font-size: 0.8rem;
|
||||||
|
color: $session-color-white;
|
||||||
|
width: -webkit-fill-available;
|
||||||
|
padding: 0 $session-margin-md;
|
||||||
|
border-bottom: 1px solid $session-shade-6;
|
||||||
|
border-top: 1px solid $session-shade-6;
|
||||||
|
transition: $session-transition-duration;
|
||||||
|
cursor: pointer;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
@include session-dark-background-hover;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
&-item {
|
// no double border (top and bottom) between two elements
|
||||||
display: flex;
|
&-item + &-item {
|
||||||
align-items: center;
|
border-top: none;
|
||||||
background-color: $session-shade-1;
|
}
|
||||||
min-height: 3rem;
|
|
||||||
font-size: 0.8rem;
|
// bottom button
|
||||||
color: $session-color-white;
|
.session-button.square-outline.danger {
|
||||||
width: -webkit-fill-available;
|
margin-top: auto;
|
||||||
padding: 0 $session-margin-md;
|
width: 100%;
|
||||||
border-bottom: 1px solid $session-shade-6;
|
border: none;
|
||||||
border-top: 1px solid $session-shade-6;
|
height: 3.5rem;
|
||||||
transition: $session-transition-duration;
|
background-color: black;
|
||||||
cursor: pointer;
|
flex-shrink: 0;
|
||||||
|
}
|
||||||
&:hover {
|
|
||||||
@include session-dark-background-hover;
|
.module-empty-state {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.module-attachment-section__items {
|
||||||
|
justify-content: space-evenly;
|
||||||
|
}
|
||||||
|
|
||||||
|
.module-media {
|
||||||
|
&-gallery {
|
||||||
|
&__tab-container {
|
||||||
|
padding-top: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
&__tab {
|
||||||
|
color: white;
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 0.9rem;
|
||||||
|
padding: 0.6rem;
|
||||||
|
opacity: 0.8;
|
||||||
|
|
||||||
|
&--active {
|
||||||
|
border-bottom: none;
|
||||||
|
opacity: 1;
|
||||||
|
|
||||||
|
&:after {
|
||||||
|
content: ''; /* This is necessary for the pseudo element to work. */
|
||||||
|
display: block;
|
||||||
|
margin: 0 auto;
|
||||||
|
width: 70%;
|
||||||
|
padding-top: 8px;
|
||||||
|
border-bottom: 4px solid $session-color-green;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
&__content {
|
||||||
|
padding: $session-margin-xs;
|
||||||
|
|
||||||
// no double border (top and bottom) between two elements
|
.module-media-grid-item__image,
|
||||||
&-item + &-item {
|
.module-media-grid-item {
|
||||||
border-top: none;
|
height: 80px;
|
||||||
}
|
width: 80px;
|
||||||
|
margin-right: 0;
|
||||||
// bottom button
|
|
||||||
.session-button.square-outline.danger {
|
|
||||||
margin-top: auto;
|
|
||||||
width: 100%;
|
|
||||||
border: none;
|
|
||||||
height: 3.5rem;
|
|
||||||
background-color: black;
|
|
||||||
flex-shrink: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.module-empty-state {
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.module-attachment-section__items {
|
|
||||||
justify-content: space-evenly;
|
|
||||||
}
|
|
||||||
|
|
||||||
.module-media {
|
|
||||||
&-gallery {
|
|
||||||
&__tab-container {
|
|
||||||
padding-top: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
&__tab {
|
|
||||||
color: white;
|
|
||||||
font-weight: bold;
|
|
||||||
font-size: 0.9rem;
|
|
||||||
padding: 0.6rem;
|
|
||||||
opacity: 0.8;
|
|
||||||
|
|
||||||
&--active {
|
|
||||||
border-bottom: none;
|
|
||||||
opacity: 1;
|
|
||||||
|
|
||||||
&:after {
|
|
||||||
content: ""; /* This is necessary for the pseudo element to work. */
|
|
||||||
display: block;
|
|
||||||
margin: 0 auto;
|
|
||||||
width: 70%;
|
|
||||||
padding-top: 8px;
|
|
||||||
border-bottom: 4px solid $session-color-green;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
&__content {
|
|
||||||
padding: $session-margin-xs;
|
|
||||||
|
|
||||||
.module-media-grid-item__image,
|
|
||||||
.module-media-grid-item {
|
|
||||||
height: 80px;
|
|
||||||
width: 80px;
|
|
||||||
margin-right: 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.conversation-content {
|
.conversation-content {
|
||||||
display: flex;
|
display: flex;
|
||||||
height: inherit;
|
height: inherit;
|
||||||
|
|
||||||
&-left {
|
&-left {
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue