refac
This commit is contained in:
1 parent
5929bf2061
commit
a7fbf66269
1 file changed
+12
-12
@@ -309,8 +309,8 @@
|
|||||||
<button
|
<button
|
||||||
class="px-2.5 py-1 text-sm rounded-lg transition whitespace-nowrap {activeTab ===
|
class="px-2.5 py-1 text-sm rounded-lg transition whitespace-nowrap {activeTab ===
|
||||||
'controls'
|
'controls'
|
||||||
? 'bg-gray-100 dark:bg-gray-800 font-medium text-gray-900 dark:text-white'
|
? 'bg-gray-100/40 dark:bg-gray-800/25 font-medium text-gray-700 dark:text-gray-200'
|
||||||
: 'text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-300'}"
|
: 'text-gray-500 dark:text-gray-400 hover:bg-gray-100/30 dark:hover:bg-gray-800/20 hover:text-gray-600 dark:hover:text-gray-300'}"
|
||||||
on:click={() => (activeTab = 'controls')}
|
on:click={() => (activeTab = 'controls')}
|
||||||
>
|
>
|
||||||
{$i18n.t('Controls')}
|
{$i18n.t('Controls')}
|
||||||
@@ -320,8 +320,8 @@
|
|||||||
<button
|
<button
|
||||||
class="px-2.5 py-1 text-sm rounded-lg transition whitespace-nowrap {activeTab ===
|
class="px-2.5 py-1 text-sm rounded-lg transition whitespace-nowrap {activeTab ===
|
||||||
'files'
|
'files'
|
||||||
? 'bg-gray-100 dark:bg-gray-800 font-medium text-gray-900 dark:text-white'
|
? 'bg-gray-100/40 dark:bg-gray-800/25 font-medium text-gray-700 dark:text-gray-200'
|
||||||
: 'text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-300'}"
|
: 'text-gray-500 dark:text-gray-400 hover:bg-gray-100/30 dark:hover:bg-gray-800/20 hover:text-gray-600 dark:hover:text-gray-300'}"
|
||||||
on:click={() => (activeTab = 'files')}
|
on:click={() => (activeTab = 'files')}
|
||||||
>
|
>
|
||||||
{$i18n.t('Files')}
|
{$i18n.t('Files')}
|
||||||
@@ -331,8 +331,8 @@
|
|||||||
<button
|
<button
|
||||||
class="px-2.5 py-1 text-sm rounded-lg transition whitespace-nowrap {activeTab ===
|
class="px-2.5 py-1 text-sm rounded-lg transition whitespace-nowrap {activeTab ===
|
||||||
'overview'
|
'overview'
|
||||||
? 'bg-gray-100 dark:bg-gray-800 font-medium text-gray-900 dark:text-white'
|
? 'bg-gray-100/40 dark:bg-gray-800/25 font-medium text-gray-700 dark:text-gray-200'
|
||||||
: 'text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-300'}"
|
: 'text-gray-500 dark:text-gray-400 hover:bg-gray-100/30 dark:hover:bg-gray-800/20 hover:text-gray-600 dark:hover:text-gray-300'}"
|
||||||
on:click={() => (activeTab = 'overview')}
|
on:click={() => (activeTab = 'overview')}
|
||||||
>
|
>
|
||||||
{$i18n.t('Overview')}
|
{$i18n.t('Overview')}
|
||||||
@@ -454,8 +454,8 @@
|
|||||||
<button
|
<button
|
||||||
class="px-2.5 py-1 text-sm rounded-lg transition whitespace-nowrap {activeTab ===
|
class="px-2.5 py-1 text-sm rounded-lg transition whitespace-nowrap {activeTab ===
|
||||||
'controls'
|
'controls'
|
||||||
? 'bg-gray-100 dark:bg-gray-800 font-medium text-gray-900 dark:text-white'
|
? 'bg-gray-100/40 dark:bg-gray-800/25 font-medium text-gray-700 dark:text-gray-200'
|
||||||
: 'text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-300'}"
|
: 'text-gray-500 dark:text-gray-400 hover:bg-gray-100/30 dark:hover:bg-gray-800/20 hover:text-gray-600 dark:hover:text-gray-300'}"
|
||||||
on:click={() => (activeTab = 'controls')}
|
on:click={() => (activeTab = 'controls')}
|
||||||
>
|
>
|
||||||
{$i18n.t('Controls')}
|
{$i18n.t('Controls')}
|
||||||
@@ -465,8 +465,8 @@
|
|||||||
<button
|
<button
|
||||||
class="px-2.5 py-1 text-sm rounded-lg transition whitespace-nowrap {activeTab ===
|
class="px-2.5 py-1 text-sm rounded-lg transition whitespace-nowrap {activeTab ===
|
||||||
'files'
|
'files'
|
||||||
? 'bg-gray-100 dark:bg-gray-800 font-medium text-gray-900 dark:text-white'
|
? 'bg-gray-100/40 dark:bg-gray-800/25 font-medium text-gray-700 dark:text-gray-200'
|
||||||
: 'text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-300'}"
|
: 'text-gray-500 dark:text-gray-400 hover:bg-gray-100/30 dark:hover:bg-gray-800/20 hover:text-gray-600 dark:hover:text-gray-300'}"
|
||||||
on:click={() => (activeTab = 'files')}
|
on:click={() => (activeTab = 'files')}
|
||||||
>
|
>
|
||||||
{$i18n.t('Files')}
|
{$i18n.t('Files')}
|
||||||
@@ -476,8 +476,8 @@
|
|||||||
<button
|
<button
|
||||||
class="px-2.5 py-1 text-sm rounded-lg transition whitespace-nowrap {activeTab ===
|
class="px-2.5 py-1 text-sm rounded-lg transition whitespace-nowrap {activeTab ===
|
||||||
'overview'
|
'overview'
|
||||||
? 'bg-gray-100 dark:bg-gray-800 font-medium text-gray-900 dark:text-white'
|
? 'bg-gray-100/40 dark:bg-gray-800/25 font-medium text-gray-700 dark:text-gray-200'
|
||||||
: 'text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-300'}"
|
: 'text-gray-500 dark:text-gray-400 hover:bg-gray-100/30 dark:hover:bg-gray-800/20 hover:text-gray-600 dark:hover:text-gray-300'}"
|
||||||
on:click={() => (activeTab = 'overview')}
|
on:click={() => (activeTab = 'overview')}
|
||||||
>
|
>
|
||||||
{$i18n.t('Overview')}
|
{$i18n.t('Overview')}
|
||||||
|
|||||||
Reference in new issue
Block a user