[MM-38325] Polished up some of the UI elements (#1727)
* [MM-38325] Polished up some of the UI elements * PR feedback * PR feedback * PR feedback
This commit is contained in:
@@ -15,6 +15,7 @@
|
|||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
-webkit-font-smoothing: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.TabBar>li {
|
.TabBar>li {
|
||||||
@@ -44,12 +45,12 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.TabBar>li>a:hover {
|
.TabBar>li>a:hover {
|
||||||
background-color: rgba(255,255,255,0.32);
|
background-color: rgba(255,255,255,0.56);
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.TabBar.darkMode>li>a:hover {
|
.TabBar.darkMode>li>a:hover {
|
||||||
background-color: rgba(31, 31, 31, 0.32);
|
background-color: rgba(31, 31, 31, 0.56);
|
||||||
}
|
}
|
||||||
|
|
||||||
.TabBar>li>a:focus {
|
.TabBar>li>a:focus {
|
||||||
@@ -90,6 +91,7 @@
|
|||||||
.TabBar>li>a>div.TabBar-tabSeperator {
|
.TabBar>li>a>div.TabBar-tabSeperator {
|
||||||
display: flex;
|
display: flex;
|
||||||
padding: 5px 12px;
|
padding: 5px 12px;
|
||||||
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.TabBar>li.teamTabItem.active>a, .TabBar>li.teamTabItem.dragging>a {
|
.TabBar>li.teamTabItem.active>a, .TabBar>li.teamTabItem.dragging>a {
|
||||||
@@ -130,16 +132,19 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.TabBar .TabBar-dot {
|
.TabBar .TabBar-dot {
|
||||||
background: #196CAF;
|
background: #579eff;
|
||||||
float: right;
|
float: right;
|
||||||
height: 8px;
|
height: 8px;
|
||||||
width: 8px;
|
width: 8px;
|
||||||
margin-top: 4px;
|
|
||||||
margin-left: 8px;
|
margin-left: 8px;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
flex: 0 0 8px;
|
flex: 0 0 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.TabBar.darkMode .TabBar-dot {
|
||||||
|
background: #196CAF;
|
||||||
|
}
|
||||||
|
|
||||||
.TabBar .TabBar-expired {
|
.TabBar .TabBar-expired {
|
||||||
float: right;
|
float: right;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
@@ -164,14 +169,14 @@
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
flex: 0 0 auto;
|
flex: 0 0 auto;
|
||||||
color: white;
|
color: white;
|
||||||
font-size: 10px;
|
font-size: 9px;
|
||||||
padding: 0px 5px;
|
padding: 0px 5px;
|
||||||
font-family: "Open Sans", sans-serif;
|
font-family: "Open Sans", sans-serif;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
letter-spacing: normal;
|
letter-spacing: normal;
|
||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: auto;
|
||||||
|
|
||||||
margin-left: 6px;
|
margin-left: 6px;
|
||||||
margin-top: 2px;
|
|
||||||
height: 12px;
|
height: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -7,6 +7,7 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
font-family: Open Sans;
|
font-family: Open Sans;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
-webkit-font-smoothing: auto;
|
||||||
|
|
||||||
&.disabled {
|
&.disabled {
|
||||||
opacity: 0.5;
|
opacity: 0.5;
|
||||||
@@ -55,25 +56,23 @@
|
|||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
flex: 0 0 auto;
|
flex: 0 0 auto;
|
||||||
|
color: white;
|
||||||
|
font-size: 9px;
|
||||||
|
padding: 0px 5px;
|
||||||
|
font-family: "Open Sans", sans-serif;
|
||||||
|
font-weight: bold;
|
||||||
|
letter-spacing: normal;
|
||||||
|
-webkit-font-smoothing: auto;
|
||||||
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: -4px;
|
top: -4px;
|
||||||
right: -2px;
|
right: -2px;
|
||||||
border: 2px solid #efefef;
|
border: 2px solid #efefef;
|
||||||
height: 16px;
|
height: 12px;
|
||||||
|
line-height: 12px;
|
||||||
> span {
|
box-sizing: unset;
|
||||||
color: white;
|
|
||||||
font-size: 10px;
|
|
||||||
padding: 0px 5px;
|
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
font-family: "Open Sans", sans-serif;
|
|
||||||
font-weight: bold;
|
|
||||||
letter-spacing: normal;
|
|
||||||
-webkit-font-smoothing: antialiased;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.TeamDropdownButton__badge-unreads {
|
.TeamDropdownButton__badge-unreads {
|
||||||
@@ -82,8 +81,8 @@
|
|||||||
width: 12px;
|
width: 12px;
|
||||||
height: 12px;
|
height: 12px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: -4px;
|
top: -5px;
|
||||||
right: -2px;
|
right: -1px;
|
||||||
border: 2px solid #efefef;
|
border: 2px solid #efefef;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -121,4 +120,8 @@
|
|||||||
.TeamDropdownButton__badge-unreads {
|
.TeamDropdownButton__badge-unreads {
|
||||||
border-color: #2e2e2e;
|
border-color: #2e2e2e;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.TeamDropdownButton__badge-unreads {
|
||||||
|
background: #196CAF;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@@ -21,7 +21,6 @@ body {
|
|||||||
border: 1px solid rgba(61, 60, 64, 0.16);
|
border: 1px solid rgba(61, 60, 64, 0.16);
|
||||||
box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.12);
|
box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.12);
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
min-width: 354px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.TeamDropdown__droppable {
|
.TeamDropdown__droppable {
|
||||||
@@ -64,6 +63,7 @@ body {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
font-family: Open Sans;
|
font-family: Open Sans;
|
||||||
|
cursor: pointer;
|
||||||
|
|
||||||
&:not(.anyDragging):hover {
|
&:not(.anyDragging):hover {
|
||||||
background-color: rgba(61, 60, 64, 0.08);
|
background-color: rgba(61, 60, 64, 0.08);
|
||||||
@@ -103,6 +103,10 @@ body {
|
|||||||
color: rgba(61, 60, 64, 0.56);
|
color: rgba(61, 60, 64, 0.56);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
i.icon-server-variant, i.icon-check {
|
||||||
|
margin-top: -1px;
|
||||||
|
}
|
||||||
|
|
||||||
&.active i.icon-check {
|
&.active i.icon-check {
|
||||||
color: #166de0;
|
color: #166de0;
|
||||||
}
|
}
|
||||||
@@ -118,8 +122,12 @@ body {
|
|||||||
&.addServer {
|
&.addServer {
|
||||||
padding-left: 24px;
|
padding-left: 24px;
|
||||||
|
|
||||||
> i.icon-plus::before {
|
> i.icon-plus {
|
||||||
margin: 0;
|
margin-top: -2px;
|
||||||
|
|
||||||
|
&::before {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -128,6 +136,7 @@ body {
|
|||||||
cursor: pointer !important;
|
cursor: pointer !important;
|
||||||
display: flex;
|
display: flex;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
margin-right: 36px;
|
||||||
|
|
||||||
&.dragging {
|
&.dragging {
|
||||||
cursor: grabbing !important;
|
cursor: grabbing !important;
|
||||||
@@ -135,6 +144,7 @@ body {
|
|||||||
|
|
||||||
> i.icon-drag-vertical {
|
> i.icon-drag-vertical {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
|
margin-top: -2px;
|
||||||
|
|
||||||
&::before {
|
&::before {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
@@ -191,11 +201,12 @@ body {
|
|||||||
display: flex;
|
display: flex;
|
||||||
|
|
||||||
> button {
|
> button {
|
||||||
margin-left: 18px;
|
margin-left: 14px;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
cursor: pointer;
|
||||||
|
|
||||||
&:hover, &:focus {
|
&:hover, &:focus {
|
||||||
background: rgba(61, 60, 64, 0.08);
|
background: rgba(61, 60, 64, 0.08);
|
||||||
@@ -228,7 +239,7 @@ body {
|
|||||||
margin-right: 7px;
|
margin-right: 7px;
|
||||||
|
|
||||||
+ .TeamDropdown__badge {
|
+ .TeamDropdown__badge {
|
||||||
margin-left: 7px;
|
margin-left: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
i {
|
i {
|
||||||
|
Reference in New Issue
Block a user