Device manager - design tweaks (#9768)
* hover style on dropdown * hover states * device details spacing * device details h3 -> h4 * missing fullstops * update snapshots for new copy * device details expand icon bigger * hide current session security card when details expanded * filter dropdown padding and hover state * update cypress selector for device detail heading
This commit is contained in:
parent
2152f2ab8b
commit
0485b74acb
16 changed files with 76 additions and 44 deletions
|
@ -22,18 +22,18 @@ limitations under the License.
|
|||
width: 100%;
|
||||
|
||||
margin-top: $spacing-16;
|
||||
padding: $spacing-16;
|
||||
padding: $spacing-24;
|
||||
border-radius: 8px;
|
||||
border: 1px solid $quinary-content;
|
||||
}
|
||||
|
||||
.mx_DeviceDetails_section {
|
||||
padding-bottom: $spacing-16;
|
||||
margin-bottom: $spacing-16;
|
||||
padding-bottom: $spacing-20;
|
||||
margin-bottom: $spacing-20;
|
||||
border-bottom: 1px solid $quinary-content;
|
||||
|
||||
display: grid;
|
||||
grid-gap: $spacing-16;
|
||||
grid-gap: $spacing-24;
|
||||
justify-content: left;
|
||||
grid-template-columns: 100%;
|
||||
|
||||
|
@ -52,6 +52,7 @@ limitations under the License.
|
|||
font-size: $font-12px;
|
||||
color: $secondary-content;
|
||||
line-height: $font-14px;
|
||||
margin-top: $spacing-4;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -23,17 +23,25 @@ limitations under the License.
|
|||
color: $secondary-content;
|
||||
|
||||
--icon-transform: rotate(-90deg);
|
||||
|
||||
&:hover {
|
||||
background: $quinary-content;
|
||||
}
|
||||
}
|
||||
|
||||
.mx_DeviceExpandDetailsButton.mx_DeviceExpandDetailsButton_expanded {
|
||||
--icon-transform: rotate(0deg);
|
||||
|
||||
background: $system;
|
||||
|
||||
&:hover {
|
||||
background: $quinary-content;
|
||||
}
|
||||
}
|
||||
|
||||
.mx_DeviceExpandDetailsButton_icon {
|
||||
height: 12px;
|
||||
width: 12px;
|
||||
height: 16px;
|
||||
width: 16px;
|
||||
|
||||
transition: all 0.3s;
|
||||
transform: var(--icon-transform);
|
||||
|
|
|
@ -55,7 +55,7 @@ limitations under the License.
|
|||
box-sizing: border-box;
|
||||
padding: $spacing-4;
|
||||
|
||||
border: 1px solid $system;
|
||||
border: 1px solid $quinary-content;
|
||||
border-radius: 50%;
|
||||
background-color: $background;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue