Skip to content

Commit

Permalink
fix: resolved dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
CS76 committed Aug 30, 2024
1 parent 75e15a5 commit 19c52c2
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
6 changes: 3 additions & 3 deletions resources/views/livewire/download.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
<article class="mx-auto w-full max-w-2xl lg:mx-0 lg:max-w-lg">
<div class="flex items-center">
<h1
class="mb-5 inline-block text-2xl sm:text-3xl font-extrabold text-slate-900 tracking-tight dark:text-slate-200">
class="mb-5 inline-block text-2xl sm:text-3xl font-extrabold text-slate-900 tracking-tight">
Downloads</h1>
</div>
<time datetime="2020-03-16" class="block text-sm leading-6 text-gray-600"></time>
<div
class="grid gap-4 mx-auto max-w-sm bg-white shadow-xl p-8 text-slate-700 dark:bg-slate-800 dark:text-slate-400 rounded-md border">
<h3 class="text-balance text-xl dark:text-white font-semibold text-slate-900">Cite us</h3>
class="grid gap-4 mx-auto max-w-sm bg-white shadow-xl p-8 text-slate-700 rounded-md border">
<h3 class="text-balance text-xl font-semibold text-slate-900">Cite us</h3>
<p class="text-md/6">Sorokina, M., Merseburger, P., Rajan, K. et al. COCONUT online: COlleCtion
of Open Natural prodUcTs database. J Cheminform 13, 2 (2021).
https://doi.org/10.1186/s13321-020-00478-9</p>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/livewire/search.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ class="rounded-md bg-secondary-dark px-3.5 py-1.5 text-base font-semibold leadin
<div class="p-4 w-full">
{{ $molecules->links() }}
</div>
<div class="relative items-center block p-6 bg-white dark:bg-gray-800 dark:border-gray-800 dark:hover:bg-gray-700">
<div class="relative items-center block p-6 bg-white">
<div class="grid grid-cols-1 gap-y-4 sm:grid-cols-2 sm:gap-x-6 sm:gap-y-10 lg:grid-cols-4 lg:gap-x-8">
@foreach ($molecules as $molecule)
<livewire:molecule-card :key="$molecule->identifier" :molecule="$molecule" />
Expand Down
10 changes: 5 additions & 5 deletions resources/views/navigation-menu.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ class="inline-flex items-center px-3 py-2 border border-transparent text-sm lead
<div class="block text-gray-400">
<div
class="fi-dropdown-header flex w-full gap-2 p-3 text-sm fi-dropdown-header-color-gray fi-color-gray">
<svg class="fi-dropdown-header-icon h-5 w-5 text-gray-400 dark:text-gray-500"
<svg class="fi-dropdown-header-icon h-5 w-5 text-gray-400"
xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor"
aria-hidden="true" data-slot="icon">
<path fill-rule="evenodd"
Expand All @@ -104,7 +104,7 @@ class="fi-dropdown-header flex w-full gap-2 p-3 text-sm fi-dropdown-header-color
</svg>

<span
class="fi-dropdown-header-label flex-1 truncate text-start text-gray-700 dark:text-gray-200"
class="fi-dropdown-header-label flex-1 truncate text-start text-gray-700"
style="">
{{ Auth::user()->name }}
</span>
Expand All @@ -115,7 +115,7 @@ class="fi-dropdown-header-label flex-1 truncate text-start text-gray-700 dark:te
<div class="px-1 pt-1">
@if (Laravel\Jetstream\Jetstream::hasApiFeatures())
<x-dropdown-link href="{{ route('api-tokens.index') }}">
<svg class="inline fi-dropdown-list-item-icon h-5 w-5 text-gray-400 dark:text-gray-500"
<svg class="inline fi-dropdown-list-item-icon h-5 w-5 text-gray-400"
xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"
stroke-width="1.5" stroke="currentColor" aria-hidden="true"
data-slot="icon">
Expand All @@ -129,7 +129,7 @@ class="fi-dropdown-header-label flex-1 truncate text-start text-gray-700 dark:te

