Skip to content

Commit ab05644

Browse files
committed
gnome-shell: Update network dialog
Sync with upstream styling in GNOME Shell 42.
1 parent 09745d9 commit ab05644

File tree

1 file changed

+43
-41
lines changed

1 file changed

+43
-41
lines changed

common/gnome-shell/42/sass/_common.scss

Lines changed: 43 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1581,59 +1581,61 @@ $window_close_button_padding: 0;
15811581
max-height: 34em;
15821582
min-height: 31em;
15831583
min-width: 32em;
1584+
}
15841585

1585-
&-content {
1586-
spacing: 20px;
1587-
padding: 10px;
1588-
1589-
@extend %modal_dialog_content_box;
1590-
}
1591-
1592-
&-header-hbox { spacing: 10px; }
1593-
1594-
&-airplane-box { spacing: 12px; }
1586+
.nm-dialog-content {
1587+
spacing: 20px;
1588+
padding: 10px;
15951589

1596-
&-airplane-headline {
1597-
@include fontsize($font-size * 1.1);
1598-
font-weight: bold;
1599-
text-align: center;
1600-
}
1590+
@extend %modal_dialog_content_box;
1591+
}
1592+
.nm-dialog-header {
1593+
font-weight: bold;
1594+
@include fontsize($font-size * 1.2);
1595+
}
1596+
.nm-dialog-subheader { color: $insensitive_fg_color;}
1597+
.nm-dialog-header-icon { icon-size: 32px; }
1598+
.nm-dialog-header-hbox { spacing: 10px; }
16011599

1602-
&-airplane-text { color: $fg_color; }
1600+
.nm-dialog-scroll-view {
1601+
border: 1px solid $borders_color;
1602+
padding: 5px;
1603+
border-radius: 2px;
1604+
background-color: $base_color;
1605+
}
16031606

1604-
&-header-icon { icon-size: 32px; }
1607+
.nm-dialog-item {
1608+
@include fontsize($font-size);
1609+
border-bottom: 0px solid;
1610+
padding: 12px;
1611+
spacing: 0px;
16051612

1606-
&-scroll-view {
1607-
border: 1px solid $borders_color;
1608-
border-radius: 2px;
1609-
background-color: $base_color;
1613+
&:selected {
1614+
background-color: $selected_bg_color;
1615+
color: $selected_fg_color;
16101616
}
1611-
1612-
&-header {
1613-
font-weight: bold;
1614-
@include fontsize($font-size * 1.2);
1617+
&:hover {
1618+
background-color: if($variant != 'dark', transparentize(black, 0.95), transparentize(white, 0.97));
16151619
}
1620+
}
16161621

1617-
&-item {
1618-
@include fontsize($font-size);
1619-
border-bottom: 0px solid;
1620-
padding: 12px;
1621-
spacing: 0px;
1622-
1623-
&:selected {
1624-
background-color: $selected_bg_color;
1625-
color: $selected_fg_color;
1626-
}
1627-
}
1622+
.nm-dialog-icon { icon-size: 16px; }
1623+
.nm-dialog-icons { spacing: .5em; }
16281624

1629-
&-icons { spacing: .5em; }
1625+
.no-networks-box { spacing: 12px; }
1626+
.no-networks-label { color: $insensitive_fg_color; }
16301627

1631-
&-icon { icon-size: 16px; }
1628+
.nm-dialog-airplane-box {
1629+
text-align: center;
1630+
spacing: 12px;
16321631
}
16331632

1634-
.no-networks-label { color: $insensitive_fg_color; }
1635-
1636-
.no-networks-box { spacing: 12px; }
1633+
.nm-dialog-airplane-headline {
1634+
@include fontsize($font-size * 1.1);
1635+
font-weight: bold;
1636+
text-align: center;
1637+
}
1638+
.nm-dialog-airplane-text { color: $insensitive_fg_color; }
16371639

16381640
//
16391641
// Overview

0 commit comments

Comments
 (0)