1
0
mirror of https://github.com/mattermost/focalboard.git synced 2025-07-15 23:54:29 +02:00

Minor menu and dialog UI fixes (#3742)

* Varios UI fixes

* Fixing lint error

* Updating dialog

* Updating colors for icons
This commit is contained in:
Asaad Mahmood
2022-08-30 19:47:12 +05:00
committed by GitHub
parent 2035337049
commit 7bf8f9ba41
17 changed files with 34 additions and 22 deletions

View File

@ -100,6 +100,13 @@
} }
} }
>.toolbar {
display: flex;
flex-direction: row;
padding: 24px;
justify-content: space-between;
}
.toolbar--right { .toolbar--right {
display: flex; display: flex;
gap: 8px; gap: 8px;

View File

@ -15,7 +15,7 @@
align-items: center; align-items: center;
justify-content: center; justify-content: center;
border-radius: 4px; border-radius: 4px;
color: rgba(var(--sidebar-text-rgb), 0.64); color: rgba(var(--sidebar-text-rgb), 0.56);
margin-left: 8px; margin-left: 8px;
i { i {

View File

@ -20,6 +20,9 @@
display: flex; display: flex;
flex-direction: column; flex-direction: column;
height: 100%; height: 100%;
border-color: rgba(var(--center-channel-color-rgb), 0.16);
background: var(--center-channel-bg);
color: var(--center-channel-color);
.head { .head {
margin-top: 6px; margin-top: 6px;
@ -115,7 +118,7 @@
position: absolute; position: absolute;
left: 13px; left: 13px;
font-size: 18px; font-size: 18px;
top: 12px; top: 14px;
width: 20px; width: 20px;
height: 20px; height: 20px;
opacity: 0.48; opacity: 0.48;

View File

@ -28,7 +28,7 @@
.HelpIcon { .HelpIcon {
font-size: 20px; font-size: 20px;
color: rgba(var(--center-channel-color-rgb), 0.7); color: currentColor;
} }
.versionFrame { .versionFrame {
@ -41,7 +41,7 @@
font-size: 11px; font-size: 11px;
line-height: 14px; line-height: 14px;
font-weight: 500; font-weight: 500;
color: rgba(var(--center-channel-color-rgb), 0.7); color: currentColor;
} }
.versionBadge { .versionBadge {
@ -49,6 +49,6 @@
line-height: 14px; line-height: 14px;
font-weight: 500; font-weight: 500;
margin-left: 3px; margin-left: 3px;
color: rgba(var(--center-channel-color-rgb), 0.7); color: currentColor;
} }
} }

View File

@ -72,7 +72,7 @@
.board-search-icon { .board-search-icon {
position: absolute; position: absolute;
top: 4px; top: 9px;
left: 10px; left: 10px;
color: rgba(var(--center-channel-color-rgb), 0.64); color: rgba(var(--center-channel-color-rgb), 0.64);
} }

View File

@ -1,5 +1,5 @@
.CheckIcon { .CheckIcon {
stroke: rgba(var(--center-channel-color-rgb), 0.5); stroke: currentColor;
stroke-width: 8px; stroke-width: 8px;
fill: none; fill: none;
width: 1em; width: 1em;

View File

@ -1,5 +1,5 @@
.DisclosureTriangleIcon { .DisclosureTriangleIcon {
fill: rgba(var(--center-channel-color-rgb), 0.7); fill: currentColor;
stroke: none; stroke: none;
width: 24px; width: 24px;
height: 24px; height: 24px;

View File

@ -1,5 +1,5 @@
.DividerIcon { .DividerIcon {
fill: rgba(var(--center-channel-color-rgb), 0.7); fill: currentColor;
stroke: none; stroke: none;
width: 24px; width: 24px;
height: 24px; height: 24px;

View File

@ -1,5 +1,5 @@
.DuplicateIcon { .DuplicateIcon {
fill: rgba(var(--center-channel-color-rgb), 0.7); fill: currentColor;
stroke: none; stroke: none;
width: 24px; width: 24px;
height: 24px; height: 24px;

View File

@ -1,5 +1,5 @@
.EmojiIcon { .EmojiIcon {
fill: rgba(var(--center-channel-color-rgb), 0.7); fill: currentColor;
stroke: none; stroke: none;
width: 24px; width: 24px;
height: 24px; height: 24px;

View File

@ -1,5 +1,5 @@
.GalleryIcon { .GalleryIcon {
fill: rgba(var(--center-channel-color-rgb), 0.7); fill: currentColor;
stroke: none; stroke: none;
width: 24px; width: 24px;
height: 24px; height: 24px;

View File

@ -1,5 +1,5 @@
.HideIcon { .HideIcon {
fill: rgba(var(--center-channel-color-rgb), 0.7); fill: currentColor;
stroke: none; stroke: none;
width: 24px; width: 24px;
height: 24px; height: 24px;

View File

@ -1,5 +1,5 @@
.ImageIcon { .ImageIcon {
fill: rgba(var(--center-channel-color-rgb), 0.7); fill: currentColor;
stroke: none; stroke: none;
width: 24px; width: 24px;
height: 24px; height: 24px;

View File

@ -1,5 +1,5 @@
.ShowIcon { .ShowIcon {
fill: rgba(var(--center-channel-color-rgb), 0.7); fill: currentColor;
stroke: none; stroke: none;
width: 24px; width: 24px;
height: 24px; height: 24px;

View File

@ -1,5 +1,5 @@
.SortUpIcon { .SortUpIcon {
stroke: rgba(var(--center-channel-color-rgb), 0.5); stroke: currentColor;
stroke-width: 8px; stroke-width: 8px;
fill: none; fill: none;
width: 24px; width: 24px;

View File

@ -1,5 +1,5 @@
.SubmenuTriangleIcon { .SubmenuTriangleIcon {
fill: rgba(var(--center-channel-color-rgb), 0.7); fill: currentColor;
stroke: none; stroke: none;
width: 24px; width: 24px;
height: 24px; height: 24px;

View File

@ -51,12 +51,17 @@
font-size: 18px; font-size: 18px;
opacity: 0.56; opacity: 0.56;
width: 18px; width: 18px;
margin-right: 12px;
&::before { &::before {
margin: 0; margin: 0;
} }
} }
.menu-option__content {
flex: 1;
}
.menu-option { .menu-option {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
@ -89,10 +94,6 @@
background: rgba(var(--button-bg-rgb), 0.08); background: rgba(var(--button-bg-rgb), 0.08);
} }
> * {
margin-left: 16px;
}
.noicon { .noicon {
&:empty { &:empty {
display: none; display: none;
@ -121,7 +122,7 @@
} }
> .SubmenuTriangleIcon { > .SubmenuTriangleIcon {
fill: rgba(var(--center-channel-color-rgb), 0.7); fill: currentColor;
} }
.Icon { .Icon {
@ -209,6 +210,7 @@
> .noicon { > .noicon {
width: 16px; width: 16px;
height: 16px; height: 16px;
margin-right: 12px;
} }
> .menu-name { > .menu-name {