mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-02 06:07:06 +01:00
35ac762e10
This PR adds `snaps` under Flask build flags to the extension. This branch is mostly equivalent to the current production version of Flask, excepting some bug fixes and tweaks. Closes #11626
115 lines
2.0 KiB
SCSS
115 lines
2.0 KiB
SCSS
.view-snap {
|
|
padding: 12px 18px;
|
|
|
|
@media screen and (min-width: $break-large) {
|
|
padding: 12px;
|
|
}
|
|
|
|
&__subheader {
|
|
@include H4;
|
|
|
|
padding: 16px 4px;
|
|
border-bottom: 1px solid var(--alto);
|
|
margin-right: 24px;
|
|
height: 72px;
|
|
align-items: center;
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
|
|
@media screen and (max-width: $break-small) {
|
|
margin-right: 0;
|
|
padding: 0 0 16px;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 8px;
|
|
height: max-content;
|
|
}
|
|
}
|
|
|
|
&__title {
|
|
@media screen and (max-width: $break-small) {
|
|
padding-bottom: 16px;
|
|
}
|
|
}
|
|
|
|
&__pill-toggle-container {
|
|
align-items: center;
|
|
display: flex;
|
|
flex-grow: 1;
|
|
|
|
@media screen and (max-width: $break-small) {
|
|
width: 100%;
|
|
justify-content: space-between;
|
|
}
|
|
}
|
|
|
|
&__pill-container {
|
|
@media screen and (max-width: $break-small) {
|
|
padding-left: 0;
|
|
display: inline-block;
|
|
}
|
|
}
|
|
|
|
&__toggle-container {
|
|
@media screen and (max-width: $break-small) {
|
|
padding-left: 0;
|
|
display: inline-block;
|
|
}
|
|
}
|
|
|
|
&__content-container {
|
|
@media screen and (max-width: $break-small) {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
&__section {
|
|
flex: 1;
|
|
min-width: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
border-bottom: 1px solid var(--Grey-100);
|
|
padding-bottom: 16px;
|
|
margin-bottom: 16px;
|
|
|
|
@media screen and (max-width: $break-small) {
|
|
height: initial;
|
|
padding: 5px 0 16px;
|
|
}
|
|
|
|
.connected-sites-list__content-row {
|
|
border-top: none;
|
|
border-bottom: 1px solid var(--ui-2);
|
|
|
|
&:last-child {
|
|
border-bottom: none;
|
|
}
|
|
}
|
|
|
|
&:last-child {
|
|
margin-bottom: 0;
|
|
border-bottom: none;
|
|
}
|
|
}
|
|
|
|
&__permission-list {
|
|
padding-bottom: 0;
|
|
|
|
.permission {
|
|
padding-top: 16px;
|
|
|
|
&:last-child {
|
|
border-bottom: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
&__remove-button {
|
|
max-width: 175px;
|
|
|
|
@media screen and (max-width: $break-small) {
|
|
align-self: center;
|
|
}
|
|
}
|
|
}
|