<div class="px-1">
<x-dropdown-link href="{{ route('profile.show') }}">
<svg class="inline fi-dropdown-list-item-icon h-5 w-5 text-gray-400 dark:text-gray-500"
<svg class="inline fi-dropdown-list-item-icon h-5 w-5 text-gray-400"
xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"
aria-hidden="true" data-slot="icon">
<path
Expand All @@ -147,7 +147,7 @@ class="fi-dropdown-header-label flex-1 truncate text-start text-gray-700 dark:te
@csrf
<div class="px-1 pb-1">
<x-dropdown-link href="{{ route('logout') }}" @click.prevent="$root.submit();">
<svg class="inline fi-dropdown-list-item-icon h-5 w-5 text-gray-400 dark:text-gray-500"
<svg class="inline fi-dropdown-list-item-icon h-5 w-5 text-gray-400"
xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor"
aria-hidden="true" data-slot="icon">
<path fill-rule="evenodd"
Expand Down
10 changes: 5 additions & 5 deletions resources/views/vendor/livewire/simple-tailwind.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@
<span>
{{-- Previous Page Link --}}
@if ($paginator->onFirstPage())
<span class="relative inline-flex items-center px-4 py-2 text-sm font-medium text-gray-500 bg-white border border-gray-300 cursor-default leading-5 rounded-md dark:text-gray-600 dark:bg-gray-800 dark:border-gray-600">
<span class="relative inline-flex items-center px-4 py-2 text-sm font-medium text-gray-500 bg-white border border-gray-300 cursor-default leading-5 rounded-md">
{!! __('pagination.previous') !!}
</span>
@else
@if(method_exists($paginator,'getCursorName'))
<button type="button" dusk="previousPage" wire:key="cursor-{{ $paginator->getCursorName() }}-{{ $paginator->previousCursor()->encode() }}" wire:click="setPage('{{$paginator->previousCursor()->encode()}}','{{ $paginator->getCursorName() }}')" x-on:click="{{ $scrollIntoViewJsSnippet }}" wire:loading.attr="disabled" class="relative inline-flex items-center px-4 py-2 text-sm font-medium text-gray-700 bg-white border border-gray-300 leading-5 rounded-md hover:text-gray-500 focus:outline-none focus:ring ring-blue-300 focus:border-blue-300 active:bg-gray-100 active:text-gray-700 transition ease-in-out duration-150 dark:bg-gray-800 dark:border-gray-600 dark:text-gray-300 dark:focus:border-blue-700 dark:active:bg-gray-700 dark:active:text-gray-300">
<button type="button" dusk="previousPage" wire:key="cursor-{{ $paginator->getCursorName() }}-{{ $paginator->previousCursor()->encode() }}" wire:click="setPage('{{$paginator->previousCursor()->encode()}}','{{ $paginator->getCursorName() }}')" x-on:click="{{ $scrollIntoViewJsSnippet }}" wire:loading.attr="disabled" class="relative inline-flex items-center px-4 py-2 text-sm font-medium text-gray-700 bg-white border border-gray-300 leading-5 rounded-md hover:text-gray-500 focus:outline-none focus:ring ring-blue-300 focus:border-blue-300 active:bg-gray-100 active:text-gray-700 transition ease-in-out duration-150">
{!! __('pagination.previous') !!}
</button>
@else
<button
type="button" wire:click="previousPage('{{ $paginator->getPageName() }}')" x-on:click="{{ $scrollIntoViewJsSnippet }}" wire:loading.attr="disabled" dusk="previousPage{{ $paginator->getPageName() == 'page' ? '' : '.' . $paginator->getPageName() }}" class="relative inline-flex items-center px-4 py-2 text-sm font-medium text-gray-700 bg-white border border-gray-300 leading-5 rounded-md hover:text-gray-500 focus:outline-none focus:ring ring-blue-300 focus:border-blue-300 active:bg-gray-100 active:text-gray-700 transition ease-in-out duration-150 dark:bg-gray-800 dark:border-gray-600 dark:text-gray-300 dark:focus:border-blue-700 dark:active:bg-gray-700 dark:active:text-gray-300">
type="button" wire:click="previousPage('{{ $paginator->getPageName() }}')" x-on:click="{{ $scrollIntoViewJsSnippet }}" wire:loading.attr="disabled" dusk="previousPage{{ $paginator->getPageName() == 'page' ? '' : '.' . $paginator->getPageName() }}" class="relative inline-flex items-center px-4 py-2 text-sm font-medium text-gray-700 bg-white border border-gray-300 leading-5 rounded-md hover:text-gray-500 focus:outline-none focus:ring ring-blue-300 focus:border-blue-300 active:bg-gray-100 active:text-gray-700 transition ease-in-out duration-150">
{!! __('pagination.previous') !!}
</button>
@endif
Expand All @@ -37,11 +37,11 @@
{{-- Next Page Link --}}
@if ($paginator->hasMorePages())
@if(method_exists($paginator,'getCursorName'))
<button type="button" dusk="nextPage" wire:key="cursor-{{ $paginator->getCursorName() }}-{{ $paginator->nextCursor()->encode() }}" wire:click="setPage('{{$paginator->nextCursor()->encode()}}','{{ $paginator->getCursorName() }}')" x-on:click="{{ $scrollIntoViewJsSnippet }}" wire:loading.attr="disabled" class="relative inline-flex items-center px-4 py-2 text-sm font-medium text-gray-700 bg-white border border-gray-300 leading-5 rounded-md hover:text-gray-500 focus:outline-none focus:ring ring-blue-300 focus:border-blue-300 active:bg-gray-100 active:text-gray-700 transition ease-in-out duration-150 dark:bg-gray-800 dark:border-gray-600 dark:text-gray-300 dark:focus:border-blue-700 dark:active:bg-gray-700 dark:active:text-gray-300">
<button type="button" dusk="nextPage" wire:key="cursor-{{ $paginator->getCursorName() }}-{{ $paginator->nextCursor()->encode() }}" wire:click="setPage('{{$paginator->nextCursor()->encode()}}','{{ $paginator->getCursorName() }}')" x-on:click="{{ $scrollIntoViewJsSnippet }}" wire:loading.attr="disabled" class="relative inline-flex items-center px-4 py-2 text-sm font-medium text-gray-700 bg-white border border-gray-300 leading-5 rounded-md hover:text-gray-500 focus:outline-none focus:ring ring-blue-300 focus:border-blue-300 active:bg-gray-100 active:text-gray-700 transition ease-in-out duration-150">
{!! __('pagination.next') !!}
</button>
@else
<button type="button" wire:click="nextPage('{{ $paginator->getPageName() }}')" x-on:click="{{ $scrollIntoViewJsSnippet }}" wire:loading.attr="disabled" dusk="nextPage{{ $paginator->getPageName() == 'page' ? '' : '.' . $paginator->getPageName() }}" class="relative inline-flex items-center px-4 py-2 text-sm font-medium text-gray-700 bg-white border border-gray-300 leading-5 rounded-md hover:text-gray-500 focus:outline-none focus:ring ring-blue-300 focus:border-blue-300 active:bg-gray-100 active:text-gray-700 transition ease-in-out duration-150 dark:bg-gray-800 dark:border-gray-600 dark:text-gray-300 dark:focus:border-blue-700 dark:active:bg-gray-700 dark:active:text-gray-300">
<button type="button" wire:click="nextPage('{{ $paginator->getPageName() }}')" x-on:click="{{ $scrollIntoViewJsSnippet }}" wire:loading.attr="disabled" dusk="nextPage{{ $paginator->getPageName() == 'page' ? '' : '.' . $paginator->getPageName() }}" class="relative inline-flex items-center px-4 py-2 text-sm font-medium text-gray-700 bg-white border border-gray-300 leading-5 rounded-md hover:text-gray-500 focus:outline-none focus:ring ring-blue-300 focus:border-blue-300 active:bg-gray-100 active:text-gray-700 transition ease-in-out duration-150">
{!! __('pagination.next') !!}
</button>
@endif
Expand Down

0 comments on commit 19c52c2

Please sign in to comment.