diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4acdbcf50..c0172368f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -46,10 +46,13 @@ jobs: manifest-path: "build-aux/dev.geopjr.Tuba.Devel.json" cache-key: flatpak-builder-${{ github.sha }} arch: ${{ matrix.arch }} + repository-name: gnome-nightly + repository-url: https://nightly.gnome.org/gnome-nightly.flatpakrepo # until GNOME 45 snap-builder: name: "Snap Builder" runs-on: ubuntu-latest needs: [ lint ] + if: ${{ false }} # disable until GNOME 45 runtimes get added strategy: matrix: arch: [x86_64, aarch64] diff --git a/build-aux/dev.geopjr.Tuba.Devel.json b/build-aux/dev.geopjr.Tuba.Devel.json index 84ec3dd8f..abe1bc913 100644 --- a/build-aux/dev.geopjr.Tuba.Devel.json +++ b/build-aux/dev.geopjr.Tuba.Devel.json @@ -1,7 +1,7 @@ { "app-id": "dev.geopjr.Tuba", "runtime": "org.gnome.Platform", - "runtime-version": "44", + "runtime-version": "master", "sdk": "org.gnome.Sdk", "command": "dev.geopjr.Tuba", "finish-args": [ diff --git a/data/gresource.xml b/data/gresource.xml index 7843ee92d..4f9a33731 100644 --- a/data/gresource.xml +++ b/data/gresource.xml @@ -80,13 +80,17 @@ ui/views/sidebar/view.ui ui/views/sidebar/account.ui ui/views/sidebar/item.ui + ui/widgets/bookwyrmpage.ui ui/widgets/announcement.ui ui/widgets/status.ui ui/widgets/votebox.ui + ui/widgets/preview_card.ui + ui/dialogs/list_edit.ui ui/dialogs/new_account.ui ui/dialogs/compose.ui ui/dialogs/main.ui ui/dialogs/preferences.ui + ui/dialogs/profile_edit.ui ui/menus.ui diff --git a/data/gtk/dropdown/language.ui b/data/gtk/dropdown/language.ui index e3b0f6d16..c14d9f6c5 100644 --- a/data/gtk/dropdown/language.ui +++ b/data/gtk/dropdown/language.ui @@ -7,7 +7,7 @@ 0 - + GtkListItem @@ -17,7 +17,7 @@ 0 - + GtkListItem diff --git a/data/gtk/dropdown/language_title.ui b/data/gtk/dropdown/language_title.ui index 3fa75b06a..62fc81aed 100644 --- a/data/gtk/dropdown/language_title.ui +++ b/data/gtk/dropdown/language_title.ui @@ -12,7 +12,7 @@ --> - + GtkListItem diff --git a/data/style.css b/data/style.css index b9013d543..81114e420 100644 --- a/data/style.css +++ b/data/style.css @@ -51,48 +51,6 @@ flowboxchild { border-radius: 6px; } -.ttl-view .content row:not(.ttl-post) { - padding: 0px; -} - -.ttl-view .small .content { - border: none; - border-radius: 0; -} - -.ttl-view .small .content row { - border-left: none; - border-right: none; - border-radius: 0px; -} - -/* Hides the top border from the first row of the first listbox */ -.ttl-view .small :first-child list row:first-child { - border-top: 0px; -} - -.ttl-view:not(.no-transition) .small .content, -.ttl-view:not(.no-transition) clamp>* { - transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94); -} - -.no-transition { - transition: none; -} - -.ttl-view .large { - margin-left: 18px; - margin-right: 18px; -} - -.ttl-view .large:first-child { - margin-top: 32px; -} - -.ttl-view .large:last-child { - margin-bottom: 32px; -} - .ttl-label-emoji-no-click:hover { background: transparent; } @@ -290,6 +248,11 @@ flowboxchild { background-color: @popover_bg_color; } +.card-spacing { + margin-top: 6px; + margin-bottom: 6px; +} + .ttl-post.direct { background-color: alpha(@warning_bg_color, .1); } @@ -358,54 +321,6 @@ GtkSourceAssistant.completion list row{ border-radius: 6px 6px 0px 0px; } -.ttl-view :first-child list row:not(:first-child):not(:last-child) .preview_card.explore { - border-radius: 0px; -} - -.ttl-view .small :first-child list row:first-child .preview_card.explore .preview_card_image, -.ttl-view .small :first-child list row:last-child .preview_card.explore .preview_card_image, -.ttl-view :first-child list row:not(:first-child):not(:last-child) .preview_card.explore .preview_card_image { - border-radius: 0px; -} - -.ttl-view box:not(.small) :first-child list row:first-child .preview_card.explore { - border-top-left-radius: 12px; - border-top-right-radius: 12px; -} - -.ttl-view :first-child list row:first-child .preview_card.explore, -.ttl-view :first-child list row:first-child .preview_card.explore .preview_card_image { - border-bottom-left-radius: 0px; - border-bottom-right-radius: 0px; -} - -.ttl-view box:not(.small) :first-child list row:first-child .preview_card.explore .preview_card_image:dir(ltr) { - border-top-left-radius: 12px; -} - -.ttl-view box:not(.small) :first-child list row:first-child .preview_card.explore .preview_card_image:dir(rtl) { - border-top-right-radius: 12px; -} - -.ttl-view :first-child list row:last-child .preview_card.explore, -.ttl-view :first-child list row:last-child .preview_card.explore .preview_card_image { - border-top-left-radius: 0px; - border-top-right-radius: 0px; -} - -.ttl-view box:not(.small) :first-child list row:last-child .preview_card.explore { - border-bottom-left-radius: 12px; - border-bottom-right-radius: 12px; -} - -.ttl-view box:not(.small) :first-child list row:last-child .preview_card.explore .preview_card_image:dir(ltr) { - border-bottom-left-radius: 12px; -} - -.ttl-view box:not(.small) :first-child list row:last-child .preview_card.explore .preview_card_image:dir(rtl) { - border-bottom-right-radius: 12px; -} - .bkwm-desc { padding: 12px; } @@ -499,3 +414,62 @@ video > overlay > revealer > controls { .attention { color: @yellow_4; } + + +.ttl-view listview>row.activatable:selected:hover, +.ttl-view listview>row.activatable:hover { + background-color:transparent; +} + +.ttl-view listview>row.activatable:selected:active, +.ttl-view listview>row.activatable:active { + box-shadow: none; +} + +.ttl-view .content :first-child .card.card-spacing { + margin-top: 0px; +} + +.ttl-view .content :last-child .card.card-spacing { + margin-bottom: 0px; +} + +.ttl-view .small.content row .card { + border-left: none; + border-right: none; + border-radius: 0px; +} + +.ttl-view .small.content { + padding: 0px; +} + +.ttl-view .content row:not(.ttl-post) { + padding: 0px; +} + +.ttl-view:not(.no-transition) .large.content, +.ttl-view:not(.no-transition) .small.content { + transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94); +} + +.no-transition { + transition: none; +} + +.ttl-view .large { + padding-left: 18px; + padding-right: 18px; +} + +.ttl-view .large:first-child { + padding-top: 32px; +} + +.ttl-view .large:last-child { + padding-bottom: 32px; +} + +.ttl-view .small .preview_card.explore .preview_card_image { + border-radius: 0px; +} diff --git a/data/ui/dialogs/list_edit.ui b/data/ui/dialogs/list_edit.ui new file mode 100644 index 000000000..8ca9ba232 --- /dev/null +++ b/data/ui/dialogs/list_edit.ui @@ -0,0 +1,78 @@ + + + + + + tuba-people-symbolic + Members + + + Remove Members + + + + + diff --git a/data/ui/dialogs/new_account.ui b/data/ui/dialogs/new_account.ui index fbc00d8e6..37b3462cf 100644 --- a/data/ui/dialogs/new_account.ui +++ b/data/ui/dialogs/new_account.ui @@ -117,6 +117,7 @@ 1 Next + + + + + + + + 1 + 1 + + + start + 100 + + + vertical + 24 + 24 + 24 + + + + + center + center + + + 120 + 0 + + + + + document-edit-symbolic + Edit Profile Picture + center + center + + + + + + + + + 1 + 1 + + + 128 + cover + + + + + + document-edit-symbolic + + Edit Header Picture + start + start + 6 + 6 + + + + + + + + + + + none + + + + free-form + Display Name + + + + + + 0 + + Bio + + + + + 0 + custom_emoji_picker + center + center + Custom Emoji Picker + tuba-cat-symbolic + + + + + 6 + 6 + 6 + 6 + word-char + 0 + + + + + + + + + + + Fields + + + + + + + + + + + + + diff --git a/data/ui/views/base.ui b/data/ui/views/base.ui index 239a6c5ed..1fe7d6f8f 100644 --- a/data/ui/views/base.ui +++ b/data/ui/views/base.ui @@ -1,11 +1,13 @@ - - + + - + \ No newline at end of file diff --git a/data/ui/views/profile_header.ui b/data/ui/views/profile_header.ui index 4cab9f105..7d534b007 100644 --- a/data/ui/views/profile_header.ui +++ b/data/ui/views/profile_header.ui @@ -55,7 +55,7 @@ - + 1 1 224 diff --git a/data/ui/widgets/bookwyrmpage.ui b/data/ui/widgets/bookwyrmpage.ui new file mode 100644 index 000000000..cfd956eee --- /dev/null +++ b/data/ui/widgets/bookwyrmpage.ui @@ -0,0 +1,86 @@ + + + + + diff --git a/data/ui/widgets/preview_card.ui b/data/ui/widgets/preview_card.ui new file mode 100644 index 000000000..da060e983 --- /dev/null +++ b/data/ui/widgets/preview_card.ui @@ -0,0 +1,77 @@ + + + + + diff --git a/data/ui/widgets/status.ui b/data/ui/widgets/status.ui index 1be6fef7b..56e6f6213 100644 --- a/data/ui/widgets/status.ui +++ b/data/ui/widgets/status.ui @@ -1,7 +1,7 @@ -