cleanup and fixes

This commit is contained in:
Henry Jameson 2022-04-20 23:22:51 +03:00
parent 076c52788b
commit 58a975e8df
16 changed files with 32 additions and 41 deletions

View File

@ -456,7 +456,7 @@ textarea,
box-sizing: border-box; box-sizing: border-box;
display: inline-block; display: inline-block;
position: relative; position: relative;
height: 28px; height: 2em;
line-height: 16px; line-height: 16px;
hyphens: none; hyphens: none;
padding: 8px 0.5em; padding: 8px 0.5em;

View File

@ -52,7 +52,7 @@
.go-back-button { .go-back-button {
text-align: center; text-align: center;
line-height: 100%; line-height: 1;
height: 100%; height: 100%;
align-self: start; align-self: start;
width: var(--__panel-heading-height-inner); width: var(--__panel-heading-height-inner);

View File

@ -22,10 +22,10 @@
} }
.go-back-button { .go-back-button {
cursor: pointer;
width: 28px;
text-align: center; text-align: center;
padding: 0.6em; line-height: 1;
margin: -0.6em 0.6em -0.6em -0.6em; height: 100%;
align-self: start;
width: var(--__panel-heading-height-inner);
} }
} }

View File

@ -6,15 +6,15 @@
ref="header" ref="header"
class="panel-heading" class="panel-heading"
> >
<a <button
class="go-back-button" class="button-unstyled go-back-button"
@click="goBack" @click="goBack"
> >
<FAIcon <FAIcon
size="lg" size="lg"
icon="chevron-left" icon="chevron-left"
/> />
</a> </button>
</div> </div>
<div class="input-wrap"> <div class="input-wrap">
<div class="input-search"> <div class="input-search">

View File

@ -101,7 +101,7 @@
padding: 0.6em; padding: 0.6em;
.btn { .btn {
min-height: 28px; min-height: 2em;
width: 10em; width: 10em;
} }

View File

@ -32,6 +32,6 @@
@import '../../_variables.scss'; @import '../../_variables.scss';
.media-upload { .media-upload {
cursor: pointer; cursor: pointer; // We use <label> for interactivity... i wonder if it's fine
} }
</style> </style>

View File

@ -336,7 +336,7 @@
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
padding: 0.5em; padding: 0.5em;
height: 32px; height: 2.5em;
button { button {
width: 10em; width: 10em;
@ -411,10 +411,12 @@
} }
.media-upload-icon, .poll-icon, .emoji-icon { .media-upload-icon, .poll-icon, .emoji-icon {
font-size: 26px; font-size: 1.85em;
line-height: 1.1; line-height: 1.1;
flex: 1; flex: 1;
padding: 0 0.1em; padding: 0 0.1em;
display: flex;
align-items: center;
&.selected, &:hover { &.selected, &:hover {
// needs to be specific to override icon default color // needs to be specific to override icon default color
@ -441,21 +443,17 @@
// Order is not necessary but a good indicator // Order is not necessary but a good indicator
.media-upload-icon { .media-upload-icon {
order: 1; order: 1;
text-align: left; justify-content: left;
} }
.emoji-icon { .emoji-icon {
order: 2; order: 2;
text-align: center; justify-content: center;
} }
.poll-icon { .poll-icon {
order: 3; order: 3;
text-align: right; justify-content: right;
}
.poll-icon {
cursor: pointer;
} }
.error { .error {
@ -489,10 +487,6 @@
flex-direction: column; flex-direction: column;
} }
.btn {
cursor: pointer;
}
.btn[disabled] { .btn[disabled] {
cursor: not-allowed; cursor: not-allowed;
} }
@ -551,10 +545,6 @@
} }
} }
.btn {
cursor: pointer;
}
.btn[disabled] { .btn[disabled] {
cursor: not-allowed; cursor: not-allowed;
} }

View File

@ -297,8 +297,8 @@ $validations-cRed: #f04124;
.form-group { .form-group {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
padding: 0.3em 0.0em 0.3em; padding: 0.3em 0;
line-height:24px; line-height: 2;
margin-bottom: 1em; margin-bottom: 1em;
} }
@ -344,7 +344,7 @@ $validations-cRed: #f04124;
.btn { .btn {
margin-top: 0.6em; margin-top: 0.6em;
height: 28px; height: 2em;
} }
.error { .error {

View File

@ -32,7 +32,7 @@
.remote-button { .remote-button {
width: 100%; width: 100%;
min-height: 28px; min-height: 2em;
} }
} }
</style> </style>

View File

@ -39,10 +39,10 @@ label.Select {
padding: 0 2em 0 .2em; padding: 0 2em 0 .2em;
font-family: sans-serif; font-family: sans-serif;
font-family: var(--inputFont, sans-serif); font-family: var(--inputFont, sans-serif);
font-size: 14px; font-size: 1em;
width: 100%; width: 100%;
z-index: 1; z-index: 1;
height: 28px; height: 2em;
line-height: 16px; line-height: 16px;
} }
@ -55,7 +55,7 @@ label.Select {
width: 0.875em; width: 0.875em;
color: $fallback--text; color: $fallback--text;
color: var(--inputText, $fallback--text); color: var(--inputText, $fallback--text);
line-height: 28px; line-height: 2;
z-index: 0; z-index: 0;
pointer-events: none; pointer-events: none;
} }

View File

@ -54,7 +54,7 @@
overflow-y: hidden; overflow-y: hidden;
.btn { .btn {
min-height: 28px; min-height: 2em;
min-width: 10em; min-width: 10em;
padding: 0 2em; padding: 0 2em;
} }

View File

@ -8,7 +8,7 @@
.bulk-actions { .bulk-actions {
text-align: right; text-align: right;
padding: 0 1em; padding: 0 1em;
min-height: 28px; min-height: 2em;
} }
.bulk-action-button { .bulk-action-button {

View File

@ -89,7 +89,7 @@
&-bulk-actions { &-bulk-actions {
text-align: right; text-align: right;
padding: 0 1em; padding: 0 1em;
min-height: 28px; min-height: 2em;
button { button {
width: 10em; width: 10em;

View File

@ -325,7 +325,7 @@
.btn { .btn {
flex-grow: 1; flex-grow: 1;
min-height: 28px; min-height: 2em;
min-width: 0; min-width: 0;
max-width: 10em; max-width: 10em;
padding: 0; padding: 0;

View File

@ -25,8 +25,9 @@
border-bottom-color: $fallback--border; border-bottom-color: $fallback--border;
border-bottom-color: var(--border, $fallback--border); border-bottom-color: var(--border, $fallback--border);
} }
.tab-wrapper { .tab-wrapper {
height: 28px; height: 2em;
&:not(.active)::after { &:not(.active)::after {
left: 0; left: 0;

View File

@ -176,7 +176,7 @@
flex: none; flex: none;
padding: 0.6em 0.6em; padding: 0.6em 0.6em;
text-align: left; text-align: left;
line-height: 28px; line-height: 2;
align-items: baseline; align-items: baseline;
border-width: 1px 0 0 0; border-width: 1px 0 0 0;
border-style: solid; border-style: solid;