add more padding to room avatars, change border colors

master
f0x 5 years ago
parent bc0f8e6c54
commit 8d16aff2ee

@ -184,7 +184,7 @@ body {
.filter { .filter {
border: none; border: none;
border-bottom: $borderwidth solid $bg; border-bottom: $borderwidth solid transparent;
width: 100%; width: 100%;
box-sizing: border-box; box-sizing: border-box;
padding: $spacing; padding: $spacing;
@ -202,17 +202,17 @@ body {
} }
.roomListItem { .roomListItem {
height: 2rem + 2* $spacing; height: 2rem + 3 * $spacing;
display: grid; display: grid;
grid-template-columns: 2rem + 2*$spacing - 0.2rem auto; grid-template-columns: 2rem + 2.5*$spacing - 0.2rem auto;
align-items: center; align-items: center;
width: 100%; width: 100%;
box-sizing: border-box; box-sizing: border-box;
//border-bottom: 1px solid lighten($bg1, 3); //border-bottom: 1px solid lighten($bg1, 3);
padding: 1/4 * $spacing;
transition: 0.2s; transition: 0.2s;
&.active { &.active {
#avatar, #name { #avatar, #name {
transition: 0.2s; transition: 0.2s;
} }
@ -252,7 +252,7 @@ body {
color: $accent; color: $accent;
font-size: 1rem; font-size: 1rem;
font-weight: bold; font-weight: bold;
border-bottom: $borderwidth solid $bg; border-bottom: $borderwidth solid transparent;
box-sizing: border-box; box-sizing: border-box;
} }
@ -304,8 +304,6 @@ body {
} }
.body { .body {
/* debug */
//border: 1px solid $red;
padding: $spacing/4; padding: $spacing/4;
padding-left: $spacing/2; padding-left: $spacing/2;
@ -328,7 +326,7 @@ body {
.input { .input {
display: flex; display: flex;
border-top: $borderwidth solid $bg; border-top: $borderwidth solid transparent;
textarea { textarea {
background: transparent; background: transparent;
@ -346,6 +344,10 @@ body {
} }
} }
.sidebar .filter, .info, .input {
border-color: $bg1;
}
.noselect { .noselect {
-moz-user-select: -moz-none; -moz-user-select: -moz-none;
-khtml-user-select: none; -khtml-user-select: none;

Loading…
Cancel
Save