Skip to content

Commit

Permalink
Add Adw TabOverview styles (#1270)
Browse files Browse the repository at this point in the history
  • Loading branch information
danirabbit authored Nov 15, 2023
1 parent 0c89cde commit b24f098
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 14 deletions.
29 changes: 15 additions & 14 deletions data/stylesheet.appdata.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,20 @@
<url type="bugtracker">https://github.com/elementary/stylesheet/issues</url>

<releases>
<release version="7.3.0" date="2023-11-15" urgency="medium">
<description>
<p>Improve support for LibAdwaita widgets:</p>
<ul>
<li>Adw.TabOverview</li>
</ul>
<p>GTK 4 Improvements:</p>
<ul>
<li>Add missing ".default-decoration" style for compact headerbars</li>
<li>Add Latte palette</li>
</ul>
</description>
</release>

<release version="7.2.0" date="2023-04-25" urgency="medium">
<description>
<p>Improve support for LibAdwaita widgets:</p>
Expand Down Expand Up @@ -97,20 +111,7 @@
</description>
</release>

<release version="6.1.1" date="2021-11-23" urgency="medium">
<description>
<p>Improvements:</p>
<ul>
<li>Improve contrast of horizontal separators in dark style</li>
</ul>
<p>Fixes:</p>
<ul>
<li>Use the accent color for highlighting in IBus candidate window</li>
<li>Fix font style for title labels in headerbars</li>
</ul>
</description>
</release>

<release version="6.1.1" date="2021-11-23" urgency="medium" />
<release version="6.1.0" date="2021-10-22" urgency="medium" />
<release version="6.0.0" date="2021-07-15" urgency="medium" />
</releases>
Expand Down
32 changes: 32 additions & 0 deletions src/gtk-4.0/widgets/adw/TabOverview.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
taboverview {
tabthumbnail {
.card {
border-radius: rem(6px);
margin: rem(12px);

button.circular {
background: rgba($fg-color, 0.9);
border: none;
color: bg-color(1);
box-shadow: shadow(1);
margin: rem(3px);
}
}

&.pinned .card {
padding: rem(12px);

.tab-unpin-icon.left {
margin-right: rem(6px);
}

.tab-unpin-icon.right {
margin-left: rem(6px);
}
}
}

.new-tab-button {
margin: rem(12px);
}
}
1 change: 1 addition & 0 deletions src/gtk-4.0/widgets/adw/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
@import 'PreferencesWindow.scss';
@import 'StatusPage.scss';
@import 'TabBar.scss';
@import 'TabOverview.scss';
@import 'ViewSwitcher.scss';

0 comments on commit b24f098

Please sign in to comment.