Members screen UI refinements

This commit is contained in:
Peter Zimon 2021-02-04 16:52:19 +01:00
parent ce46a41552
commit aa52362e5f
6 changed files with 49 additions and 32 deletions

View File

@ -1,13 +1,15 @@
<span class="dropdown dropdown-topmenu">
<span class="{{if @selectedLabel.slug "gh-contentfilter-selected"}}">
<GhDropdownButton
@dropdownName="members-label-menu"
@classNames="gh-contentfilter-menu-trigger" @title="Member Labels"
@data-test-user-actions="true">
<span class="{{if @selectedLabel.slug "blue fw6"}} gh-btn-filter-maxwidth" title="{{@selectedLabel.name}}">
<span>{{@selectedLabel.name}}</span>
{{svg-jar "arrow-down-small"}}
</span>
<span class="gh-btn-filter-maxwidth" title="{{@selectedLabel.name}}">
<span>{{@selectedLabel.name}}</span>
{{svg-jar "arrow-down-small"}}
</span>
</GhDropdownButton>
</span>
<GhDropdown
@name="members-label-menu"
@tagName="div"

View File

@ -47,7 +47,7 @@
.gh-contentfilter-menu-trigger:focus,
.gh-contentfilter-menu-trigger--active {
background: var(--white);
font-size: 1.3rem;
font-size: 1.35rem;
font-weight: 400;
color: var(--darkgrey);
letter-spacing: 0.2px;
@ -98,7 +98,7 @@
margin-top: 6px;
padding: 6px 0;
border: none !important;
font-size: 1.3rem;
font-size: 1.35rem;
box-shadow: 0 0 0 1px rgba(0,0,0,.04), 0 7px 20px -5px rgba(0,0,0,.15);
border-radius: 5px !important;
}

View File

@ -264,7 +264,7 @@
.gh-nav-search-icon path {
stroke: none !important;
fill: var(--lightgrey);
fill: var(--midgrey);
}
.gh-search-tips {
@ -1059,7 +1059,27 @@
.view-actions input[type="text"] {
padding: 8px 8px 9px;
height: 35px;
font-size: 1.3rem;
font-size: 1.35rem;
}
.view-actions .gh-btn {
border: none;
box-shadow: none;
}
.view-actions .gh-btn:hover {
background: var(--whitegrey);
}
.view-actions .gh-btn-icon-only {
border: none;
}
.view-actions .gh-btn-icon-only svg {
height: 18px;
width: 18px;
fill: var(--black);
margin-right: 0;
}
.view-actions .gh-input-search-icon {
@ -1076,9 +1096,9 @@
}
.gh-actions-cog svg {
height: 13px;
width: 13px;
fill: var(--midgrey);
height: 18px;
width: 18px;
fill: var(--black);
margin-right: 0;
}

View File

@ -51,7 +51,6 @@
.members-list {
table-layout: fixed;
margin-top: var(--main-area-padding);
}
.members-list .gh-list-row.header {
@ -92,21 +91,16 @@
.members-header .view-actions input.gh-members-list-searchfield {
min-width: 220px;
padding-left: 30px;
border-bottom-left-radius: 0;
border-top-left-radius: 0;
padding-left: 32px;
border: none;
background: var(--whitegrey-l1);
}
.members-header .view-actions .gh-input-search-icon {
width: 14px;
height: 14px;
top: 10px;
left: 10px;
}
.dropdown-topmenu .gh-contentfilter-menu-trigger {
border-top-left-radius: 4px !important;
border-bottom-left-radius: 4px !important;
width: 16px;
height: 16px;
top: 9px;
left: 9px;
}
.gh-members-list-searchfield.active {
@ -161,9 +155,11 @@ p.gh-members-list-email {
}
.members-header .gh-members-header-search {
margin-right: 12px;
border-right: 1px solid var(--lightgrey-d2);
padding-right: 12px;
margin-right: 32px;
}
.gh-members-chart {
padding-bottom: var(--main-area-padding);
}
.gh-members-chart-box {

View File

@ -25,8 +25,8 @@
display: block;
overflow: hidden;
padding: 0 11px;
height: 35px;
font-size: 1.3rem;
height: 33px;
font-size: 1.35rem;
line-height: 33px;
font-weight: 500;
text-align: center;
@ -115,7 +115,7 @@ fieldset[disabled] .gh-btn {
/* ---------------------------------------------------------- */
.gh-btn-primary,
.gh-btn-primary:hover {
background: var(--black);
background: var(--black) !important;
border: none;
color: var(--white);
font-weight: 600;
@ -490,7 +490,6 @@ Usage: CTA buttons grouped together horizontally.
margin: 0;
background: none;
box-shadow: none;
min-width: 120px;
margin: 2px;
border-radius: 2px;
}

View File

@ -26,7 +26,7 @@
<span class="dropdown">
<GhDropdownButton @dropdownName="members-actions-menu"
@classNames="gh-btn gh-btn-white gh-btn-icon only-has-icon gh-actions-cog" @title="Members Actions"
@classNames="gh-btn gh-btn-icon only-has-icon gh-actions-cog" @title="Members Actions"
@data-test-user-actions="true">
<span>
{{svg-jar "settings"}}