diff --git a/app/assets/stylesheets/application.tailwind.css b/app/assets/stylesheets/application.tailwind.css index e679da8..bba2f9b 100644 --- a/app/assets/stylesheets/application.tailwind.css +++ b/app/assets/stylesheets/application.tailwind.css @@ -7,7 +7,6 @@ @import "components/buttons"; @import "components/dashboard_services"; @import "components/forms"; -@import "components/links"; @import "components/notifications"; @import "components/pagination"; @import "components/tables"; diff --git a/app/assets/stylesheets/components/base.css b/app/assets/stylesheets/components/base.css index a9e082e..eb9f75c 100644 --- a/app/assets/stylesheets/components/base.css +++ b/app/assets/stylesheets/components/base.css @@ -6,6 +6,7 @@ body { @apply leading-none bg-cover bg-fixed; background-image: linear-gradient(35deg, rgba(255,0,255,0.2) 0, rgba(13,79,153,0.8) 100%), url('/img/bg-1.jpg'); + color: black; } body#admin { @@ -59,4 +60,11 @@ main ul li { @apply leading-6; } + + main section a:not(nav > *):not(data-tabs-target=[tab] > *) { + @apply text-blue-600; + &:hover { @apply underline; } + &:visited { @apply text-indigo-600; } + &:active { @apply text-red-600; } + } } diff --git a/app/assets/stylesheets/components/buttons.css b/app/assets/stylesheets/components/buttons.css index 34fb68c..5bb4198 100644 --- a/app/assets/stylesheets/components/buttons.css +++ b/app/assets/stylesheets/components/buttons.css @@ -1,5 +1,15 @@ @layer components { + .btn-text-dark { @apply text-black; } + .btn-text-dark:hover { @apply text-black no-underline; } + .btn-text-dark:visited { @apply text-black; } + .btn-text-dark:active { @apply text-black; } + .btn-text-light { @apply text-white; } + .btn-text-light:hover { @apply text-white no-underline; } + .btn-text-light:visited { @apply text-white; } + .btn-text-light:active { @apply text-white; } + .btn { + @apply btn-text-dark; @apply inline-block font-semibold rounded-md leading-none cursor-pointer text-center transition-colors duration-75 focus:outline-none focus:ring-4; } @@ -28,17 +38,20 @@ } .btn-blue { - @apply bg-blue-500 hover:bg-blue-600 text-white + @apply btn-text-light; + @apply bg-blue-500 hover:bg-blue-600 focus:ring-blue-400 focus:ring-opacity-75; } .btn-emerald { - @apply bg-emerald-500 hover:bg-emerald-600 text-white + @apply btn-text-light; + @apply bg-emerald-500 hover:bg-emerald-600 focus:ring-emerald-400 focus:ring-opacity-75; } .btn-red { - @apply bg-red-600 hover:bg-red-700 text-white + @apply btn-text-light; + @apply bg-red-600 hover:bg-red-700 focus:ring-red-500 focus:ring-opacity-75; } diff --git a/app/assets/stylesheets/components/links.css b/app/assets/stylesheets/components/links.css deleted file mode 100644 index 92c9c75..0000000 --- a/app/assets/stylesheets/components/links.css +++ /dev/null @@ -1,8 +0,0 @@ -@layer components { - .ks-text-link { - @apply text-blue-600; - &:hover { @apply underline; } - &:visited { @apply text-indigo-600; } - &:active { @apply text-red-600; } - } -} diff --git a/app/assets/stylesheets/components/pagination.css b/app/assets/stylesheets/components/pagination.css index f6ab6c6..38fffbf 100644 --- a/app/assets/stylesheets/components/pagination.css +++ b/app/assets/stylesheets/components/pagination.css @@ -34,7 +34,7 @@ .pagy-nav .page a, .page.gap { @apply bg-white border-gray-300 text-gray-500 hover:bg-gray-100 relative inline-flex items-center border px-4 py-2 text-sm font-medium - focus:z-20; + no-underline focus:z-20; } .pagy-nav .page.active { diff --git a/app/views/admin/app_catalog/web_apps/index.html.erb b/app/views/admin/app_catalog/web_apps/index.html.erb index ebfa289..d904b0d 100644 --- a/app/views/admin/app_catalog/web_apps/index.html.erb +++ b/app/views/admin/app_catalog/web_apps/index.html.erb @@ -38,8 +38,7 @@
Federated chat rooms and instant messaging @@ -20,7 +20,8 @@
Your account on the Open Social Web @@ -33,7 +34,8 @@
A no-bullshit email account @@ -47,7 +49,7 @@ bg-[length:80%] bg-[center_top_-156px] bg-no-repeat bg-[url(/img/logos/icon_remotestorage.svg)]"> <%= link_to services_storage_path, - class: "block h-full px-6 py-6 rounded-md" do %> + class: "block h-full px-6 py-6 rounded-md btn-text-dark" do %>
Sync your data between apps and devices @@ -60,7 +62,7 @@ bg-cover bg-center sm:bg-[center_top_-140px] bg-no-repeat bg-[url(/img/logos/icon_lightning.svg)]"> <%= link_to services_lightning_index_path, - class: "block h-full px-6 py-6 rounded-md" do %> + class: "block h-full px-6 py-6 rounded-md btn-text-dark" do %>
Send and receive sats over the Bitcoin Lightning Network @@ -73,7 +75,7 @@ bg-[length:80%] bg-center bg-no-repeat bg-[url(/img/logos/icon_discourse.svg)]"> <%= link_to "#{Setting.discourse_public_url}/session/sso?return_path=/", - class: "block h-full px-6 py-6 rounded-md" do %> + class: "block h-full px-6 py-6 rounded-md btn-text-dark" do %>
Community forums and support/help site @@ -86,7 +88,7 @@ bg-[length:92%] bg-center bg-no-repeat bg-[url(/img/logos/icon_gitea.png)]"> <%= link_to Setting.gitea_public_url, - class: "block h-full px-6 py-6 rounded-md" do %> + class: "block h-full px-6 py-6 rounded-md btn-text-dark" do %>
Code hosting and collaboration for software projects @@ -99,7 +101,7 @@ bg-[length:86%] bg-[center_top_-60px] bg-no-repeat bg-[url(/img/logos/icon_droneci.svg)]"> <%= link_to Setting.droneci_public_url, - class: "block h-full px-6 py-6 rounded-md" do %> + class: "block h-full px-6 py-6 rounded-md btn-text-dark" do %>
Continuous integration for software projects on Gitea @@ -112,7 +114,7 @@ bg-cover bg-[center_top_-20px] bg-no-repeat bg-[url(/img/logos/icon_mediawiki.svg)]"> <%= link_to Setting.mediawiki_public_url, - class: "block h-full px-6 py-6 rounded-md" do %> + class: "block h-full px-6 py-6 rounded-md btn-text-dark" do %>
Documentation and knowledge base
diff --git a/app/views/rs/oauth/new.html.erb b/app/views/rs/oauth/new.html.erb
index 3d63f81..8cb9498 100644
--- a/app/views/rs/oauth/new.html.erb
+++ b/app/views/rs/oauth/new.html.erb
@@ -4,7 +4,7 @@
Your user address is also a
- Lightning Address!
+ Lightning Address!
The easiest way to receive sats is by just giving out your address:
@@ -34,7 +34,7 @@
You can connect various wallet apps to your account. This allows
you to both receive and send sats. Any wallet that supports
- LNDHub
+ LNDHub
accounts should be able to add/import your account using our setup
code/URL:
Use your Mastodon account with many different apps, and on any devices
you wish! When adding your account to an app, you will log in via
- kosmos.social.
+ kosmos.social.
If you want your favorite apps to support syncing data with your own
Storage account, let the developers know! All relevant information is
- available on the remoteStorage website.
+ available on the
+ remoteStorage website.
Lightning Address
-
<%= image_tag("/img/logos/alby.svg", class: 'h-16') %>
@@ -70,7 +70,7 @@
URL in the "LNDHub Export URI" field.
-
<%= image_tag("/img/logos/bluewallet.svg", class: 'h-16') %>
@@ -83,7 +83,7 @@
then scan the setup QR code.
-
<%= image_tag("/img/logos/zeus.svg", class: 'h-16') %>
diff --git a/app/views/services/mastodon/show.html.erb b/app/views/services/mastodon/show.html.erb
index b8c7cd3..cefa1d7 100644
--- a/app/views/services/mastodon/show.html.erb
+++ b/app/views/services/mastodon/show.html.erb
@@ -37,7 +37,7 @@