From bc5d375a154ca471e5c81c74aa53075120f874b7 Mon Sep 17 00:00:00 2001 From: Arthur Monney Date: Sat, 12 Oct 2024 01:24:55 +0200 Subject: [PATCH] Feature/lar 6 migrate tailwind 4 (#149) * feat(design): update footer style * chore: fix and apply rebase * style: migrate auth views * chore: add new styles --- app/Http/Controllers/HomeController.php | 53 +- config/filesystems.php | 1 + config/media-library.php | 224 ---- config/world.php | 172 --- .../seeders/Fixtures/ArticleTableSeeder.php | 12 +- lang/en.json | 7 - lang/en/actions.php | 12 + lang/en/global.php | 49 + lang/en/pages/article.php | 12 + lang/en/pages/auth.php | 45 + lang/en/pages/home.php | 45 + lang/fr.json | 7 - lang/fr/actions.php | 12 + lang/fr/global.php | 49 + lang/fr/pages/article.php | 12 + lang/fr/pages/auth.php | 61 + lang/fr/pages/home.php | 45 + lang/fr/validation.php | 10 +- .../livewire-ui-spotlight/en/spotlight.php | 5 - .../livewire-ui-spotlight/fr/spotlight.php | 5 - lang/vendor/world/en/country.php | 253 ---- lang/vendor/world/en/response.php | 17 - lang/vendor/world/fr/country.php | 253 ---- lang/vendor/world/fr/response.php | 17 - package.json | 2 - resources/css/app.css | 60 - resources/css/base.css | 31 +- resources/css/christmas.css | 37 - .../css/filament/admin/tailwind.config.js | 12 +- resources/css/file-upload.css | 10 +- resources/css/forms.css | 14 +- resources/css/header.css | 2 +- resources/css/media-library.css | 655 ---------- resources/css/partials/snow.css | 1113 ----------------- resources/css/toc.css | 8 +- resources/js/utils/clipboard.js | 4 +- resources/views/about.blade.php | 60 +- resources/views/articles/show.blade.php | 200 +-- .../views/auth/forgot-password.blade.php | 40 +- resources/views/auth/login.blade.php | 71 +- resources/views/auth/register.blade.php | 253 ++-- resources/views/auth/reset-password.blade.php | 83 +- resources/views/auth/verify-email.blade.php | 38 +- .../components/admin/new-member.blade.php | 4 +- .../components/admin/recent-post.blade.php | 2 +- resources/views/components/ads.blade.php | 4 +- .../articles/card-with-author.blade.php | 20 +- .../views/components/articles/card.blade.php | 35 +- .../components/articles/filter.blade.php | 18 +- .../components/articles/overview.blade.php | 10 +- .../components/articles/sponsored.blade.php | 2 +- .../icon.blade.php} | 0 .../views/components/brand/index.blade.php | 11 + resources/views/components/button.blade.php | 16 - .../components/buttons/default.blade.php | 16 + .../components/buttons/primary.blade.php | 16 + .../views/components/buttons/submit.blade.php | 15 + .../views/components/decreased.blade.php | 2 +- .../views/components/default-button.blade.php | 16 - resources/views/components/discord.blade.php | 4 +- .../components/discussions/overview.blade.php | 18 +- .../components/discussions/summary.blade.php | 20 +- .../components/dropdown-profile.blade.php | 52 +- .../views/components/error-message.blade.php | 2 +- .../views/components/feeds/comment.blade.php | 10 +- .../feeds/created_article.blade.php | 8 +- .../feeds/created_discussion.blade.php | 8 +- .../components/feeds/created_reply.blade.php | 10 +- .../components/feeds/created_thread.blade.php | 8 +- .../views/components/feeds/follow.blade.php | 10 +- .../components/feeds/placeholder.blade.php | 6 +- .../views/components/footer-link.blade.php | 12 +- .../forms/editor/controls.blade.php | 18 +- .../views/components/forms/select.blade.php | 2 +- .../components/forms/single-upload.blade.php | 8 +- .../views/components/forum/channel.blade.php | 2 +- .../views/components/forum/filters.blade.php | 6 +- .../components/forum/thread-author.blade.php | 12 +- .../forum/thread-overview.blade.php | 24 +- .../components/forum/thread-summary.blade.php | 20 +- .../views/components/forum/thread.blade.php | 18 +- .../views/components/icon/discord.blade.php | 6 + .../views/components/icon/linkedin.blade.php | 4 +- .../views/components/icon/telegram.blade.php | 10 + .../views/components/icon/twitter.blade.php | 4 +- .../views/components/icon/whatsapp.blade.php | 3 + .../views/components/increased.blade.php | 2 +- .../views/components/info-panel.blade.php | 2 +- .../views/components/join-sponsors.blade.php | 50 + .../views/components/layouts/footer.blade.php | 210 +--- .../views/components/layouts/header.blade.php | 149 ++- resources/views/components/link.blade.php | 3 + resources/views/components/loader.blade.php | 2 +- resources/views/components/modal.blade.php | 4 +- resources/views/components/nav-link.blade.php | 2 +- resources/views/components/nav/item.blade.php | 12 + .../views/components/notification.blade.php | 12 +- .../notifications/new_comment.blade.php | 10 +- .../notifications/new_mention.blade.php | 12 +- .../notifications/new_reply.blade.php | 10 +- .../views/components/profile-users.blade.php | 2 +- .../views/components/rules-banner.blade.php | 2 +- .../views/components/section-header.blade.php | 4 +- .../views/components/site-feature.blade.php | 19 + .../components/sponsor-profile.blade.php | 12 +- resources/views/components/sponsors.blade.php | 12 +- .../views/components/status-message.blade.php | 2 +- resources/views/components/tag.blade.php | 6 +- resources/views/components/tags.blade.php | 6 +- .../components/user/activities.blade.php | 2 +- .../views/components/user/articles.blade.php | 6 +- .../views/components/user/avatar.blade.php | 2 +- .../components/user/breadcrumb.blade.php | 8 +- .../components/user/discussions.blade.php | 6 +- .../components/user/page-heading.blade.php | 2 +- .../views/components/user/points.blade.php | 2 +- .../views/components/user/stats.blade.php | 16 +- .../views/components/user/threads.blade.php | 6 +- .../components/validation-errors.blade.php | 2 +- resources/views/cpanel/analytics.blade.php | 4 +- resources/views/cpanel/dashboard.blade.php | 26 +- resources/views/cpanel/users/index.blade.php | 28 +- .../discussions/_contributions.blade.php | 24 +- resources/views/discussions/edit.blade.php | 6 +- resources/views/discussions/new.blade.php | 6 +- resources/views/discussions/show.blade.php | 24 +- resources/views/errors/minimal.blade.php | 50 +- resources/views/faq.blade.php | 80 +- resources/views/forum/_channels.blade.php | 8 +- resources/views/forum/_moderators.blade.php | 10 +- resources/views/forum/create.blade.php | 6 +- resources/views/forum/edit.blade.php | 6 +- resources/views/forum/index.blade.php | 2 +- resources/views/forum/thread.blade.php | 24 +- resources/views/home.blade.php | 309 ++--- resources/views/layouts/app.blade.php | 100 +- resources/views/layouts/settings.blade.php | 12 +- .../views/livewire/articles/_form.blade.php | 50 +- .../views/livewire/articles/browse.blade.php | 14 +- .../livewire/discussions/_form.blade.php | 2 +- .../discussions/add-comment.blade.php | 14 +- .../livewire/discussions/browse.blade.php | 14 +- .../livewire/discussions/comment.blade.php | 16 +- .../livewire/discussions/subscribe.blade.php | 4 +- resources/views/livewire/editor.blade.php | 10 +- .../views/livewire/forum/_form.blade.php | 6 +- .../livewire/forum/create-reply.blade.php | 6 +- .../livewire/forum/create-thread.blade.php | 2 +- .../views/livewire/forum/reply.blade.php | 20 +- .../views/livewire/forum/subscribe.blade.php | 8 +- resources/views/livewire/markdown-x.blade.php | 542 +++++--- .../modals/anonymous-sponsors.blade.php | 14 +- .../modals/approved-article.blade.php | 8 +- .../livewire/modals/delete-article.blade.php | 8 +- .../modals/delete-discussion.blade.php | 8 +- .../livewire/modals/delete-reply.blade.php | 8 +- .../livewire/modals/delete-thread.blade.php | 8 +- .../livewire/notifications-page.blade.php | 42 +- resources/views/livewire/reactions.blade.php | 40 +- .../livewire/sponsor-subscription.blade.php | 12 +- .../user/settings/customization.blade.php | 12 +- .../user/settings/notifications.blade.php | 14 +- .../views/partials/_leading-addons.blade.php | 4 +- resources/views/partials/_og.blade.php | 5 +- resources/views/partials/_search.blade.php | 12 +- .../views/partials/_socials-link.blade.php | 14 +- resources/views/slack.blade.php | 24 +- resources/views/sponsors/index.blade.php | 50 +- resources/views/user/dashboard.blade.php | 22 +- resources/views/user/discussions.blade.php | 4 +- resources/views/user/notifications.blade.php | 2 +- resources/views/user/profile.blade.php | 48 +- .../views/user/settings/password.blade.php | 16 +- .../views/user/settings/profile.blade.php | 36 +- resources/views/user/threads.blade.php | 4 +- .../components/forms/inputs/input.blade.php | 4 +- .../forms/inputs/textarea.blade.php | 4 +- .../components/forms/label.blade.php | 2 +- .../livewire-ui-spotlight/spotlight.blade.php | 2 +- .../vendor/livewire/simple-tailwind.blade.php | 12 +- .../views/vendor/livewire/tailwind.blade.php | 30 +- .../vendor/pagination/tailwind.blade.php | 30 +- .../most_active_users_per_week.blade.php | 12 +- .../most_liked_posts_per_week.blade.php | 8 +- .../most_viewed_posts_per_week.blade.php | 8 +- .../views/widgets/recent_numbers.blade.php | 24 +- .../widgets/recent_posts_per_week.blade.php | 12 +- tailwind.config.js | 73 +- tests/Feature/Auth/LoginTest.php | 3 + 189 files changed, 2420 insertions(+), 4812 deletions(-) delete mode 100644 config/media-library.php delete mode 100644 config/world.php delete mode 100644 lang/en.json create mode 100644 lang/en/actions.php create mode 100644 lang/en/global.php create mode 100644 lang/en/pages/article.php create mode 100644 lang/en/pages/auth.php create mode 100644 lang/en/pages/home.php delete mode 100644 lang/fr.json create mode 100644 lang/fr/actions.php create mode 100644 lang/fr/global.php create mode 100644 lang/fr/pages/article.php create mode 100644 lang/fr/pages/auth.php create mode 100644 lang/fr/pages/home.php delete mode 100644 lang/vendor/livewire-ui-spotlight/en/spotlight.php delete mode 100644 lang/vendor/livewire-ui-spotlight/fr/spotlight.php delete mode 100644 lang/vendor/world/en/country.php delete mode 100644 lang/vendor/world/en/response.php delete mode 100644 lang/vendor/world/fr/country.php delete mode 100644 lang/vendor/world/fr/response.php delete mode 100644 resources/css/christmas.css delete mode 100644 resources/css/media-library.css delete mode 100644 resources/css/partials/snow.css rename resources/views/components/{application-icon.blade.php => brand/icon.blade.php} (100%) create mode 100644 resources/views/components/brand/index.blade.php delete mode 100644 resources/views/components/button.blade.php create mode 100644 resources/views/components/buttons/default.blade.php create mode 100644 resources/views/components/buttons/primary.blade.php create mode 100644 resources/views/components/buttons/submit.blade.php delete mode 100644 resources/views/components/default-button.blade.php create mode 100644 resources/views/components/icon/discord.blade.php create mode 100644 resources/views/components/icon/telegram.blade.php create mode 100644 resources/views/components/icon/whatsapp.blade.php create mode 100644 resources/views/components/join-sponsors.blade.php create mode 100644 resources/views/components/link.blade.php create mode 100644 resources/views/components/nav/item.blade.php create mode 100644 resources/views/components/site-feature.blade.php create mode 100644 tests/Feature/Auth/LoginTest.php diff --git a/app/Http/Controllers/HomeController.php b/app/Http/Controllers/HomeController.php index 4a833da7..a28b1994 100644 --- a/app/Http/Controllers/HomeController.php +++ b/app/Http/Controllers/HomeController.php @@ -9,9 +9,10 @@ use App\Models\Plan; use App\Models\Thread; use Illuminate\Contracts\View\View; +use Illuminate\Support\Collection; use Illuminate\Support\Facades\Cache; -final class HomeController extends Controller +final class HomeController { public function __invoke(): View { @@ -21,37 +22,31 @@ public function __invoke(): View ->get(); }); - $latestArticles = Cache::remember('latestArticles', now()->addHour(), function () { - return Article::with(['tags', 'user', 'user.transactions']) - ->published() - ->orderByDesc('sponsored_at') - ->orderByDesc('published_at') - ->orderByViews() - ->trending() - ->limit(4) - ->get(); - }); - - $latestThreads = Cache::remember('latestThreads', now()->addHour(), function () { - return Thread::with(['user', 'user.transactions'])->whereNull('solution_reply_id') - ->whereBetween('threads.created_at', [now()->subMonths(3), now()]) - ->inRandomOrder() - ->limit(4) - ->get(); - }); - - $latestDiscussions = Cache::remember('latestDiscussions', now()->addHour(), function () { - return Discussion::with(['user', 'user.transactions']) - ->recent() - ->orderByViews() - ->limit(3) - ->get(); - }); + $latestArticles = Cache::remember('latestArticles', now()->addMinute(), fn (): Collection => Article::with(['tags', 'user', 'user.transactions']) + ->published() + ->orderByDesc('sponsored_at') + ->orderByDesc('published_at') + ->orderByViews() + ->trending() + ->limit(4) + ->get()); + + $latestThreads = Cache::remember('latestThreads', now()->addMinute(), fn (): Collection => Thread::with(['user', 'user.transactions'])->whereNull('solution_reply_id') + ->whereBetween('threads.created_at', [now()->subMonths(3), now()]) + ->inRandomOrder() + ->limit(4) + ->get()); + + $latestDiscussions = Cache::remember('latestDiscussions', now()->addMinute(), fn (): Collection => Discussion::with(['user', 'user.transactions']) + ->recent() + ->orderByViews() + ->limit(3) + ->get()); // @phpstan-ignore-next-line seo() - ->description('Laravel Cameroun est le portail de la communauté de développeurs PHP & Laravel au Cameroun, On partage, on apprend, on découvre et on construit une grande communauté.') - ->twitterDescription('Laravel Cameroun est le portail de la communauté de développeurs PHP & Laravel au Cameroun, On partage, on apprend, on découvre et on construit une grande communauté.') + ->description(__('pages/home.description')) + ->twitterDescription(__('pages/home.description')) ->image(asset('/images/socialcard.png')) ->twitterSite('laravelcm') ->withUrl(); diff --git a/config/filesystems.php b/config/filesystems.php index 5bf25831..36604361 100644 --- a/config/filesystems.php +++ b/config/filesystems.php @@ -76,6 +76,7 @@ 'links' => [ public_path('storage') => storage_path('app/public'), + public_path('media') => storage_path('app/media'), ], ]; diff --git a/config/media-library.php b/config/media-library.php deleted file mode 100644 index a6e91aff..00000000 --- a/config/media-library.php +++ /dev/null @@ -1,224 +0,0 @@ - env('MEDIA_DISK', 'public'), - - /* - * The maximum file size of an item in bytes. - * Adding a larger file will result in an exception. - */ - 'max_file_size' => 1024 * 1024 * 10, // 10MB - - /* - * This queue will be used to generate derived and responsive images. - * Leave empty to use the default queue. - */ - 'queue_name' => '', - - /* - * By default all conversions will be performed on a queue. - */ - 'queue_conversions_by_default' => env('QUEUE_CONVERSIONS_BY_DEFAULT', true), - - /* - * The fully qualified class name of the media model. - */ - 'media_model' => Spatie\MediaLibrary\MediaCollections\Models\Media::class, - - /* - * The fully qualified class name of the model used for temporary uploads. - * - * This model is only used in Media Library Pro (https://medialibrary.pro) - */ - 'temporary_upload_model' => Spatie\MediaLibraryPro\Models\TemporaryUpload::class, - - /* - * When enabled, Media Library Pro will only process temporary uploads there were uploaded - * in the same session. You can opt to disable this for stateless usage of - * the pro components. - */ - 'enable_temporary_uploads_session_affinity' => true, - - /* - * When enabled, Media Library pro will generate thumbnails for uploaded file. - */ - 'generate_thumbnails_for_temporary_uploads' => true, - - /* - * This is the class that is responsible for naming generated files. - */ - 'file_namer' => Spatie\MediaLibrary\Support\FileNamer\DefaultFileNamer::class, - - /* - * The class that contains the strategy for determining a media file's path. - */ - 'path_generator' => Spatie\MediaLibrary\Support\PathGenerator\DefaultPathGenerator::class, - - /* - * When urls to files get generated, this class will be called. Use the default - * if your files are stored locally above the site root or on s3. - */ - 'url_generator' => Spatie\MediaLibrary\Support\UrlGenerator\DefaultUrlGenerator::class, - - /* - * Moves media on updating to keep path consistent. Enable it only with a custom - * PathGenerator that uses, for example, the media UUID. - */ - 'moves_media_on_update' => false, - - /* - * Whether to activate versioning when urls to files get generated. - * When activated, this attaches a ?v=xx query string to the URL. - */ - 'version_urls' => false, - - /* - * The media library will try to optimize all converted images by removing - * metadata and applying a little bit of compression. These are - * the optimizers that will be used by default. - */ - 'image_optimizers' => [ - Spatie\ImageOptimizer\Optimizers\Jpegoptim::class => [ - '-m85', // set maximum quality to 85% - '--force', // ensure that progressive generation is always done also if a little bigger - '--strip-all', // this strips out all text information such as comments and EXIF data - '--all-progressive', // this will make sure the resulting image is a progressive one - ], - Spatie\ImageOptimizer\Optimizers\Pngquant::class => [ - '--force', // required parameter for this package - ], - Spatie\ImageOptimizer\Optimizers\Optipng::class => [ - '-i0', // this will result in a non-interlaced, progressive scanned image - '-o2', // this set the optimization level to two (multiple IDAT compression trials) - '-quiet', // required parameter for this package - ], - Spatie\ImageOptimizer\Optimizers\Svgo::class => [ - '--disable=cleanupIDs', // disabling because it is known to cause troubles - ], - Spatie\ImageOptimizer\Optimizers\Gifsicle::class => [ - '-b', // required parameter for this package - '-O3', // this produces the slowest but best results - ], - Spatie\ImageOptimizer\Optimizers\Cwebp::class => [ - '-m 6', // for the slowest compression method in order to get the best compression. - '-pass 10', // for maximizing the amount of analysis pass. - '-mt', // multithreading for some speed improvements. - '-q 90', //quality factor that brings the least noticeable changes. - ], - ], - - /* - * These generators will be used to create an image of media files. - */ - 'image_generators' => [ - Spatie\MediaLibrary\Conversions\ImageGenerators\Image::class, - Spatie\MediaLibrary\Conversions\ImageGenerators\Webp::class, - Spatie\MediaLibrary\Conversions\ImageGenerators\Pdf::class, - Spatie\MediaLibrary\Conversions\ImageGenerators\Svg::class, - Spatie\MediaLibrary\Conversions\ImageGenerators\Video::class, - ], - - /* - * The path where to store temporary files while performing image conversions. - * If set to null, storage_path('media-library/temp') will be used. - */ - 'temporary_directory_path' => null, - - /* - * The engine that should perform the image conversions. - * Should be either `gd` or `imagick`. - */ - 'image_driver' => env('IMAGE_DRIVER', 'gd'), - - /* - * FFMPEG & FFProbe binaries paths, only used if you try to generate video - * thumbnails and have installed the php-ffmpeg/php-ffmpeg composer - * dependency. - */ - 'ffmpeg_path' => env('FFMPEG_PATH', '/usr/bin/ffmpeg'), - 'ffprobe_path' => env('FFPROBE_PATH', '/usr/bin/ffprobe'), - - /* - * Here you can override the class names of the jobs used by this package. Make sure - * your custom jobs extend the ones provided by the package. - */ - 'jobs' => [ - 'perform_conversions' => Spatie\MediaLibrary\Conversions\Jobs\PerformConversionsJob::class, - 'generate_responsive_images' => Spatie\MediaLibrary\ResponsiveImages\Jobs\GenerateResponsiveImagesJob::class, - ], - - /* - * When using the addMediaFromUrl method you may want to replace the default downloader. - * This is particularly useful when the url of the image is behind a firewall and - * need to add additional flags, possibly using curl. - */ - 'media_downloader' => Spatie\MediaLibrary\Downloaders\DefaultDownloader::class, - - 'remote' => [ - /* - * Any extra headers that should be included when uploading media to - * a remote disk. Even though supported headers may vary between - * different drivers, a sensible default has been provided. - * - * Supported by S3: CacheControl, Expires, StorageClass, - * ServerSideEncryption, Metadata, ACL, ContentEncoding - */ - 'extra_headers' => [ - 'CacheControl' => 'max-age=604800', - ], - ], - - 'responsive_images' => [ - /* - * This class is responsible for calculating the target widths of the responsive - * images. By default we optimize for filesize and create variations that each are 20% - * smaller than the previous one. More info in the documentation. - * - * https://docs.spatie.be/laravel-medialibrary/v9/advanced-usage/generating-responsive-images - */ - 'width_calculator' => Spatie\MediaLibrary\ResponsiveImages\WidthCalculator\FileSizeOptimizedWidthCalculator::class, - - /* - * By default rendering media to a responsive image will add some javascript and a tiny placeholder. - * This ensures that the browser can already determine the correct layout. - */ - 'use_tiny_placeholders' => true, - - /* - * This class will generate the tiny placeholder used for progressive image loading. By default - * the media library will use a tiny blurred jpg image. - */ - 'tiny_placeholder_generator' => Spatie\MediaLibrary\ResponsiveImages\TinyPlaceholderGenerator\Blurred::class, - ], - - /* - * When enabling this option, a route will be registered that will enable - * the Media Library Pro Vue and React components to move uploaded files - * in a S3 bucket to their right place. - */ - 'enable_vapor_uploads' => env('ENABLE_MEDIA_LIBRARY_VAPOR_UPLOADS', false), - - /* - * When converting Media instances to response the media library will add - * a `loading` attribute to the `img` tag. Here you can set the default - * value of that attribute. - * - * Possible values: 'lazy', 'eager', 'auto' or null if you don't want to set any loading instruction. - * - * More info: https://css-tricks.com/native-lazy-loading/ - */ - 'default_loading_attribute_value' => null, - - /* - * You can specify a prefix for that is used for storing all media. - * If you set this to `/my-subdir`, all your media will be stored in a `/my-subdir` directory. - */ - 'prefix' => env('MEDIA_PREFIX', ''), -]; diff --git a/config/world.php b/config/world.php deleted file mode 100644 index 6d29dba9..00000000 --- a/config/world.php +++ /dev/null @@ -1,172 +0,0 @@ - [], - - /* - |-------------------------------------------------------------------------- - | Disallowed countries to not be loaded - | Leave it empty to allow all countries to be loaded else include the - | country iso2 value in the disallowed_countries array - |-------------------------------------------------------------------------- - */ - 'disallowed_countries' => [], - - /* - |-------------------------------------------------------------------------- - | Supported locales. - |-------------------------------------------------------------------------- - */ - 'accepted_locales' => [ - // 'ar', - // 'bn', - // 'br', - // 'de', - 'en', - // 'es', - 'fr', - // 'it', - // 'ja', - // 'kr', - // 'nl', - // 'pl', - // 'pt', - // 'ro', - // 'ru', - // 'tr', - // 'zh', - ], - /* - |-------------------------------------------------------------------------- - | Enabled modules. - | The cities module depends on the states module. - |-------------------------------------------------------------------------- - */ - 'modules' => [ - 'states' => true, - 'cities' => true, - 'timezones' => true, - 'currencies' => false, - 'languages' => false, - ], - /* - |-------------------------------------------------------------------------- - | Routes. - |-------------------------------------------------------------------------- - */ - 'routes' => true, - /* - |-------------------------------------------------------------------------- - | Migrations. - |-------------------------------------------------------------------------- - */ - 'migrations' => [ - 'countries' => [ - 'table_name' => 'countries', - 'optional_fields' => [ - 'phone_code' => [ - 'required' => true, - 'type' => 'string', - 'length' => 5, - ], - 'iso3' => [ - 'required' => true, - 'type' => 'string', - 'length' => 3, - ], - 'native' => [ - 'required' => false, - 'type' => 'string', - ], - 'region' => [ - 'required' => true, - 'type' => 'string', - ], - 'subregion' => [ - 'required' => true, - 'type' => 'string', - ], - 'latitude' => [ - 'required' => false, - 'type' => 'string', - ], - 'longitude' => [ - 'required' => false, - 'type' => 'string', - ], - 'emoji' => [ - 'required' => false, - 'type' => 'string', - ], - 'emojiU' => [ - 'required' => false, - 'type' => 'string', - ], - ], - ], - 'states' => [ - 'table_name' => 'states', - 'optional_fields' => [ - 'country_code' => [ - 'required' => true, - 'type' => 'string', - 'length' => 3, - ], - 'state_code' => [ - 'required' => false, - 'type' => 'string', - 'length' => 3, - ], - 'latitude' => [ - 'required' => false, - 'type' => 'string', - ], - 'longitude' => [ - 'required' => false, - 'type' => 'string', - ], - ], - ], - 'cities' => [ - 'table_name' => 'cities', - 'optional_fields' => [ - 'country_code' => [ - 'required' => true, - 'type' => 'string', - 'length' => 3, - ], - 'state_code' => [ - 'required' => false, - 'type' => 'string', - 'length' => 3, - ], - 'latitude' => [ - 'required' => false, - 'type' => 'string', - ], - 'longitude' => [ - 'required' => false, - 'type' => 'string', - ], - ], - ], - 'timezones' => [ - 'table_name' => 'timezones', - ], - 'currencies' => [ - 'table_name' => 'currencies', - ], - 'languages' => [ - 'table_name' => 'languages', - ], - ], -]; diff --git a/database/seeders/Fixtures/ArticleTableSeeder.php b/database/seeders/Fixtures/ArticleTableSeeder.php index ac756bfd..20b323ad 100644 --- a/database/seeders/Fixtures/ArticleTableSeeder.php +++ b/database/seeders/Fixtures/ArticleTableSeeder.php @@ -128,7 +128,7 @@ public function run(): void 'user_id' => (int) array_rand($usersIds), ]); $article1->syncTags(array_rand($tagsIds, 3)); - $article1->addMediaFromUrl("https://source.unsplash.com/random/1200x640/?img={$article1->id}") + $article1->addMediaFromUrl("https://unsplash.it/1920/1080?random={$article1->id}") ->toMediaCollection('media'); /** @var Article $article2 */ @@ -395,7 +395,7 @@ public function run(): void 'user_id' => (int) array_rand($usersIds), ]); $article2->syncTags(array_rand($tagsIds, 3)); - $article2->addMediaFromUrl("https://source.unsplash.com/random/1200x640/?img={$article2->id}") + $article2->addMediaFromUrl("https://unsplash.it/1920/1080?random={$article2->id}") ->toMediaCollection('media'); /** @var Article $article3 */ @@ -518,7 +518,7 @@ public function run(): void 'user_id' => (int) array_rand($usersIds), ]); $article3->syncTags(array_rand($tagsIds, 3)); - $article3->addMediaFromUrl("https://source.unsplash.com/random/1200x640/?img={$article3->id}") + $article3->addMediaFromUrl("https://unsplash.it/1920/1080?random={$article3->id}") ->toMediaCollection('media'); /** @var Article $article4 */ @@ -1102,7 +1102,7 @@ public function run(): void 'user_id' => (int) array_rand($usersIds), ]); $article4->syncTags(array_rand($tagsIds, 3)); - $article4->addMediaFromUrl("https://source.unsplash.com/random/1200x640/?img={$article4->id}") + $article4->addMediaFromUrl("https://unsplash.it/1920/1080?random={$article4->id}") ->toMediaCollection('media'); /** @var Article $article5 */ @@ -1176,7 +1176,7 @@ public function run(): void 'user_id' => (int) array_rand($usersIds), ]); $article5->syncTags(array_rand($tagsIds, 3)); - $article5->addMediaFromUrl("https://source.unsplash.com/random/1200x640/?img={$article5->id}") + $article5->addMediaFromUrl("https://unsplash.it/1920/1080?random={$article5->id}") ->toMediaCollection('media'); /** @var Article $article6 */ @@ -1254,7 +1254,7 @@ public function run(): void 'user_id' => (int) array_rand($usersIds), ]); $article6->syncTags(array_rand($tagsIds, 3)); - $article6->addMediaFromUrl("https://source.unsplash.com/random/1200x640/?img={$article6->id}") + $article6->addMediaFromUrl("https://unsplash.it/1920/1080?random={$article6->id}") ->toMediaCollection('media'); } } diff --git a/lang/en.json b/lang/en.json deleted file mode 100644 index a41ce909..00000000 --- a/lang/en.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "The :attribute must be at least :length characters.": "The :attribute must be at least :length characters.", - "The given :attribute has appeared in a data leak. Please choose a different :attribute.": "The given :attribute has appeared in a data leak. Please choose a different :attribute.", - "Verify Email Address": "Verify Email Address", - "Please click the button below to verify your email address.": "Please click the button below to verify your email address.", - "If you did not create an account, no further action is required.": "If you did not create an account, no further action is required." -} diff --git a/lang/en/actions.php b/lang/en/actions.php new file mode 100644 index 00000000..a131fde7 --- /dev/null +++ b/lang/en/actions.php @@ -0,0 +1,12 @@ + 'Lancer un thread', + 'edit' => 'Edit', + 'approve' => 'Approve', + 'delete' => 'Delete', + +]; diff --git a/lang/en/global.php b/lang/en/global.php new file mode 100644 index 00000000..f3eaf03e --- /dev/null +++ b/lang/en/global.php @@ -0,0 +1,49 @@ + 'Laravel Cameroon', + 'site_description' => 'Welcome to the Cameroon PHP and Laravel developer community, the largest gathering of developers in Cameroon.', + 'by' => 'by', + 'soon' => 'Soon', + 'navigation' => [ + 'forum' => 'Forum', + 'articles' => 'Posts', + 'discussions' => 'Discussions', + 'about' => 'About', + 'podcasts' => 'Podcasts', + 'jobs' => 'Jobs', + 'sponsors' => 'Sponsors', + 'branding' => 'Branding', + 'faq' => 'FAQ', + 'rules' => 'Rules', + 'privacy' => 'Privacy Policy', + 'terms' => 'Terms & Conditions', + ], + 'footer' => [ + 'title' => 'Footer', + 'copyright' => '© 2018 - :date Laravel Cameroon. All rights reserved.', + 'legal' => 'Legal', + 'resources' => 'Resources', + ], + 'joins_us' => [ + 'title' => 'Join us', + 'description' => 'Integrate our various communication platforms, receive tutorials, articles and podcasts on web design and programming.', + ], + 'ask' => 'asked', + 'posted_by' => 'Posted by', + 'members' => 'Members', + 'developers' => 'PHP & Laravel developers', + 'event_rates' => 'Event participation rates', + 'stars' => 'stars', + 'sponsor_thanks' => "We'd like to thank these amazing companies for supporting us", + 'search' => 'Search', + 'search_placeholder' => 'Search content...', + 'logout' => 'Logout', + 'sponsored' => 'Sponsored', + 'read_time' => ':time min reading', + 'page_views' => ':number views', + +]; diff --git a/lang/en/pages/article.php b/lang/en/pages/article.php new file mode 100644 index 00000000..21d6764a --- /dev/null +++ b/lang/en/pages/article.php @@ -0,0 +1,12 @@ + 'About author', + 'next_article' => 'Next article', + 'prev_article' => 'Previous article', + 'share_article' => 'Do you like this article? Share it with others', + +]; diff --git a/lang/en/pages/auth.php b/lang/en/pages/auth.php new file mode 100644 index 00000000..1ff25e6c --- /dev/null +++ b/lang/en/pages/auth.php @@ -0,0 +1,45 @@ + [ + 'page_title' => 'Log in', + 'title' => 'Login to your account', + 'forgot_password' => 'Forgot your password?', + 'remember_me' => 'Remember me', + 'submit' => 'Log in', + ], + + 'register' => [ + 'page_title' => 'Create an account', + 'join_us' => 'Join Laravel Cameroon', + 'joins_description' => "Join nearly 1000 developers and designers. Because there's more to life than code.", + 'password_placeholder' => 'Password (min. 6 characters)', + 'submit' => 'Create account', + 'advantages' => [ + 'heading' => 'Open your mind and discover new horizons.', + 'quote' => 'A lone developer is like an isolated node—limited in reach, influence, and growth. Just as software thrives on interconnected components, so do developers flourish in the collaborative ecosystem of a community.', + 'quote_authors' => 'by Andrew Hunt and David Thomas', + ], + 'podcast' => 'Podcast', + 'podcast_description' => 'Follow podcasts on different topics with freelancers, developers, entrepreneurs, etc.', + 'discussion' => 'Discussions', + 'discussion_description' => 'Take part in open discussions and debates with several other participants.', + 'snippet' => 'Snippets code', + 'snippet_description' => 'Share source code for different languages to help other developers.', + 'premium' => 'Premium', + 'premium_description' => 'Become premium, support the community and access private content and source code.', + ], + + 'forgot' => [ + 'page_title' => 'Forgot password', + 'title' => 'Password reset', + 'description' => "Forgot your password? No problem at all. Just give us your e-mail address and we'll e-mail you a e-mail you a password reset link that will allow you to choose a new one. a new one.", + ], + + 'continue' => 'Or continue with', + 'continue_with' => 'Continue with :social', + +]; diff --git a/lang/en/pages/home.php b/lang/en/pages/home.php new file mode 100644 index 00000000..a8ad6f19 --- /dev/null +++ b/lang/en/pages/home.php @@ -0,0 +1,45 @@ + 'La plus grande communauté de développeurs Laravel & PHP au Cameroun', + 'description' => 'Laravel Cameroun est le portail de la communauté de développeurs PHP & Laravel au Cameroun, on partage, on apprend, on découvre et on construit une grande communauté.', + 'sponsor' => [ + 'title' => 'Sponsor', + 'description' => 'Soutenez Laravel Cameroun aujourd\'hui en sponsorisant', + 'description_small' => 'Soutenez Laravel Cameroun', + ], + 'join_community' => 'Join the community', + 'visit_forum' => 'Visit the forum', + 'work_associations' => 'Nous travaillons avec d’autres communautés et startups', + 'view_logo_question' => 'Votre logo ici ?', + 'popular_posts' => [ + 'title' => 'Popular Posts', + 'description' => 'Découvrez les articles les plus appréciés et partagés par les membres de la communauté', + ], + 'view_posts' => 'Voir tous les articles', + 'threads' => [ + 'title' => 'On apprend aussi en aidant les autres', + 'description' => 'En rejoignant la communauté, vous pouvez consulter les dernières questions non résolues et apporter votre pierre à l’édifice.', + 'show' => 'Afficher la question', + 'show_all' => 'Voir tous les sujets', + ], + 'discussions' => [ + 'title' => 'Ou venez juste discuter', + 'description' => 'Dans la communauté on partage aussi des sujets de discussions dans divers domaines, pour nous édifier tous ensemble. Rejoins nous en participant', + 'read' => 'Lire la discussion', + 'show_all' => 'Voir toutes les discussions', + ], + 'about' => [ + 'heading' => "Nous construisons une communauté Open Source d'apprenants et d'enseignants", + 'everybody_learn' => 'Tout le monde enseigne, tout le monde apprend', + 'community_spirit' => "Tel est l'esprit qui est derrière la communauté. Une communauté qui se veut grandissante et qui donne la possibilité à tout le monde de partager ses connaissances et d'apprendre.", + 'join_members' => 'qui ont rejoint les différents groupes de la communauté', + 'developers_location' => 'dans l’ensemble du territoire national.', + 'young_community' => 'car la communauté est encore très jeune.', + 'projects' => 'sur les projets réalisés par les développeurs camerounais sur Github.', + ], + +]; diff --git a/lang/fr.json b/lang/fr.json deleted file mode 100644 index bbd27e39..00000000 --- a/lang/fr.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "The :attribute must be at least :length characters.": "Le champ :attribute doit contenir au moins :length caractères.", - "The given :attribute has appeared in a data leak. Please choose a different :attribute.": "Le champ :attribute donné est apparu dans une fuite de données. Veuillez choisir un autre :attribute.", - "Verify Email Address": "Vérifier l'adresse e-mail", - "Please click the button below to verify your email address.": "Veuillez cliquer sur le bouton ci-dessous pour vérifier votre adresse email.", - "If you did not create an account, no further action is required.": "Si vous n'avez pas créé de compte, aucune autre action n'est requise." -} diff --git a/lang/fr/actions.php b/lang/fr/actions.php new file mode 100644 index 00000000..4925039d --- /dev/null +++ b/lang/fr/actions.php @@ -0,0 +1,12 @@ + 'Lancer un thread', + 'edit' => 'Éditer', + 'approve' => 'Approuver', + 'delete' => 'Supprimer', + +]; diff --git a/lang/fr/global.php b/lang/fr/global.php new file mode 100644 index 00000000..e322dc7a --- /dev/null +++ b/lang/fr/global.php @@ -0,0 +1,49 @@ + 'Laravel Cameroun', + 'site_description' => 'Bienvenue sur le site de la communauté des développeurs PHP et Laravel du Cameroun, le plus gros rassemblement de développeurs au Cameroun.', + 'by' => 'par', + 'soon' => 'Bientôt', + 'navigation' => [ + 'forum' => 'Forum', + 'articles' => 'Articles', + 'discussions' => 'Discussions', + 'about' => 'A propos', + 'podcasts' => 'Podcasts', + 'jobs' => 'Offres', + 'sponsors' => 'Soutien', + 'branding' => 'Branding', + 'faq' => 'FAQ', + 'rules' => 'Code de conduite', + 'privacy' => 'Confidentialité', + 'terms' => 'Conditions d’utilisation', + ], + 'footer' => [ + 'title' => 'Pied de page', + 'copyright' => '© 2018 - :date Laravel Cameroun. Tous droits réservés.', + 'legal' => 'Légal', + 'resources' => 'Ressources', + ], + 'joins_us' => [ + 'title' => 'Rejoignez nous', + 'description' => 'Intégrez nos différentes plateformes de communication, recevez des tutoriels, articles et podcasts sur le design et la programmation web.', + ], + 'ask' => 'a posé', + 'posted_by' => 'Posté par', + 'members' => 'Membres', + 'developers' => 'Développeurs PHP & Laravel', + 'event_rates' => 'Taux de participation aux événements', + 'stars' => 'stars', + 'sponsor_thanks' => 'Nous disons à merci à ces entreprises et communautés pour leur soutien', + 'search' => 'Recherche', + 'search_placeholder' => 'Rechercher un contenu...', + 'logout' => 'Se déconnecter', + 'sponsored' => 'Sponsorisé', + 'read_time' => ':time min de lecture', + 'page_views' => ':number vues', + +]; diff --git a/lang/fr/pages/article.php b/lang/fr/pages/article.php new file mode 100644 index 00000000..068e25de --- /dev/null +++ b/lang/fr/pages/article.php @@ -0,0 +1,12 @@ + 'À propos de l’auteur', + 'next_article' => 'Article suivant', + 'prev_article' => 'Article précédent', + 'share_article' => 'Vous aimez cet article ? Faite le savoir en partageant', + +]; diff --git a/lang/fr/pages/auth.php b/lang/fr/pages/auth.php new file mode 100644 index 00000000..abb5da88 --- /dev/null +++ b/lang/fr/pages/auth.php @@ -0,0 +1,61 @@ + [ + 'page_title' => 'Se connecter', + 'title' => 'Se connecter à son compte', + 'forgot_password' => 'Mot de passe oublié ?', + 'remember_me' => 'Se souvenir de moi', + 'submit' => 'Se connecter', + ], + + 'register' => [ + 'page_title' => 'Créer un compte', + 'join_us' => 'Rejoindre Laravel Cameroun', + 'joins_description' => 'Rejoignez près de 1000 développeurs et designers. Parce qu’il n y’a pas que le code dans la vie.', + 'password_placeholder' => 'Mot de passe (min. 6 caractères)', + 'submit' => 'Créer mon compte', + 'advantages' => [ + 'heading' => 'Ouvrez votre esprit pour découvrir de nouveaux horizons.', + 'quote' => "Un développeur solitaire est comme un nœud isolé - limité en termes de portée, d'influence et de croissance. Tout comme les logiciels se développent grâce à des composants interconnectés, les développeurs s'épanouissent dans l'écosystème collaboratif d'une communauté.", + 'quote_authors' => 'par Andrew Hunt et David Thomas', + 'podcast' => 'Podcast', + 'podcast_description' => 'Suivez des podcasts sur différentes thématiques avec des freelances, développeurs, entrepreneurs etc.', + 'discussion' => 'Discussions', + 'discussion_description' => 'Participez à des discussions et débats ouverts avec plusieurs autres participants.', + 'snippet' => 'Code Snippets', + 'snippet_description' => 'Partagez des codes sources de différents langages pour venir en aide à d’autres développeurs.', + 'premium' => 'Premium', + 'premium_description' => 'Devenez premium, supportez la communauté et accéder à des contenus et codes sources privés.', + ], + ], + + 'forgot' => [ + 'page_title' => 'Mot de passe oublié', + 'title' => 'Réinitialisation du mot de passe', + 'description' => "Mot de passe oublié ? Aucun problème. Communiquez-nous simplement votre adresse e-mail et nous vous + enverrons par e-mail un lien de réinitialisation de mot de passe qui vous permettra d'en choisir un + nouveau.", + ], + + 'reset' => [ + 'page_title' => 'Réinitialiser votre mot de passe', + 'submit' => 'Réinitialiser mot de passe', + ], + + 'verify' => [ + 'page_title' => "Vérification de l'adresse e-mail", + 'description' => "Merci pour votre inscription ! Avant de commencer, pourriez-vous vérifier votre adresse e-mail en + cliquant sur le lien que nous venons de vous envoyer par e-mail ? Si vous n'avez pas reçu l'e-mail, nous + nous ferons un plaisir de vous en envoyer un autre.", + 'success' => "Un nouveau lien de vérification a été envoyé à l'adresse e-mail que vous avez fournie lors de l'inscription ou la modification de votre adresse.", + 'submit' => "Renvoyer l'e-mail de vérification", + ], + + 'continue' => 'Ou continuer avec', + 'continue_with' => 'Continuer avec :social', + +]; diff --git a/lang/fr/pages/home.php b/lang/fr/pages/home.php new file mode 100644 index 00000000..ee47efba --- /dev/null +++ b/lang/fr/pages/home.php @@ -0,0 +1,45 @@ + 'La plus grande communauté de développeurs Laravel & PHP au Cameroun', + 'description' => 'Laravel Cameroun est le portail de la communauté de développeurs PHP & Laravel au Cameroun, on partage, on apprend, on découvre et on construit une grande communauté.', + 'sponsor' => [ + 'title' => 'Sponsor', + 'description' => 'Soutenez Laravel Cameroun aujourd\'hui en sponsorisant', + 'description_small' => 'Soutenez Laravel Cameroun', + ], + 'join_community' => 'Rejoindre la communauté', + 'visit_forum' => 'Visiter le Forum', + 'work_associations' => 'Nous travaillons avec d’autres communautés et startups', + 'view_logo_question' => 'Votre logo ici ?', + 'popular_posts' => [ + 'title' => 'Articles Populaires', + 'description' => 'Découvrez les articles les plus appréciés et partagés par les membres de la communauté', + ], + 'view_posts' => 'Voir tous les articles', + 'threads' => [ + 'title' => 'On apprend aussi en aidant les autres', + 'description' => 'En rejoignant la communauté, vous pouvez consulter les dernières questions non résolues et apporter votre pierre à l’édifice.', + 'show' => 'Afficher la question', + 'show_all' => 'Voir tous les sujets', + ], + 'discussions' => [ + 'title' => 'Ou venez juste discuter', + 'description' => 'Dans la communauté on partage aussi des sujets de discussions dans divers domaines, pour nous édifier tous ensemble. Rejoins nous en participant', + 'read' => 'Lire la discussion', + 'show_all' => 'Voir toutes les discussions', + ], + 'about' => [ + 'heading' => "Nous construisons une communauté Open Source d'apprenants et d'enseignants", + 'everybody_learn' => 'Tout le monde enseigne, tout le monde apprend', + 'community_spirit' => "Tel est l'esprit qui est derrière la communauté. Une communauté qui se veut grandissante et qui donne la possibilité à tout le monde de partager ses connaissances et d'apprendre.", + 'join_members' => 'qui ont rejoint les différents groupes de la communauté', + 'developers_location' => 'dans l’ensemble du territoire national.', + 'young_community' => 'car la communauté est encore très jeune.', + 'projects' => 'sur les projets réalisés par les développeurs camerounais sur Github.', + ], + +]; diff --git a/lang/fr/validation.php b/lang/fr/validation.php index 1c40481c..22d42a54 100644 --- a/lang/fr/validation.php +++ b/lang/fr/validation.php @@ -176,7 +176,7 @@ 'date' => 'date', 'day' => 'jour', 'description' => 'description', - 'email' => 'adresse email', + 'email' => 'Adresse email', 'excerpt' => 'extrait', 'first_name' => 'prénom', 'gender' => 'genre', @@ -185,16 +185,16 @@ 'minute' => 'minute', 'mobile' => 'portable', 'month' => 'mois', - 'name' => 'nom', - 'password' => 'mot de passe', - 'password_confirmation' => 'confirmation du mot de passe', + 'name' => 'Nom complet', + 'password' => 'Mot de passe', + 'password_confirmation' => 'Confirmation du mot de passe', 'phone' => 'téléphone', 'second' => 'seconde', 'sex' => 'sexe', 'size' => 'taille', 'time' => 'heure', 'title' => 'titre', - 'username' => 'nom d\'utilisateur', + 'username' => 'Pseudo d\'utilisateur', 'year' => 'année', ], diff --git a/lang/vendor/livewire-ui-spotlight/en/spotlight.php b/lang/vendor/livewire-ui-spotlight/en/spotlight.php deleted file mode 100644 index 1bb43a8b..00000000 --- a/lang/vendor/livewire-ui-spotlight/en/spotlight.php +++ /dev/null @@ -1,5 +0,0 @@ - 'What do you want to do?', -]; diff --git a/lang/vendor/livewire-ui-spotlight/fr/spotlight.php b/lang/vendor/livewire-ui-spotlight/fr/spotlight.php deleted file mode 100644 index eb3c1631..00000000 --- a/lang/vendor/livewire-ui-spotlight/fr/spotlight.php +++ /dev/null @@ -1,5 +0,0 @@ - 'Que recherchez-vous ?', -]; diff --git a/lang/vendor/world/en/country.php b/lang/vendor/world/en/country.php deleted file mode 100644 index 664778c1..00000000 --- a/lang/vendor/world/en/country.php +++ /dev/null @@ -1,253 +0,0 @@ - 'Afghanistan', - 'AX' => 'Åland Islands', - 'AL' => 'Albania', - 'DZ' => 'Algeria', - 'AS' => 'American Samoa', - 'AD' => 'Andorra', - 'AO' => 'Angola', - 'AI' => 'Anguilla', - 'AQ' => 'Antarctica', - 'AG' => 'Antigua & Barbuda', - 'AR' => 'Argentina', - 'AM' => 'Armenia', - 'AW' => 'Aruba', - 'AU' => 'Australia', - 'AT' => 'Austria', - 'AZ' => 'Azerbaijan', - 'BS' => 'Bahamas', - 'BH' => 'Bahrain', - 'BD' => 'Bangladesh', - 'BB' => 'Barbados', - 'BY' => 'Belarus', - 'BE' => 'Belgium', - 'BZ' => 'Belize', - 'BJ' => 'Benin', - 'BM' => 'Bermuda', - 'BT' => 'Bhutan', - 'BO' => 'Bolivia', - 'BA' => 'Bosnia & Herzegovina', - 'BW' => 'Botswana', - 'BV' => 'Bouvet Island', - 'BR' => 'Brazil', - 'IO' => 'British Indian Ocean Territory', - 'VG' => 'British Virgin Islands', - 'BN' => 'Brunei', - 'BG' => 'Bulgaria', - 'BF' => 'Burkina Faso', - 'BI' => 'Burundi', - 'KH' => 'Cambodia', - 'CM' => 'Cameroon', - 'CA' => 'Canada', - 'CV' => 'Cape Verde', - 'BQ' => 'Caribbean Netherlands', - 'KY' => 'Cayman Islands', - 'CF' => 'Central African Republic', - 'TD' => 'Chad', - 'CL' => 'Chile', - 'CN' => 'China', - 'CX' => 'Christmas Island', - 'CC' => 'Cocos (Keeling) Islands', - 'CO' => 'Colombia', - 'KM' => 'Comoros', - 'CG' => 'Congo - Brazzaville', - 'CD' => 'Congo - Kinshasa', - 'CK' => 'Cook Islands', - 'CR' => 'Costa Rica', - 'CI' => 'Côte d’Ivoire', - 'HR' => 'Croatia', - 'CU' => 'Cuba', - 'CW' => 'Curaçao', - 'CY' => 'Cyprus', - 'CZ' => 'Czechia', - 'DK' => 'Denmark', - 'DJ' => 'Djibouti', - 'DM' => 'Dominica', - 'DO' => 'Dominican Republic', - 'EC' => 'Ecuador', - 'EG' => 'Egypt', - 'SV' => 'El Salvador', - 'GQ' => 'Equatorial Guinea', - 'ER' => 'Eritrea', - 'EE' => 'Estonia', - 'SZ' => 'Eswatini', - 'ET' => 'Ethiopia', - 'FK' => 'Falkland Islands', - 'FO' => 'Faroe Islands', - 'FJ' => 'Fiji', - 'FI' => 'Finland', - 'FR' => 'France', - 'GF' => 'French Guiana', - 'PF' => 'French Polynesia', - 'TF' => 'French Southern Territories', - 'GA' => 'Gabon', - 'GM' => 'Gambia', - 'GE' => 'Georgia', - 'DE' => 'Germany', - 'GH' => 'Ghana', - 'GI' => 'Gibraltar', - 'GR' => 'Greece', - 'GL' => 'Greenland', - 'GD' => 'Grenada', - 'GP' => 'Guadeloupe', - 'GU' => 'Guam', - 'GT' => 'Guatemala', - 'GG' => 'Guernsey', - 'GN' => 'Guinea', - 'GW' => 'Guinea-Bissau', - 'GY' => 'Guyana', - 'HT' => 'Haiti', - 'HM' => 'Heard & McDonald Islands', - 'HN' => 'Honduras', - 'HK' => 'Hong Kong SAR China', - 'HU' => 'Hungary', - 'IS' => 'Iceland', - 'IN' => 'India', - 'ID' => 'Indonesia', - 'IR' => 'Iran', - 'IQ' => 'Iraq', - 'IE' => 'Ireland', - 'IM' => 'Isle of Man', - 'IL' => 'Israel', - 'IT' => 'Italy', - 'JM' => 'Jamaica', - 'JP' => 'Japan', - 'JE' => 'Jersey', - 'JO' => 'Jordan', - 'KZ' => 'Kazakhstan', - 'KE' => 'Kenya', - 'KI' => 'Kiribati', - 'KW' => 'Kuwait', - 'KG' => 'Kyrgyzstan', - 'LA' => 'Laos', - 'LV' => 'Latvia', - 'LB' => 'Lebanon', - 'LS' => 'Lesotho', - 'LR' => 'Liberia', - 'LY' => 'Libya', - 'LI' => 'Liechtenstein', - 'LT' => 'Lithuania', - 'LU' => 'Luxembourg', - 'MO' => 'Macao SAR China', - 'MG' => 'Madagascar', - 'MW' => 'Malawi', - 'MY' => 'Malaysia', - 'MV' => 'Maldives', - 'ML' => 'Mali', - 'MT' => 'Malta', - 'MH' => 'Marshall Islands', - 'MQ' => 'Martinique', - 'MR' => 'Mauritania', - 'MU' => 'Mauritius', - 'YT' => 'Mayotte', - 'MX' => 'Mexico', - 'FM' => 'Micronesia', - 'MD' => 'Moldova', - 'MC' => 'Monaco', - 'MN' => 'Mongolia', - 'ME' => 'Montenegro', - 'MS' => 'Montserrat', - 'MA' => 'Morocco', - 'MZ' => 'Mozambique', - 'MM' => 'Myanmar (Burma)', - 'NA' => 'Namibia', - 'NR' => 'Nauru', - 'NP' => 'Nepal', - 'NL' => 'Netherlands', - 'NC' => 'New Caledonia', - 'NZ' => 'New Zealand', - 'NI' => 'Nicaragua', - 'NE' => 'Niger', - 'NG' => 'Nigeria', - 'NU' => 'Niue', - 'NF' => 'Norfolk Island', - 'KP' => 'North Korea', - 'MK' => 'North Macedonia', - 'MP' => 'Northern Mariana Islands', - 'NO' => 'Norway', - 'OM' => 'Oman', - 'PK' => 'Pakistan', - 'PW' => 'Palau', - 'PS' => 'Palestinian Territories', - 'PA' => 'Panama', - 'PG' => 'Papua New Guinea', - 'PY' => 'Paraguay', - 'PE' => 'Peru', - 'PH' => 'Philippines', - 'PN' => 'Pitcairn Islands', - 'PL' => 'Poland', - 'PT' => 'Portugal', - 'PR' => 'Puerto Rico', - 'QA' => 'Qatar', - 'RE' => 'Réunion', - 'RO' => 'Romania', - 'RU' => 'Russia', - 'RW' => 'Rwanda', - 'WS' => 'Samoa', - 'SM' => 'San Marino', - 'ST' => 'São Tomé & Príncipe', - 'SA' => 'Saudi Arabia', - 'SN' => 'Senegal', - 'RS' => 'Serbia', - 'SC' => 'Seychelles', - 'SL' => 'Sierra Leone', - 'SG' => 'Singapore', - 'SX' => 'Sint Maarten', - 'SK' => 'Slovakia', - 'SI' => 'Slovenia', - 'SB' => 'Solomon Islands', - 'SO' => 'Somalia', - 'ZA' => 'South Africa', - 'GS' => 'South Georgia & South Sandwich Islands', - 'KR' => 'South Korea', - 'SS' => 'South Sudan', - 'ES' => 'Spain', - 'LK' => 'Sri Lanka', - 'BL' => 'St. Barthélemy', - 'SH' => 'St. Helena', - 'KN' => 'St. Kitts & Nevis', - 'LC' => 'St. Lucia', - 'MF' => 'St. Martin', - 'PM' => 'St. Pierre & Miquelon', - 'VC' => 'St. Vincent & Grenadines', - 'SD' => 'Sudan', - 'SR' => 'Suriname', - 'SJ' => 'Svalbard & Jan Mayen', - 'SE' => 'Sweden', - 'CH' => 'Switzerland', - 'SY' => 'Syria', - 'TW' => 'Taiwan', - 'TJ' => 'Tajikistan', - 'TZ' => 'Tanzania', - 'TH' => 'Thailand', - 'TL' => 'Timor-Leste', - 'TG' => 'Togo', - 'TK' => 'Tokelau', - 'TO' => 'Tonga', - 'TT' => 'Trinidad & Tobago', - 'TN' => 'Tunisia', - 'TR' => 'Turkey', - 'TM' => 'Turkmenistan', - 'TC' => 'Turks & Caicos Islands', - 'TV' => 'Tuvalu', - 'UM' => 'U.S. Outlying Islands', - 'VI' => 'U.S. Virgin Islands', - 'UG' => 'Uganda', - 'UA' => 'Ukraine', - 'AE' => 'United Arab Emirates', - 'GB' => 'United Kingdom', - 'US' => 'United States', - 'UY' => 'Uruguay', - 'UZ' => 'Uzbekistan', - 'VU' => 'Vanuatu', - 'VA' => 'Vatican City', - 'VE' => 'Venezuela', - 'VN' => 'Vietnam', - 'WF' => 'Wallis & Futuna', - 'EH' => 'Western Sahara', - 'YE' => 'Yemen', - 'ZM' => 'Zambia', - 'ZW' => 'Zimbabwe', -]; diff --git a/lang/vendor/world/en/response.php b/lang/vendor/world/en/response.php deleted file mode 100644 index 23350b36..00000000 --- a/lang/vendor/world/en/response.php +++ /dev/null @@ -1,17 +0,0 @@ - [ - 'server_error' => 'Internal Server Error', - 'record_not_found' => 'No :attribute was found!', - ], - 'attributes' => [ - 'phone' => 'phone|phones', - 'country' => 'country|countries', - 'city' => 'city|cities', - 'state' => 'state|states', - 'timezone' => 'timezone|timezones', - 'currency' => 'currency|currencies', - 'language' => 'language|languages', - ], -]; diff --git a/lang/vendor/world/fr/country.php b/lang/vendor/world/fr/country.php deleted file mode 100644 index 754eb116..00000000 --- a/lang/vendor/world/fr/country.php +++ /dev/null @@ -1,253 +0,0 @@ - 'Afghanistan', - 'ZA' => 'Afrique du Sud', - 'AL' => 'Albanie', - 'DZ' => 'Algérie', - 'DE' => 'Allemagne', - 'AD' => 'Andorre', - 'AO' => 'Angola', - 'AI' => 'Anguilla', - 'AQ' => 'Antarctique', - 'AG' => 'Antigua-et-Barbuda', - 'SA' => 'Arabie saoudite', - 'AR' => 'Argentine', - 'AM' => 'Arménie', - 'AW' => 'Aruba', - 'AU' => 'Australie', - 'AT' => 'Autriche', - 'AZ' => 'Azerbaïdjan', - 'BS' => 'Bahamas', - 'BH' => 'Bahreïn', - 'BD' => 'Bangladesh', - 'BB' => 'Barbade', - 'BE' => 'Belgique', - 'BZ' => 'Belize', - 'BJ' => 'Bénin', - 'BM' => 'Bermudes', - 'BT' => 'Bhoutan', - 'BY' => 'Biélorussie', - 'BO' => 'Bolivie', - 'BA' => 'Bosnie-Herzégovine', - 'BW' => 'Botswana', - 'BR' => 'Brésil', - 'BN' => 'Brunéi Darussalam', - 'BG' => 'Bulgarie', - 'BF' => 'Burkina Faso', - 'BI' => 'Burundi', - 'KH' => 'Cambodge', - 'CM' => 'Cameroun', - 'CA' => 'Canada', - 'CV' => 'Cap-Vert', - 'CL' => 'Chili', - 'CN' => 'Chine', - 'CY' => 'Chypre', - 'CO' => 'Colombie', - 'KM' => 'Comores', - 'CG' => 'Congo-Brazzaville', - 'CD' => 'Congo-Kinshasa', - 'KP' => 'Corée du Nord', - 'KR' => 'Corée du Sud', - 'CR' => 'Costa Rica', - 'CI' => 'Côte d’Ivoire', - 'HR' => 'Croatie', - 'CU' => 'Cuba', - 'CW' => 'Curaçao', - 'DK' => 'Danemark', - 'DJ' => 'Djibouti', - 'DM' => 'Dominique', - 'EG' => 'Égypte', - 'AE' => 'Émirats arabes unis', - 'EC' => 'Équateur', - 'ER' => 'Érythrée', - 'ES' => 'Espagne', - 'EE' => 'Estonie', - 'SZ' => 'Eswatini', - 'VA' => 'État de la Cité du Vatican', - 'FM' => 'États fédérés de Micronésie', - 'US' => 'États-Unis', - 'ET' => 'Éthiopie', - 'FJ' => 'Fidji', - 'FI' => 'Finlande', - 'FR' => 'France', - 'GA' => 'Gabon', - 'GM' => 'Gambie', - 'GE' => 'Géorgie', - 'GS' => 'Géorgie du Sud et îles Sandwich du Sud', - 'GH' => 'Ghana', - 'GI' => 'Gibraltar', - 'GR' => 'Grèce', - 'GD' => 'Grenade', - 'GL' => 'Groenland', - 'GP' => 'Guadeloupe', - 'GU' => 'Guam', - 'GT' => 'Guatemala', - 'GG' => 'Guernesey', - 'GN' => 'Guinée', - 'GQ' => 'Guinée équatoriale', - 'GW' => 'Guinée-Bissau', - 'GY' => 'Guyana', - 'GF' => 'Guyane française', - 'HT' => 'Haïti', - 'HN' => 'Honduras', - 'HU' => 'Hongrie', - 'BV' => 'Île Bouvet', - 'CX' => 'Île Christmas', - 'IM' => 'Île de Man', - 'NF' => 'Île Norfolk', - 'AX' => 'Îles Åland', - 'KY' => 'Îles Caïmans', - 'CC' => 'Îles Cocos', - 'CK' => 'Îles Cook', - 'FO' => 'Îles Féroé', - 'HM' => 'Îles Heard et McDonald', - 'FK' => 'Îles Malouines', - 'MP' => 'Îles Mariannes du Nord', - 'MH' => 'Îles Marshall', - 'UM' => 'Îles mineures éloignées des États-Unis', - 'PN' => 'Îles Pitcairn', - 'SB' => 'Îles Salomon', - 'TC' => 'Îles Turques-et-Caïques', - 'VG' => 'Îles Vierges britanniques', - 'VI' => 'Îles Vierges des États-Unis', - 'IN' => 'Inde', - 'ID' => 'Indonésie', - 'IQ' => 'Irak', - 'IR' => 'Iran', - 'IE' => 'Irlande', - 'IS' => 'Islande', - 'IL' => 'Israël', - 'IT' => 'Italie', - 'JM' => 'Jamaïque', - 'JP' => 'Japon', - 'JE' => 'Jersey', - 'JO' => 'Jordanie', - 'KZ' => 'Kazakhstan', - 'KE' => 'Kenya', - 'KG' => 'Kirghizistan', - 'KI' => 'Kiribati', - 'KW' => 'Koweït', - 'RE' => 'La Réunion', - 'LA' => 'Laos', - 'LS' => 'Lesotho', - 'LV' => 'Lettonie', - 'LB' => 'Liban', - 'LR' => 'Libéria', - 'LY' => 'Libye', - 'LI' => 'Liechtenstein', - 'LT' => 'Lituanie', - 'LU' => 'Luxembourg', - 'MK' => 'Macédoine du Nord', - 'MG' => 'Madagascar', - 'MY' => 'Malaisie', - 'MW' => 'Malawi', - 'MV' => 'Maldives', - 'ML' => 'Mali', - 'MT' => 'Malte', - 'MA' => 'Maroc', - 'MQ' => 'Martinique', - 'MU' => 'Maurice', - 'MR' => 'Mauritanie', - 'YT' => 'Mayotte', - 'MX' => 'Mexique', - 'MD' => 'Moldavie', - 'MC' => 'Monaco', - 'MN' => 'Mongolie', - 'ME' => 'Monténégro', - 'MS' => 'Montserrat', - 'MZ' => 'Mozambique', - 'MM' => 'Myanmar (Birmanie)', - 'NA' => 'Namibie', - 'NR' => 'Nauru', - 'NP' => 'Népal', - 'NI' => 'Nicaragua', - 'NE' => 'Niger', - 'NG' => 'Nigéria', - 'NU' => 'Niue', - 'NO' => 'Norvège', - 'NC' => 'Nouvelle-Calédonie', - 'NZ' => 'Nouvelle-Zélande', - 'OM' => 'Oman', - 'UG' => 'Ouganda', - 'UZ' => 'Ouzbékistan', - 'PK' => 'Pakistan', - 'PW' => 'Palaos', - 'PA' => 'Panama', - 'PG' => 'Papouasie-Nouvelle-Guinée', - 'PY' => 'Paraguay', - 'NL' => 'Pays-Bas', - 'BQ' => 'Pays-Bas caribéens', - 'PE' => 'Pérou', - 'PH' => 'Philippines', - 'PL' => 'Pologne', - 'PF' => 'Polynésie française', - 'PR' => 'Porto Rico', - 'PT' => 'Portugal', - 'QA' => 'Qatar', - 'HK' => 'R.A.S. chinoise de Hong Kong', - 'MO' => 'R.A.S. chinoise de Macao', - 'CF' => 'République centrafricaine', - 'DO' => 'République dominicaine', - 'RO' => 'Roumanie', - 'GB' => 'Royaume-Uni', - 'RU' => 'Russie', - 'RW' => 'Rwanda', - 'EH' => 'Sahara occidental', - 'BL' => 'Saint-Barthélemy', - 'KN' => 'Saint-Christophe-et-Niévès', - 'SM' => 'Saint-Marin', - 'MF' => 'Saint-Martin', - 'SX' => 'Saint-Martin (partie néerlandaise)', - 'PM' => 'Saint-Pierre-et-Miquelon', - 'VC' => 'Saint-Vincent-et-les-Grenadines', - 'SH' => 'Sainte-Hélène', - 'LC' => 'Sainte-Lucie', - 'SV' => 'Salvador', - 'WS' => 'Samoa', - 'AS' => 'Samoa américaines', - 'ST' => 'Sao Tomé-et-Principe', - 'SN' => 'Sénégal', - 'RS' => 'Serbie', - 'SC' => 'Seychelles', - 'SL' => 'Sierra Leone', - 'SG' => 'Singapour', - 'SK' => 'Slovaquie', - 'SI' => 'Slovénie', - 'SO' => 'Somalie', - 'SD' => 'Soudan', - 'SS' => 'Soudan du Sud', - 'LK' => 'Sri Lanka', - 'SE' => 'Suède', - 'CH' => 'Suisse', - 'SR' => 'Suriname', - 'SJ' => 'Svalbard et Jan Mayen', - 'SY' => 'Syrie', - 'TJ' => 'Tadjikistan', - 'TW' => 'Taïwan', - 'TZ' => 'Tanzanie', - 'TD' => 'Tchad', - 'CZ' => 'Tchéquie', - 'TF' => 'Terres australes françaises', - 'IO' => 'Territoire britannique de l’océan Indien', - 'PS' => 'Territoires palestiniens', - 'TH' => 'Thaïlande', - 'TL' => 'Timor oriental', - 'TG' => 'Togo', - 'TK' => 'Tokelau', - 'TO' => 'Tonga', - 'TT' => 'Trinité-et-Tobago', - 'TN' => 'Tunisie', - 'TM' => 'Turkménistan', - 'TR' => 'Turquie', - 'TV' => 'Tuvalu', - 'UA' => 'Ukraine', - 'UY' => 'Uruguay', - 'VU' => 'Vanuatu', - 'VE' => 'Venezuela', - 'VN' => 'Vietnam', - 'WF' => 'Wallis-et-Futuna', - 'YE' => 'Yémen', - 'ZM' => 'Zambie', - 'ZW' => 'Zimbabwe', -]; diff --git a/lang/vendor/world/fr/response.php b/lang/vendor/world/fr/response.php deleted file mode 100644 index 4d0e54a1..00000000 --- a/lang/vendor/world/fr/response.php +++ /dev/null @@ -1,17 +0,0 @@ - [ - 'server_error' => 'Erreur Interne du Serveur', - 'record_not_found' => 'Non :attribute a été trouvé !', - ], - 'attributes' => [ - 'phone' => 'téléphone|téléphones', - 'country' => 'pays|pays', - 'city' => 'ville|villes', - 'state' => 'état|états', - 'timezone' => 'fuseau horaire|fuseaux horaires', - 'currency' => 'devise|devises', - 'language' => 'langue|langues', - ], -]; diff --git a/package.json b/package.json index f1f0029a..72b5f7bd 100644 --- a/package.json +++ b/package.json @@ -15,12 +15,10 @@ "@tailwindcss/typography": "^0.5.10", "alpinejs": "^3.12.0", "autoprefixer": "^10.4.16", - "fs": "^0.0.1-security", "highlight.js": "^11.7.0", "intl-tel-input": "^17.0.13", "laravel-vite-plugin": "^0.7.8", "lodash": "^4.17.19", - "os": "^0.1.2", "path": "^0.12.7", "postcss": "^8.4.32", "postcss-loader": "^6.2.1", diff --git a/resources/css/app.css b/resources/css/app.css index 11c719ea..afa7ad15 100644 --- a/resources/css/app.css +++ b/resources/css/app.css @@ -2,8 +2,6 @@ @import 'tailwindcss/components'; @import 'tailwindcss/utilities'; -@import 'intl-tel-input/build/css/intlTelInput.css'; - @import 'base.css'; @import 'tag.css'; @import 'forms.css'; @@ -41,61 +39,3 @@ --brand-communaute: #dd2590; --brand-astuces: #d6bbfb; } - -@layer base { - :root { - --color-text-primary: 5, 150, 105; - --color-text-primary-hover: 16, 185, 129; - --color-text-link-menu: 107, 114, 128; - --color-text-link-menu-hover: 17, 24, 39; - --color-text-base: 107, 114, 128; - --color-text-muted: 156, 163, 175; - --color-text-inverted: 17, 24, 39; - --color-text-inverted-muted: 31, 41, 55; - - --color-link-fill: 243, 244, 246; - --color-menu-fill: 255, 255, 255; - --color-body-fill: 249, 250, 251; - --color-footer-fill: var(--color-menu-fill); - --color-footer-light-fill: var(--color-body-fill); - --color-input-fill: var(--color-menu-fill); - --color-button-default: var(--color-menu-fill); - --color-card-fill: var(--color-menu-fill); - --color-card-gray: 243, 244, 246; - --color-card-muted-fill: var(--color-body-fill); - - --color-input-border: 209, 213, 219; - --color-divide: 229, 231, 235; - --color-divide-light: 243, 244, 246; - --color-border: var(--color-divide); - --color-border-light: var(--color-divide-light); - } - - .theme-dark { - --color-text-primary: 5, 150, 105; - --color-text-primary-hover: 16, 185, 129; - --color-text-link-menu: 209, 213, 219; - --color-text-link-menu-hover: 255, 255, 255; - --color-text-base: 181, 181, 189; - --color-text-muted: 107, 114, 128; - --color-text-inverted: 255, 255, 255; - --color-text-inverted-muted: 156, 163, 175; - - --color-link-fill: 55, 65, 81; - --color-menu-fill: 22, 27, 34; - --color-body-fill: 13, 17, 23; - --color-footer-fill: var(--color-menu-fill); - --color-footer-light-fill: var(--color-footer-fill); - --color-input-fill: 31, 41, 55; - --color-button-default: 55, 65, 81; - --color-card-fill: 22, 27, 34; - --color-card-gray: var(--color-menu-fill); - --color-card-muted-fill: 17, 22, 29; - - --color-input-border: 31, 41, 55; - --color-divide: 55, 65, 81; - --color-divide-light: 55, 65, 81; - --color-border: 55, 65, 81; - --color-border-light: 55, 65, 81; - } -} diff --git a/resources/css/base.css b/resources/css/base.css index 1e9dd368..1eac37ad 100644 --- a/resources/css/base.css +++ b/resources/css/base.css @@ -1,40 +1,19 @@ html, -body { - height: 100%; -} -input { - width: 100%; -} -.hide-scroll::-webkit-scrollbar { - display: none; -} +body { height: 100%; } +input { width: 100%; } + [x-cloak] { display: none !important; } -.affiliate img { - margin-bottom: 0 !important; - margin-top: 0 !important; - border-bottom-left-radius: 0; - border-bottom-right-radius: 0; +.hide-scroll::-webkit-scrollbar { + display: none; } .prose iframe { @apply w-full; } -.logo-dark { - display: none; -} - -.theme-dark .logo-white { - display: none; -} - -.theme-dark .logo-dark { - display: block; -} - .animate-scroll-slow:nth-child(2) { animation-duration: 40s; animation-delay: 500ms; diff --git a/resources/css/christmas.css b/resources/css/christmas.css deleted file mode 100644 index 5a72064d..00000000 --- a/resources/css/christmas.css +++ /dev/null @@ -1,37 +0,0 @@ -/** Guirlande **/ -.guirlande { - pointer-events: none; - z-index: 10; - width: 100%; - height: 150px; - position: absolute; - top: 150px; - left: 0; -} - -/** Bouton **/ -.button { - position: relative; - overflow: visible; - transition: 500ms linear; -} - -.button::before { - content: ''; - display: block; - position: absolute; - top: -7px; - left: -3px; - right: 0; - height: 23px; - background: - url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACsAAAAXCAYAAACS5bYWAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAABFpJREFUeNrUV0tIo1cUvpkYjQ4xxSA6DxuNqG0dtaUKOgs3s6i0dFd3pSsXdjeIixakiGA34sZuXCkoONLFwJTK4GMYLYXg29gatTpiXurkbd7vv9/5ub+IxuhA7eiFQ5Kbc8/57ne/e87/ywRBYLdl3GG3aNwqsLJ0k0tLS+fmcnNzWUVFBVMoFGx2djarvLxcm5OTw+bm5iytra2xc4ExNjY27iqVyvvwK6CpeDzuCYVC1urq6qDA9UcfPp+PHR4esmAwKK6tr68/l5/8rgQ2Ozub1dbWyiYmJooaGxt/VqvV38jlchX9l0qlwoFA4DWS/RKLxRxFRUVf5+XlPcaaT2AP0sVPJBL2SCRiAPBpu93+vKamZo/Ae71eZjabWV1dXVqw7CKwp43ksrCw8Bhg7MJ/PLDZ5PHx8cz29vYT5JGD/bSYLgTrcDgYdk6siSc6NjZWDaAe4ZoHQL+cmZnRpZPnhWDpD8kw7uKo9ML/NMCsd2tr61vkzboMrEyv138M7TyLRqMWMBsX3sMgaZhMpp+AR5EJrCocDpuEGzKg4x8khs+CVWxubvZfR9JkMik4nU7BarUKLpeLmLsKuwIqTLynp4fqmIzASrqQT09Pf1VVVfX0KsWZ6uHBwQHTaDSsoKAgo6/H4xHLEcrVyRwuEisrKzs5XrrIVAVwiUVDKRRrL+YI32ewdVhMApuHWvcj6vids6J2u90MF4yBHUZNgKoEBaRBQalJqFSqtJfUYrGIlQX+ydXVVTN+u0tKSjQNDQ1axJVl2iTypebn55d7e3v/kqoDgZU1NTU9LCws/Py0M+2ekuGincxJ3yF+18jIyHJLS0slQJUWFxczrBeBE0vE5tHRkbixlZWVfSR8gTX/0P5gH7S1tX3Z3t7+BW8qAvwSfr8/jA0EIRM/qoFtampqbW9vTw+XA+ojUruVd3Z2tvb19T2TQFEim81GgVJoCvvj4+NLOJZgaWmpemdn5y3a6BbcnJDAw8HBwac6ne6eqCW5XDwB3qVSqM9/DAwMUNy/eVLabT7sI25qwgujThCBhWE+mAt2yNc4SQKSZrOQQE1HS22VJkmPAGTr7+//fX19fRk+Zgq0trbGeFAKEAQT98BSqKOj47vm5uaa/Px8JeIk4GcaHh6eWlxcfAU/A8xG67BxAX3fwdcbYUpSDJ06Z49Ak8ZC3OL8f3YiA4PBYKdLQ2AJ9OTk5GpXV9cQiCVh79M94QtlPLDUE/1gPNrd3f0W33W4cBoco48zQuy/IZYAMnGqlSc4c66L9JruQUaSARXeT8HGKzxAqFBekni6+h46+pMzGiJGMgTOJh1yU/KNEGDvZWvfBawkA9ppwGg0mrRa7SOI2g+gxOgbJIpdFpj72PnxSnPX8vqRxTURgBQWKisrH+GThOm+CtAzoK/9/Uiqq/6hoaHfdnd3jaOjo7/yY7yxbwqkWy3sQzpS2C6YirwvUJk0y7hurfyGRrnduPGvAAMASmo8wzeVwfsAAAAASUVORK5CYII=) - no-repeat 0 0, - url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE0AAAAXCAYAAABOHMIhAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAABiZJREFUeNrsWMtPlFcUvzPMwIDysLyRR4uATDHWCiVgSmRlios2DeiiXUFs0nRBd6arxqQhJDapkYXhP4BqDKTQhZaFNQSCaBEVJjwdHsNr5DUMDDPDzPT3u7nTDEgRKrKgc5KT+z3uufec33de99P4fD4RpL2RNgjB3kn35MkTeRERESFiYmLkGBoaKnQ6nWSNRvPPZFxr+vv7k6KioiIdDsfa8vLyQkFBgcP3Bnel3MDAQArWI0eFhISE87nb7bZ7PJ4VvLYuLi5O5+fnu9+kMNfq6+tLjIyMzMY6KeBEbK/XarXReI3lPDZMWcc4v7GxYV1dXR3Jy8ub2E5HPvJ6vRSSDH0ku1wuAfsEZOV1IEFHoeNFdHS0yMrK2knR0Lm5uR+hxLdQMjbwHTZbB41h8RGwCdc9MzMzneHh4bGJiYlf4SN8ijkfwqiIncCAAR7Iz2GPSShudjqdfeCeqampvwBQfFxc3JdYqwTv8gB8/F48A8BgKecE14V+L7ju2tpae05OzkuCCZvkPOj8mizmC6vVKtmPu+bx48cC3qI1mUyFUOyywWD4SHlELBaLJmCHNcwAghuAOujtuF4FqHO4nsX4EsAS3I4TJ04ME1h8PDE9PS09TYZoY2Pj1729vd6lpSVfkDYTPG0UkfNDRUWFgQ5Gb2Mh0N29e9eG/GQfHh4W8/PzwUy/ObQ/gMfVVlZW1iAiZdQxp3nv3LljRoL/5erVq1UIxzSiiVD9X4EDYATynCwAzGO858hCQRoaGmJFZNJz8YIcBc4BF966dau6sLAwBxVSJCUlCSThQwuU3W6XkYUok1Vzm5znQx5bbm9v77p+/frPeNSNRzZ/ISBwrG4ZR48eLamtrf2+uLjYSEG9Xi/wTISFhQlWGXohyzO/CJlVl23KQRLbABoaHx+/Z1lUZ/Hq1SsJFj3JT3hmHx8fnydPTEzMj46OziHPW2w22wxeD4Kfgadh/4YEzU8Az4DhffAn5eXlX1y6dKkEoCTspAQ9Mjs7+0BBo8Fms1lkZGTsOo0QLLRNkvnR+fEJzIMHD0xtbW39CL8JTFtSbAOvBIyLHIGVm9VzE2gKuDAMSSpcT6KXyT137lx2cnLyMXhcGDb3wq3XuWF3d/fCzZs3P0c4v5eSknJQbYLo7Ox0gC2lpaVZ3Be67Th/dnZWoAJKsJC3XA8fPhxoamp6hMb+BaaMgWcUMGtszZjiFDNmvcDI91pzG0iY4ARwkwrxkcHBwUdgNrRMbnrqoRbkVzDcvn3bl5qaWsmcgFH4G8XdEGUWFhak51AuISFBnkoCTyFbyWKxCJwIxlC0fq2rq7tcVFRkRKskjh8/Lr0+kBjCCDV/knfdv3//WX19/R8IRRNemxlu4AXwKqM+EJwdj1HbPYSwh3sCPAJDABm2LLchCjS+5/kirKGhwWk0GrMuXrxYQuX9hm/XXTMXMY+srKwI5ApZrbYmZh7deEJhAUKjLe/pLTzSsCuHrK+1tbUJVe3P6upq87Vr174rKysrYHVj/uW+OH3IfEuw4F3ee/fuPQfAvwOs5yyE4CnlFOu7BWrTCWlreO6FACpBZGwUw4BvkANLobReHb3kGZYGsGzTq/zlO8AT1ru6uoZbWlqeA6gINJAfnz59OlVLoX8Jtebm5raampqfcMvQYgTknz9//sKVK1c+y83NTdIEuCnaKMuNGzd+6+np6cCtSTkAw9D9X8Dyh+dbgaaAC1XAnUlPTy+qqqq6cPbs2UzkmWjNljiDJzpwHFnCkW2yo6NjCKW8H54wjlezKvRT09LSTsJrz5w6dSoN+Yp51ADAPUj8VoDbDq9pxrwuJcNIYQllJTIi/xopBw/VA7DJp0+f9hA78CgL5F5C8J2CpoCj8sfA6WCe/FPRhsRlZmbGIs8Y4FFO5CJgtrSsvrRVGW1V93b1myoGnKAKEcHgnwsWpg1lNI0fphwrmdqbckeU18WrnlOjqp5/j7W3BWvfQVPKa5SBkcrYCNVB65TRTlWZ1lXiXVU5xbtlDb2SPaLWYwrgHIcqPg6Vc7fbX69Yoyqfa7/AeiegbWOEVhmsVcWDwPn224iDJgla8Hd38Hd3ELQgaIeI/hZgAIPEp0vmQJdoAAAAAElFTkSuQmCC) - no-repeat 50% 0, - url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACEAAAAXCAYAAACFxybfAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAodJREFUeNrsVb1rWlEUv2pN/GqspKRSKFYXWzEloIWif0Fn6dJChQ7OQil0qd3EzcEpg0OgdHDr4CQODk7VRlLMEIVqApX4We0zflR9/Z1Ui4T34ksaaAYP/Hzc673n/M6550PG8zz73yKjn0wm83fDYDAwo9HINBrNnwOQg4MDs0ql2lQqlfdAWont7ng8Pjw+Ps44nc4G1pI9EXWaSOzt7TGO42aH5Pv7+08ajUZ0MBiUeXEZd7vdL5VK5fX29rZ+5tQiEmdxKrlcjsEYczgcynK5/BKKv/IXFNz/XiqVXkHdjUuRIA9SqdRD8or/R8Ez9fr9fqHVakUR4c2z0REjIQuHw2ZcrPBXLCA0RHTezEdHjIQqkUhEr9I4HOILhQLf6/VoOUFEvDMiQiToDx1Cdz+bzZ6bUFarlel0OkkVUK/XWbvdPoVer5fh3ntsfwJ+CJ2XA4p0Op1bpBgJyxDehQQ6nQ5DZXHBYDBZq9V+EhFUndnr9drEqoc2bwJbwGPgtohuVSwWe2Gz2TZMJpNgRKi6qtUqg2EWj8dTgUDgo0KhWPN4PC70EvXOzs67fD6/S6kiRIKeZA1YJ2MiJNbdbvfTUCjkV6vVK2hcDF8GI2w0GrGTkxM2HA5PDxaLxSOfz/cWEfk81X0XIMMFgJJ/srBjCgk8IdcfuVyuZ36//7nFYtkQyAMumUzuRiKRD0jMFLa+AZOpYwqgB/ziBVqmVBKUO7eAB/R0WG/Z7XaTVqtdbTabHJL6EK2djBaBPHA0NSqpbUsiMUeEBgpF4Q5AbZrmSJ/yEWgBTaBNHl9kdkgmMUeG7qwAq9PqovceTA3zlxlgsuswyuXsGsiSxJLEkoSY/BZgAEjRodi+uBruAAAAAElFTkSuQmCC) - no-repeat 100% 0; -} - -/** Boule de neige **/ -@import 'partials/snow.css'; diff --git a/resources/css/filament/admin/tailwind.config.js b/resources/css/filament/admin/tailwind.config.js index 67de966a..330db0d0 100644 --- a/resources/css/filament/admin/tailwind.config.js +++ b/resources/css/filament/admin/tailwind.config.js @@ -1,10 +1,10 @@ import preset from '../../../../vendor/filament/filament/tailwind.config.preset' export default { - presets: [preset], - content: [ - './app/Filament/**/*.php', - './resources/views/filament/**/*.blade.php', - './vendor/filament/**/*.blade.php', - ], + presets: [preset], + content: [ + './app/Filament/**/*.php', + './resources/views/filament/**/*.blade.php', + './vendor/filament/**/*.blade.php', + ], } diff --git a/resources/css/file-upload.css b/resources/css/file-upload.css index fd0f72f8..60314a39 100644 --- a/resources/css/file-upload.css +++ b/resources/css/file-upload.css @@ -3,15 +3,15 @@ } .filepond--panel-root { - @apply rounded-lg border border-skin-input bg-skin-input shadow-sm; + @apply rounded-lg border border-gray-300 bg-gray-200 shadow-sm; } .filepond--drip-blob { - @apply bg-skin-card; + @apply bg-white; } .filepond--drop-label { - @apply text-skin-muted; + @apply text-gray-400 dark:text-gray-500; } /* Compact-only styles, excluding compact circle layouts */ @@ -49,7 +49,7 @@ /* Download button styles */ .filepond--download-icon { - @apply pointer-events-auto mr-1 inline-block h-4 w-4 bg-white align-bottom hover:bg-white/70; + @apply pointer-events-auto mr-1 inline-block size-4 bg-white align-bottom hover:bg-white/70; -webkit-mask-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJmZWF0aGVyIGZlYXRoZXItZG93bmxvYWQiPjxwYXRoIGQ9Ik0yMSAxNXY0YTIgMiAwIDAgMS0yIDJINWEyIDIgMCAwIDEtMi0ydi00Ij48L3BhdGg+PHBvbHlsaW5lIHBvaW50cz0iNyAxMCAxMiAxNSAxNyAxMCI+PC9wb2x5bGluZT48bGluZSB4MT0iMTIiIHkxPSIxNSIgeDI9IjEyIiB5Mj0iMyI+PC9saW5lPjwvc3ZnPg=='); mask-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJmZWF0aGVyIGZlYXRoZXItZG93bmxvYWQiPjxwYXRoIGQ9Ik0yMSAxNXY0YTIgMiAwIDAgMS0yIDJINWEyIDIgMCAwIDEtMi0ydi00Ij48L3BhdGg+PHBvbHlsaW5lIHBvaW50cz0iNyAxMCAxMiAxNSAxNyAxMCI+PC9wb2x5bGluZT48bGluZSB4MT0iMTIiIHkxPSIxNSIgeDI9IjEyIiB5Mj0iMyI+PC9saW5lPjwvc3ZnPg=='); -webkit-mask-repeat: no-repeat; @@ -59,7 +59,7 @@ } .filepond--open-icon { - @apply pointer-events-auto mr-1 inline-block h-4 w-4 bg-white align-bottom hover:bg-white/70; + @apply pointer-events-auto mr-1 inline-block size-4 bg-white align-bottom hover:bg-white/70; -webkit-mask-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGNsYXNzPSJoLTYgdy02IiBmaWxsPSJub25lIiB2aWV3Qm94PSIwIDAgMjQgMjQiIHN0cm9rZT0iY3VycmVudENvbG9yIiBzdHJva2Utd2lkdGg9IjIiPgogIDxwYXRoIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgZD0iTTEwIDZINmEyIDIgMCAwMC0yIDJ2MTBhMiAyIDAgMDAyIDJoMTBhMiAyIDAgMDAyLTJ2LTRNMTQgNGg2bTAgMHY2bTAtNkwxMCAxNCIgLz4KPC9zdmc+Cg==); mask-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGNsYXNzPSJoLTYgdy02IiBmaWxsPSJub25lIiB2aWV3Qm94PSIwIDAgMjQgMjQiIHN0cm9rZT0iY3VycmVudENvbG9yIiBzdHJva2Utd2lkdGg9IjIiPgogIDxwYXRoIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgZD0iTTEwIDZINmEyIDIgMCAwMC0yIDJ2MTBhMiAyIDAgMDAyIDJoMTBhMiAyIDAgMDAyLTJ2LTRNMTQgNGg2bTAgMHY2bTAtNkwxMCAxNCIgLz4KPC9zdmc+Cg==); -webkit-mask-repeat: no-repeat; diff --git a/resources/css/forms.css b/resources/css/forms.css index 0e745fc2..d299edaa 100644 --- a/resources/css/forms.css +++ b/resources/css/forms.css @@ -27,15 +27,15 @@ input::-webkit-inner-spin-button { } .standard .choices__inner { - @apply flex h-12 w-full items-center rounded border border-skin-input bg-skin-input p-2 !important; + @apply flex h-12 w-full items-center rounded border border-gray-300 bg-white p-2 !important; } .standard .choices__list--dropdown { - @apply border-2 border-skin-input !important; + @apply border-2 border-gray-300 !important; } .standard .choices__list--dropdown .choices__list { - @apply border border-skin-base bg-skin-input !important; + @apply border border-gray-500 bg-white !important; } .standard .choices__list--single { @@ -43,7 +43,7 @@ input::-webkit-inner-spin-button { } .standard .choices__item { - @apply my-0 cursor-pointer rounded border-0 bg-skin-footer px-2 py-1 text-sm text-skin-base !important; + @apply my-0 cursor-pointer rounded border-0 bg-white px-2 py-1 text-sm text-gray-500 !important; } .standard .choices__item.choices__item--choice { @@ -51,11 +51,11 @@ input::-webkit-inner-spin-button { } .standard .choices__item.choices__item--choice.choices__item--selectable { - @apply rounded-none bg-skin-input p-2 text-skin-base !important; + @apply rounded-none bg-white p-2 text-gray-500 !important; } .standard .choices__item.choices__item--choice.choices__item--selectable:hover { - @apply bg-skin-card !important; + @apply bg-white !important; } .standard .choices__item.choices__item--selectable { @@ -71,7 +71,7 @@ input::-webkit-inner-spin-button { } .standard .choices[data-type*='select-one'] .choices__input { - @apply rounded-none border-b-2 border-skin-input !important; + @apply rounded-none border-b-2 border-gray-300 !important; } .standard .choices__item.choices__item--choice.choices__item--selectable.is-highlighted, diff --git a/resources/css/header.css b/resources/css/header.css index 1a6033b2..32a932af 100644 --- a/resources/css/header.css +++ b/resources/css/header.css @@ -1,5 +1,5 @@ .header.is-fixed { - @apply fixed inset-x-0 transform bg-skin-menu/80 duration-300; + @apply fixed inset-x-0 transform bg-white/80 duration-300; } .header.is-hidden { diff --git a/resources/css/media-library.css b/resources/css/media-library.css deleted file mode 100644 index c44884ae..00000000 --- a/resources/css/media-library.css +++ /dev/null @@ -1,655 +0,0 @@ -/* Dragula */ -.gu-mirror { - position: fixed !important; - margin: 0 !important; - z-index: 9999 !important; - opacity: 0.8; - -ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=80)'; - filter: alpha(opacity=80); -} - -.gu-hide { - display: none !important; -} - -.gu-unselectable { - -webkit-user-select: none !important; - -moz-user-select: none !important; - -ms-user-select: none !important; - user-select: none !important; -} - -.gu-transit { - opacity: 0.2; - -ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=20)'; - filter: alpha(opacity=20); -} - -/* Component level reset. Explicitly for item during cloning */ -.media-library, -.media-library *, -.media-library-item * { - all: unset; - @apply relative; - @apply box-border; - @apply border-solid; - @apply border-0; -} - -/* `all:unset` for sortable rows in Vue 3 does too much */ -.media-library-sortable .media-library-item { - -webkit-user-drag: element; -} - -.media-library script, -.media-library-item script { - @apply hidden; -} - -/* Base */ -.media-library { - @apply text-skin-inverted-muted; -} - -/* Order */ -.media-library { - @apply grid; - grid-template-areas: - 'errors' - 'items' - 'uploader'; - margin-bottom: 2px; -} - -.media-library-listerrors { - grid-area: errors; - margin-bottom: -2px; -} - -.media-library-items { - grid-area: items; - margin-bottom: -2px; -} - -.media-library-uploader { - grid-area: uploader; - margin-bottom: -2px; -} - -/* When cloning */ -.media-library-item.gu-mirror { - @apply border-2; - @apply border-skin-input; - @apply shadow-xl; -} - -/* Uploader */ -.media-library-add { - @apply flex; -} - -.media-library-replace, -.media-library-replace .media-library-dropzone, -.media-library-replace .media-library-placeholder { - @apply absolute; - @apply inset-0; - @apply w-full; - @apply h-full; - @apply m-0; -} - -/* Items */ -.media-library-multiple .media-library-items { - @apply block; - @apply border-2; - @apply border-skin-input; -} - -.media-library-item { - @apply flex; - @apply items-center; - @apply min-w-0; - @apply bg-skin-card; -} - -.media-library-item-row:not(:last-child) { - @apply border-b; - @apply border-skin-input; -} - -.media-library-filled.media-library-sortable .media-library-add .media-library-dropzone:before { - content: ''; -} - -.media-library-row-drag, -.media-library-filled.media-library-sortable .media-library-add .media-library-dropzone:before { - @apply self-stretch; - @apply flex-none; - @apply flex; - @apply flex-col; - @apply items-center; - @apply justify-center; - @apply w-8; - @apply bg-skin-card; - @apply bg-opacity-50; - @apply border-r; - @apply border-skin-input; - @apply cursor-move; - @apply text-skin-base; -} - -.media-library-row-drag:hover { - @apply text-green-500; -} - -.media-library-row-remove { - @apply absolute; - @apply right-0; - @apply top-0; - @apply flex; - @apply items-center; - @apply justify-center; - @apply h-12; - @apply w-12; - @apply text-skin-base; - @apply cursor-pointer; - @apply opacity-50; - @apply cursor-pointer; -} - -.media-library-row-remove:hover { - @apply opacity-100; - @apply transition-opacity; - @apply duration-300; -} - -/* Invalid media, aka failed uploads */ -.media-library-listerrors { - @apply block; - @apply border-2; - @apply border-red-300; - @apply border-opacity-50; - @apply bg-red-200; - @apply bg-opacity-50; - @apply text-xs; -} - -.media-library-listerror { - @apply flex; - @apply items-start; -} - -.media-library-listerror:not(:last-child) { - @apply border-b-2; - @apply border-red-300; - @apply border-opacity-25; -} - -.media-library-listerror-icon { - @apply self-stretch; - @apply py-3; - @apply mx-4; - @apply w-8; - @apply flex; - @apply justify-center; -} - -.media-library-filled.media-library-sortable .media-library-listerror-icon { - @apply ml-0; - @apply mr-4; - @apply bg-red-200; - @apply bg-opacity-50; - @apply border-r; - @apply border-red-200; -} - -.media-library-listerror-content { - @apply flex-grow; - @apply pr-12; -} - -.media-library-listerror-title { - @apply text-red-600; - @apply h-12; - @apply flex; - @apply items-center; -} - -.media-library-listerror-items { - @apply -mt-2; - @apply border-t; - @apply border-red-300; - @apply border-opacity-25; -} - -.media-library-listerror-item { - @apply flex; - @apply items-center; - @apply py-3; -} - -.media-library-listerror-thumb { - @apply flex-none; - @apply w-6; - @apply h-6; - @apply mr-3; -} - -.media-library-listerror-thumb:after { - content: ''; - @apply absolute; - @apply inset-0; - @apply border; - @apply border-red-600; - @apply border-opacity-50; -} - -.media-library-listerror-text { - @apply truncate; -} - -/* Thumb */ -.media-library-thumb { - @apply relative; - @apply flex-none; - @apply w-16; - @apply h-16; - @apply m-4; -} - -.media-library-single .media-library-thumb { - @apply m-0; - @apply mr-4; -} - -.media-library-thumb-img { - @apply w-full; - @apply h-full; - @apply object-cover; - @apply overflow-hidden; -} - -.media-library-thumb-extension { - @apply w-full; - @apply h-full; - @apply flex; - @apply items-center; - @apply justify-center; - @apply bg-skin-card; -} - -.media-library-thumb-extension-truncate { - @apply max-w-full; - @apply truncate; - @apply font-semibold; - @apply uppercase; - @apply text-skin-base; - @apply text-xs; -} - -/* Placeholder */ -.media-library-placeholder { - @apply flex; - @apply items-center; - @apply justify-center; - @apply w-16; - height: calc(4rem - 4px); -} - -.media-library-filled.media-library-sortable .media-library-add .media-library-placeholder { - @apply w-8; - @apply h-8; - @apply -ml-8; - @apply mr-4; -} - -.media-library-multiple.media-library-empty .media-library-add .media-library-placeholder:before { - content: ''; - @apply absolute; - top: 50%; - left: 50%; - @apply w-10; - @apply h-10; - @apply bg-skin-footer; - @apply bg-opacity-25; - transform: translate(calc(-50% + 3px), calc(-50% + 3px)); -} - -.media-library-multiple.media-library-empty .media-library-add .media-library-placeholder:after { - content: ''; - @apply absolute; - top: 50%; - left: 50%; - @apply w-10; - @apply h-10; - @apply bg-skin-input; - @apply border; - @apply border-skin-input; - @apply border-opacity-25; - transform: translate(-50%, -50%); -} - -.media-library-dropzone:not(.disabled):active .media-library-placeholder, -.media-library-dropzone-drop .media-library-placeholder { - transform: translateY(1px); -} - -/* Help */ -.media-library-help { - @apply text-left; - @apply pr-4; - @apply text-xs; - @apply text-skin-base; -} - -.media-library-help-clear { - @apply px-2; - @apply opacity-75; - @apply cursor-pointer; -} - -.media-library-help-clear:hover { - @apply opacity-100; - @apply transition-opacity; - @apply duration-300; -} - -/* Dropzone */ -.media-library-dropzone { - @apply appearance-none !important; - @apply flex; - @apply items-center; - @apply border-2; - @apply border-skin-input; - @apply border-opacity-50; - @apply transition-colors; - @apply duration-300; - @apply flex-grow; - @apply bg-transparent; -} - -.media-library-dropzone-add { - @apply border-dashed; - @apply bg-skin-card-muted; -} - -.media-library-dropzone-replace { - @apply border-solid; -} - -.media-library-dropzone:not(.disabled):hover, -.media-library-dropzone-drag { - @apply bg-green-300; - @apply bg-opacity-25; - @apply border-green-600; - @apply border-opacity-25; -} - -.media-library-dropzone:not(.disabled):active, -.media-library-dropzone:not(.disabled):focus, -.media-library-dropzone-drop { - @apply outline-none; - @apply bg-green-300; - @apply bg-opacity-50; - @apply border-green-600; - @apply border-opacity-25; -} - -.media-library-dropzone.disabled { - @apply bg-red-300; - @apply bg-opacity-25; - @apply border-red-600; - @apply border-opacity-25; - @apply cursor-not-allowed; -} - -/* Properties */ -.media-library-properties { - @apply text-xs; - @apply text-skin-base; - @apply flex-grow; - @apply min-w-0; - @apply mr-4; - @apply my-4; -} - -.media-library-single .media-library-properties { - @apply my-0; -} - -.media-library-properties-fixed { - @apply w-32; - @apply flex-grow-0; -} - -.media-library-property { - @apply block; - @apply truncate; - @apply text-skin-base; -} - -/* Field */ -.media-library-field { - @apply block; - @apply overflow-hidden; - @apply my-2; -} - -.media-library-field-error { - @apply block; - @apply mt-1; - @apply text-red-600; -} - -.media-library-label { - @apply block; - @apply text-xs; - @apply text-skin-base; - @apply pr-2; -} - -.media-library-input { - @apply flex-1; - @apply w-full; - @apply text-xs; - @apply text-skin-inverted; - @apply rounded-md; - @apply bg-skin-card; - @apply px-2; - @apply py-1; - @apply transition-colors; - @apply duration-300; -} - -.media-library-input:focus { - @apply outline-none; - @apply bg-green-100; -} - -/* Rounded buttons */ -.media-library-button { - @apply w-6; - @apply h-6; - @apply shadow; - @apply flex; - @apply items-center; - @apply justify-center; - @apply rounded-full; - @apply leading-none; - @apply duration-100; - @apply transition-all; - @apply border; - @apply border-skin-input; - @apply border-opacity-75; - @apply z-10; -} - -.media-library-sortable .media-library-button { - @apply w-5; - @apply h-5; -} - -.media-library-button-info { - @apply bg-skin-card; - @apply text-green-500; -} - -.media-library-button-warning { - @apply bg-skin-card; - @apply text-red-500; -} - -.media-library-button-error { - @apply bg-red-500; - @apply text-skin-inverted; - @apply border-red-400; -} - -.media-library-button-success { - @apply bg-green-500; - @apply text-skin-inverted; -} - -.media-library-replace .media-library-button { - @apply opacity-0; -} - -.media-library-dropzone:not(.disabled):hover .media-library-placeholder .media-library-button, -.media-library-dropzone:not(.disabled):focus .media-library-placeholder .media-library-button, -.media-library-dropzone-drag + .media-library-placeholder .media-library-button { - @apply opacity-100; - @apply shadow-md; -} - -.media-library-dropzone:not(.disabled):active .media-library-placeholder .media-library-button, -.media-library-dropzone-drop .media-library-placeholder .media-library-button { - @apply opacity-100; - @apply shadow-inner; -} - -/* Icon */ -.media-library-icon { - @apply w-5; - @apply h-5; -} - -.media-library-icon-fill { - fill: currentColor; -} - -/* Progress */ -.media-library-progress-wrap { - @apply absolute; - @apply inset-0; - @apply w-full; - @apply h-full; - @apply px-3; - @apply flex; - @apply items-center; - @apply justify-center; - @apply bg-skin-card; - @apply bg-opacity-50; - @apply z-10; - @apply opacity-0; - @apply transition-opacity; - @apply duration-300; - @apply pointer-events-none; -} - -.media-library-progress-wrap-loading { - @apply opacity-100; -} - -.media-library-progress { - @apply appearance-none; - @apply h-1; - @apply w-full; - @apply max-w-md; - @apply bg-skin-card; - @apply rounded-full; - @apply shadow; -} - -.media-library progress::-webkit-progress-bar { - @apply appearance-none; - @apply rounded-full; - @apply bg-skin-card; -} - -.media-library progress::-moz-progress-bar { - @apply h-full; - @apply bg-green-500; -} - -.media-library progress::-webkit-progress-value { - @apply h-full; - @apply bg-green-500; -} - -/* Text styles */ -.media-library-text-separator { - @apply opacity-50; - @apply px-1; -} - -.media-library-text-success { - @apply text-green-600; -} - -.media-library-text-error { - @apply text-red-600; -} - -.media-library-text-link { - @apply underline; - @apply cursor-pointer; -} - -/* Ported utilities */ -.media-library-hidden { - @apply hidden; -} - -.media-library-block { - @apply block; -} - -/* RTL Support */ -[dir='rtl'] .media-library-row-remove { - @apply right-auto; - @apply left-0; -} - -[dir='rtl'] .media-library-properties { - @apply mr-0; - @apply ml-4; -} - -[dir='rtl'] .media-library-filled.media-library-sortable .media-library-add .media-library-placeholder { - @apply -mr-8; - @apply ml-4; -} - -[dir='rtl'] .media-library-row-drag, -[dir='rtl'] .media-library-filled.media-library-sortable .media-library-add .media-library-dropzone:before { - @apply border-r-0; - @apply border-l; -} - -[dir='rtl'] .media-library-help { - @apply text-right; - @apply pr-0; - @apply pl-4; -} - -[dir='rtl'] .media-library-listerror-content { - @apply pr-0; - @apply pl-12; -} - -[dir='rtl'] .media-library-filled.media-library-sortable .media-library-listerror-icon { - @apply mr-0; - @apply ml-4; - @apply border-r-0; - @apply border-l; -} diff --git a/resources/css/partials/snow.css b/resources/css/partials/snow.css deleted file mode 100644 index 40dc14b6..00000000 --- a/resources/css/partials/snow.css +++ /dev/null @@ -1,1113 +0,0 @@ -.g-snows { - @apply pointer-events-none fixed inset-0 min-h-full w-full overflow-hidden opacity-40; -} - -.g-snows > li { - opacity: 0; - position: absolute; - top: 0; - border-radius: 100%; - background-color: #ffffff; - background-repeat: no-repeat; - background-size: 100% auto; - -webkit-animation-name: snow-drop; - animation-name: snow-drop; - -webkit-animation-iteration-count: infinite; - animation-iteration-count: infinite; - -webkit-animation-timing-function: linear; - animation-timing-function: linear; - -webkit-animation-fill-mode: forwards; - animation-fill-mode: forwards; -} -.g-snows > li:nth-child(1) { - left: 77%; - width: 15px; - height: 15px; - -webkit-animation-duration: 10179ms; - animation-duration: 10179ms; - -webkit-animation-delay: 842ms; - animation-delay: 842ms; - filter: blur(1px); -} -.g-snows > li:nth-child(2) { - left: 41%; - width: 1px; - height: 1px; - -webkit-animation-duration: 10637ms; - animation-duration: 10637ms; - -webkit-animation-delay: 4550ms; - animation-delay: 4550ms; - filter: blur(2px); -} -.g-snows > li:nth-child(3) { - left: 7%; - width: 2px; - height: 2px; - -webkit-animation-duration: 5263ms; - animation-duration: 5263ms; - -webkit-animation-delay: 2409ms; - animation-delay: 2409ms; - filter: blur(0px); -} -.g-snows > li:nth-child(4) { - left: 50%; - width: 5px; - height: 5px; - -webkit-animation-duration: 6440ms; - animation-duration: 6440ms; - -webkit-animation-delay: 4218ms; - animation-delay: 4218ms; - filter: blur(1px); -} -.g-snows > li:nth-child(5) { - left: 25%; - width: 12px; - height: 12px; - -webkit-animation-duration: 5567ms; - animation-duration: 5567ms; - -webkit-animation-delay: 473ms; - animation-delay: 473ms; - filter: blur(3px); -} -.g-snows > li:nth-child(6) { - left: 61%; - width: 1px; - height: 1px; - -webkit-animation-duration: 8251ms; - animation-duration: 8251ms; - -webkit-animation-delay: 4732ms; - animation-delay: 4732ms; - filter: blur(0px); -} -.g-snows > li:nth-child(7) { - left: 10%; - width: 25px; - height: 25px; - -webkit-animation-duration: 10536ms; - animation-duration: 10536ms; - -webkit-animation-delay: 2407ms; - animation-delay: 2407ms; - filter: blur(1px); -} -.g-snows > li:nth-child(8) { - left: 65%; - width: 5px; - height: 5px; - -webkit-animation-duration: 10593ms; - animation-duration: 10593ms; - -webkit-animation-delay: 9ms; - animation-delay: 9ms; - filter: blur(0px); -} -.g-snows > li:nth-child(9) { - left: 46%; - width: 1px; - height: 1px; - -webkit-animation-duration: 5120ms; - animation-duration: 5120ms; - -webkit-animation-delay: 174ms; - animation-delay: 174ms; - filter: blur(0px); -} -.g-snows > li:nth-child(10) { - left: 7%; - width: 5px; - height: 5px; - -webkit-animation-duration: 5068ms; - animation-duration: 5068ms; - -webkit-animation-delay: 1330ms; - animation-delay: 1330ms; - filter: blur(3px); -} -.g-snows > li:nth-child(11) { - left: 49%; - width: 6px; - height: 6px; - -webkit-animation-duration: 6880ms; - animation-duration: 6880ms; - -webkit-animation-delay: 1306ms; - animation-delay: 1306ms; - filter: blur(2px); -} -.g-snows > li:nth-child(12) { - left: 86%; - width: 6px; - height: 6px; - -webkit-animation-duration: 7992ms; - animation-duration: 7992ms; - -webkit-animation-delay: 2160ms; - animation-delay: 2160ms; - filter: blur(0px); -} -.g-snows > li:nth-child(13) { - left: 106%; - width: 6px; - height: 6px; - -webkit-animation-duration: 9480ms; - animation-duration: 9480ms; - -webkit-animation-delay: 2686ms; - animation-delay: 2686ms; - filter: blur(3px); -} -.g-snows > li:nth-child(14) { - left: 2%; - width: 8px; - height: 8px; - -webkit-animation-duration: 13869ms; - animation-duration: 13869ms; - -webkit-animation-delay: 3121ms; - animation-delay: 3121ms; - filter: blur(0px); -} -.g-snows > li:nth-child(15) { - left: 35%; - width: 16px; - height: 16px; - -webkit-animation-duration: 8060ms; - animation-duration: 8060ms; - -webkit-animation-delay: 3485ms; - animation-delay: 3485ms; - filter: blur(1px); -} -.g-snows > li:nth-child(16) { - left: 83%; - width: 14px; - height: 14px; - -webkit-animation-duration: 9136ms; - animation-duration: 9136ms; - -webkit-animation-delay: 1593ms; - animation-delay: 1593ms; - filter: blur(0px); -} -.g-snows > li:nth-child(17) { - left: 7%; - width: 4px; - height: 4px; - -webkit-animation-duration: 11456ms; - animation-duration: 11456ms; - -webkit-animation-delay: 4156ms; - animation-delay: 4156ms; - filter: blur(2px); -} -.g-snows > li:nth-child(18) { - left: 124%; - width: 2px; - height: 2px; - -webkit-animation-duration: 5750ms; - animation-duration: 5750ms; - -webkit-animation-delay: 3554ms; - animation-delay: 3554ms; - filter: blur(0px); -} -.g-snows > li:nth-child(19) { - left: 45%; - width: 2px; - height: 2px; - -webkit-animation-duration: 6435ms; - animation-duration: 6435ms; - -webkit-animation-delay: 4319ms; - animation-delay: 4319ms; - filter: blur(4px); -} -.g-snows > li:nth-child(20) { - left: 36%; - width: 1px; - height: 1px; - -webkit-animation-duration: 7391ms; - animation-duration: 7391ms; - -webkit-animation-delay: 1458ms; - animation-delay: 1458ms; - filter: blur(2px); -} -.g-snows > li:nth-child(21) { - left: 68%; - width: 17px; - height: 17px; - -webkit-animation-duration: 13165ms; - animation-duration: 13165ms; - -webkit-animation-delay: 405ms; - animation-delay: 405ms; - filter: blur(1px); -} -.g-snows > li:nth-child(22) { - left: 29%; - width: 6px; - height: 6px; - -webkit-animation-duration: 12138ms; - animation-duration: 12138ms; - -webkit-animation-delay: 622ms; - animation-delay: 622ms; - filter: blur(0px); -} -.g-snows > li:nth-child(23) { - left: 107%; - width: 10px; - height: 10px; - -webkit-animation-duration: 7416ms; - animation-duration: 7416ms; - -webkit-animation-delay: 2183ms; - animation-delay: 2183ms; - filter: blur(3px); -} -.g-snows > li:nth-child(24) { - left: 61%; - width: 1px; - height: 1px; - -webkit-animation-duration: 5741ms; - animation-duration: 5741ms; - -webkit-animation-delay: 4902ms; - animation-delay: 4902ms; - filter: blur(2px); -} -.g-snows > li:nth-child(25) { - left: 131%; - width: 11px; - height: 11px; - -webkit-animation-duration: 8190ms; - animation-duration: 8190ms; - -webkit-animation-delay: 336ms; - animation-delay: 336ms; - filter: blur(1px); -} -.g-snows > li:nth-child(26) { - left: 35%; - width: 15px; - height: 15px; - -webkit-animation-duration: 5149ms; - animation-duration: 5149ms; - -webkit-animation-delay: 4843ms; - animation-delay: 4843ms; - filter: blur(3px); -} -.g-snows > li:nth-child(27) { - left: 62%; - width: 18px; - height: 18px; - -webkit-animation-duration: 5715ms; - animation-duration: 5715ms; - -webkit-animation-delay: 20ms; - animation-delay: 20ms; - filter: blur(2px); -} -.g-snows > li:nth-child(28) { - left: 17%; - width: 8px; - height: 8px; - -webkit-animation-duration: 6606ms; - animation-duration: 6606ms; - -webkit-animation-delay: 4585ms; - animation-delay: 4585ms; - filter: blur(2px); -} -.g-snows > li:nth-child(29) { - left: 22%; - width: 23px; - height: 23px; - -webkit-animation-duration: 7918ms; - animation-duration: 7918ms; - -webkit-animation-delay: 163ms; - animation-delay: 163ms; - filter: blur(2px); -} -.g-snows > li:nth-child(30) { - left: 62%; - width: 18px; - height: 18px; - -webkit-animation-duration: 6021ms; - animation-duration: 6021ms; - -webkit-animation-delay: 2063ms; - animation-delay: 2063ms; - filter: blur(0px); -} -.g-snows > li:nth-child(31) { - left: 13%; - width: 8px; - height: 8px; - -webkit-animation-duration: 9535ms; - animation-duration: 9535ms; - -webkit-animation-delay: 1169ms; - animation-delay: 1169ms; - filter: blur(2px); -} -.g-snows > li:nth-child(32) { - left: 45%; - width: 17px; - height: 17px; - -webkit-animation-duration: 9473ms; - animation-duration: 9473ms; - -webkit-animation-delay: 3235ms; - animation-delay: 3235ms; - filter: blur(4px); -} -.g-snows > li:nth-child(33) { - left: 63%; - width: 9px; - height: 9px; - -webkit-animation-duration: 6357ms; - animation-duration: 6357ms; - -webkit-animation-delay: 4989ms; - animation-delay: 4989ms; - filter: blur(0px); -} -.g-snows > li:nth-child(34) { - left: 22%; - width: 12px; - height: 12px; - -webkit-animation-duration: 12077ms; - animation-duration: 12077ms; - -webkit-animation-delay: 4597ms; - animation-delay: 4597ms; - filter: blur(1px); -} -.g-snows > li:nth-child(35) { - left: 33%; - width: 1px; - height: 1px; - -webkit-animation-duration: 7382ms; - animation-duration: 7382ms; - -webkit-animation-delay: 567ms; - animation-delay: 567ms; - filter: blur(2px); -} -.g-snows > li:nth-child(36) { - left: 65%; - width: 6px; - height: 6px; - -webkit-animation-duration: 8332ms; - animation-duration: 8332ms; - -webkit-animation-delay: 4247ms; - animation-delay: 4247ms; - filter: blur(3px); -} -.g-snows > li:nth-child(37) { - left: 43%; - width: 11px; - height: 11px; - -webkit-animation-duration: 7247ms; - animation-duration: 7247ms; - -webkit-animation-delay: 2365ms; - animation-delay: 2365ms; - filter: blur(1px); -} -.g-snows > li:nth-child(38) { - left: 18%; - width: 10px; - height: 10px; - -webkit-animation-duration: 11104ms; - animation-duration: 11104ms; - -webkit-animation-delay: 256ms; - animation-delay: 256ms; - filter: blur(2px); -} -.g-snows > li:nth-child(39) { - left: 25%; - width: 25px; - height: 25px; - -webkit-animation-duration: 10054ms; - animation-duration: 10054ms; - -webkit-animation-delay: 4671ms; - animation-delay: 4671ms; - filter: blur(0px); -} -.g-snows > li:nth-child(40) { - left: 65%; - width: 15px; - height: 15px; - -webkit-animation-duration: 8691ms; - animation-duration: 8691ms; - -webkit-animation-delay: 3571ms; - animation-delay: 3571ms; - filter: blur(1px); -} -.g-snows > li:nth-child(41) { - left: 14%; - width: 21px; - height: 21px; - -webkit-animation-duration: 10888ms; - animation-duration: 10888ms; - -webkit-animation-delay: 2672ms; - animation-delay: 2672ms; - filter: blur(1px); -} -.g-snows > li:nth-child(42) { - left: 49%; - width: 1px; - height: 1px; - -webkit-animation-duration: 9450ms; - animation-duration: 9450ms; - -webkit-animation-delay: 4555ms; - animation-delay: 4555ms; - filter: blur(2px); -} -.g-snows > li:nth-child(43) { - left: 2%; - width: 7px; - height: 7px; - -webkit-animation-duration: 13605ms; - animation-duration: 13605ms; - -webkit-animation-delay: 1840ms; - animation-delay: 1840ms; - filter: blur(3px); -} -.g-snows > li:nth-child(44) { - left: 15%; - width: 23px; - height: 23px; - -webkit-animation-duration: 12424ms; - animation-duration: 12424ms; - -webkit-animation-delay: 783ms; - animation-delay: 783ms; - filter: blur(0px); -} -.g-snows > li:nth-child(45) { - left: 14%; - width: 14px; - height: 14px; - -webkit-animation-duration: 6999ms; - animation-duration: 6999ms; - -webkit-animation-delay: 1146ms; - animation-delay: 1146ms; - filter: blur(1px); -} -.g-snows > li:nth-child(46) { - left: 23%; - width: 1px; - height: 1px; - -webkit-animation-duration: 11778ms; - animation-duration: 11778ms; - -webkit-animation-delay: 2975ms; - animation-delay: 2975ms; - filter: blur(2px); -} -.g-snows > li:nth-child(47) { - left: 19%; - width: 20px; - height: 20px; - -webkit-animation-duration: 8058ms; - animation-duration: 8058ms; - -webkit-animation-delay: 427ms; - animation-delay: 427ms; - filter: blur(1px); -} -.g-snows > li:nth-child(48) { - left: 57%; - width: 10px; - height: 10px; - -webkit-animation-duration: 5045ms; - animation-duration: 5045ms; - -webkit-animation-delay: 3678ms; - animation-delay: 3678ms; - filter: blur(4px); -} -.g-snows > li:nth-child(49) { - left: 84%; - width: 11px; - height: 11px; - -webkit-animation-duration: 12885ms; - animation-duration: 12885ms; - -webkit-animation-delay: 1981ms; - animation-delay: 1981ms; - filter: blur(1px); -} -.g-snows > li:nth-child(50) { - left: 56%; - width: 9px; - height: 9px; - -webkit-animation-duration: 8999ms; - animation-duration: 8999ms; - -webkit-animation-delay: 3382ms; - animation-delay: 3382ms; - filter: blur(3px); -} -.g-snows > li:nth-child(51) { - left: 20%; - width: 11px; - height: 11px; - -webkit-animation-duration: 9969ms; - animation-duration: 9969ms; - -webkit-animation-delay: 3097ms; - animation-delay: 3097ms; - filter: blur(3px); -} -.g-snows > li:nth-child(52) { - left: 100%; - width: 6px; - height: 6px; - -webkit-animation-duration: 11808ms; - animation-duration: 11808ms; - -webkit-animation-delay: 4356ms; - animation-delay: 4356ms; - filter: blur(2px); -} -.g-snows > li:nth-child(53) { - left: 21%; - width: 14px; - height: 14px; - -webkit-animation-duration: 8818ms; - animation-duration: 8818ms; - -webkit-animation-delay: 4814ms; - animation-delay: 4814ms; - filter: blur(3px); -} -.g-snows > li:nth-child(54) { - left: 81%; - width: 5px; - height: 5px; - -webkit-animation-duration: 8065ms; - animation-duration: 8065ms; - -webkit-animation-delay: 3727ms; - animation-delay: 3727ms; - filter: blur(1px); -} -.g-snows > li:nth-child(55) { - left: 58%; - width: 16px; - height: 16px; - -webkit-animation-duration: 6305ms; - animation-duration: 6305ms; - -webkit-animation-delay: 620ms; - animation-delay: 620ms; - filter: blur(2px); -} -.g-snows > li:nth-child(56) { - left: 127%; - width: 22px; - height: 22px; - -webkit-animation-duration: 10304ms; - animation-duration: 10304ms; - -webkit-animation-delay: 374ms; - animation-delay: 374ms; - filter: blur(0px); -} -.g-snows > li:nth-child(57) { - left: 28%; - width: 12px; - height: 12px; - -webkit-animation-duration: 5573ms; - animation-duration: 5573ms; - -webkit-animation-delay: 2921ms; - animation-delay: 2921ms; - filter: blur(1px); -} -.g-snows > li:nth-child(58) { - left: 3%; - width: 19px; - height: 19px; - -webkit-animation-duration: 9769ms; - animation-duration: 9769ms; - -webkit-animation-delay: 3150ms; - animation-delay: 3150ms; - filter: blur(1px); -} -.g-snows > li:nth-child(59) { - left: 36%; - width: 10px; - height: 10px; - -webkit-animation-duration: 7993ms; - animation-duration: 7993ms; - -webkit-animation-delay: 2461ms; - animation-delay: 2461ms; - filter: blur(3px); -} -.g-snows > li:nth-child(60) { - left: 32%; - width: 13px; - height: 13px; - -webkit-animation-duration: 7934ms; - animation-duration: 7934ms; - -webkit-animation-delay: 232ms; - animation-delay: 232ms; - filter: blur(1px); -} -.g-snows > li:nth-child(61) { - left: 20%; - width: 12px; - height: 12px; - -webkit-animation-duration: 5454ms; - animation-duration: 5454ms; - -webkit-animation-delay: 1940ms; - animation-delay: 1940ms; - filter: blur(0px); -} -.g-snows > li:nth-child(62) { - left: 20%; - width: 9px; - height: 9px; - -webkit-animation-duration: 5746ms; - animation-duration: 5746ms; - -webkit-animation-delay: 2749ms; - animation-delay: 2749ms; - filter: blur(3px); -} -.g-snows > li:nth-child(63) { - left: 132%; - width: 4px; - height: 4px; - -webkit-animation-duration: 8184ms; - animation-duration: 8184ms; - -webkit-animation-delay: 1643ms; - animation-delay: 1643ms; - filter: blur(0px); -} -.g-snows > li:nth-child(64) { - left: 140%; - width: 11px; - height: 11px; - -webkit-animation-duration: 8277ms; - animation-duration: 8277ms; - -webkit-animation-delay: 2604ms; - animation-delay: 2604ms; - filter: blur(3px); -} -.g-snows > li:nth-child(65) { - left: 66%; - width: 16px; - height: 16px; - -webkit-animation-duration: 8145ms; - animation-duration: 8145ms; - -webkit-animation-delay: 525ms; - animation-delay: 525ms; - filter: blur(3px); -} -.g-snows > li:nth-child(66) { - left: 42%; - width: 3px; - height: 3px; - -webkit-animation-duration: 8173ms; - animation-duration: 8173ms; - -webkit-animation-delay: 3287ms; - animation-delay: 3287ms; - filter: blur(3px); -} -.g-snows > li:nth-child(67) { - left: 24%; - width: 4px; - height: 4px; - -webkit-animation-duration: 10253ms; - animation-duration: 10253ms; - -webkit-animation-delay: 777ms; - animation-delay: 777ms; - filter: blur(1px); -} -.g-snows > li:nth-child(68) { - left: 31%; - width: 23px; - height: 23px; - -webkit-animation-duration: 11539ms; - animation-duration: 11539ms; - -webkit-animation-delay: 3051ms; - animation-delay: 3051ms; - filter: blur(0px); -} -.g-snows > li:nth-child(69) { - left: 56%; - width: 24px; - height: 24px; - -webkit-animation-duration: 11818ms; - animation-duration: 11818ms; - -webkit-animation-delay: 3407ms; - animation-delay: 3407ms; - filter: blur(3px); -} -.g-snows > li:nth-child(70) { - left: 12%; - width: 1px; - height: 1px; - -webkit-animation-duration: 13215ms; - animation-duration: 13215ms; - -webkit-animation-delay: 2692ms; - animation-delay: 2692ms; - filter: blur(4px); -} -.g-snows > li:nth-child(71) { - left: 58%; - width: 14px; - height: 14px; - -webkit-animation-duration: 13892ms; - animation-duration: 13892ms; - -webkit-animation-delay: 2563ms; - animation-delay: 2563ms; - filter: blur(1px); -} -.g-snows > li:nth-child(72) { - left: 89%; - width: 3px; - height: 3px; - -webkit-animation-duration: 5208ms; - animation-duration: 5208ms; - -webkit-animation-delay: 583ms; - animation-delay: 583ms; - filter: blur(0px); -} -.g-snows > li:nth-child(73) { - left: 56%; - width: 6px; - height: 6px; - -webkit-animation-duration: 11723ms; - animation-duration: 11723ms; - -webkit-animation-delay: 1437ms; - animation-delay: 1437ms; - filter: blur(0px); -} -.g-snows > li:nth-child(74) { - left: 24%; - width: 2px; - height: 2px; - -webkit-animation-duration: 7781ms; - animation-duration: 7781ms; - -webkit-animation-delay: 3988ms; - animation-delay: 3988ms; - filter: blur(1px); -} -.g-snows > li:nth-child(75) { - left: 138%; - width: 13px; - height: 13px; - -webkit-animation-duration: 8272ms; - animation-duration: 8272ms; - -webkit-animation-delay: 2605ms; - animation-delay: 2605ms; - filter: blur(4px); -} -.g-snows > li:nth-child(76) { - left: 28%; - width: 12px; - height: 12px; - -webkit-animation-duration: 5476ms; - animation-duration: 5476ms; - -webkit-animation-delay: 621ms; - animation-delay: 621ms; - filter: blur(2px); -} -.g-snows > li:nth-child(77) { - left: 13%; - width: 6px; - height: 6px; - -webkit-animation-duration: 7855ms; - animation-duration: 7855ms; - -webkit-animation-delay: 3690ms; - animation-delay: 3690ms; - filter: blur(3px); -} -.g-snows > li:nth-child(78) { - left: 26%; - width: 18px; - height: 18px; - -webkit-animation-duration: 7100ms; - animation-duration: 7100ms; - -webkit-animation-delay: 4307ms; - animation-delay: 4307ms; - filter: blur(3px); -} -.g-snows > li:nth-child(79) { - left: 75%; - width: 14px; - height: 14px; - -webkit-animation-duration: 5176ms; - animation-duration: 5176ms; - -webkit-animation-delay: 2086ms; - animation-delay: 2086ms; - filter: blur(1px); -} -.g-snows > li:nth-child(80) { - left: 27%; - width: 9px; - height: 9px; - -webkit-animation-duration: 9216ms; - animation-duration: 9216ms; - -webkit-animation-delay: 205ms; - animation-delay: 205ms; - filter: blur(0px); -} -.g-snows > li:nth-child(81) { - left: 30%; - width: 8px; - height: 8px; - -webkit-animation-duration: 8673ms; - animation-duration: 8673ms; - -webkit-animation-delay: 256ms; - animation-delay: 256ms; - filter: blur(4px); -} -.g-snows > li:nth-child(82) { - left: 72%; - width: 16px; - height: 16px; - -webkit-animation-duration: 14040ms; - animation-duration: 14040ms; - -webkit-animation-delay: 3849ms; - animation-delay: 3849ms; - filter: blur(1px); -} -.g-snows > li:nth-child(83) { - left: 51%; - width: 17px; - height: 17px; - -webkit-animation-duration: 8816ms; - animation-duration: 8816ms; - -webkit-animation-delay: 955ms; - animation-delay: 955ms; - filter: blur(4px); -} -.g-snows > li:nth-child(84) { - left: 125%; - width: 10px; - height: 10px; - -webkit-animation-duration: 5964ms; - animation-duration: 5964ms; - -webkit-animation-delay: 1377ms; - animation-delay: 1377ms; - filter: blur(2px); -} -.g-snows > li:nth-child(85) { - left: 74%; - width: 9px; - height: 9px; - -webkit-animation-duration: 6358ms; - animation-duration: 6358ms; - -webkit-animation-delay: 2414ms; - animation-delay: 2414ms; - filter: blur(1px); -} -.g-snows > li:nth-child(86) { - left: 83%; - width: 12px; - height: 12px; - -webkit-animation-duration: 6545ms; - animation-duration: 6545ms; - -webkit-animation-delay: 3928ms; - animation-delay: 3928ms; - filter: blur(4px); -} -.g-snows > li:nth-child(87) { - left: 16%; - width: 21px; - height: 21px; - -webkit-animation-duration: 7131ms; - animation-duration: 7131ms; - -webkit-animation-delay: 2389ms; - animation-delay: 2389ms; - filter: blur(1px); -} -.g-snows > li:nth-child(88) { - left: 57%; - width: 12px; - height: 12px; - -webkit-animation-duration: 7522ms; - animation-duration: 7522ms; - -webkit-animation-delay: 3801ms; - animation-delay: 3801ms; - filter: blur(4px); -} -.g-snows > li:nth-child(89) { - left: 78%; - width: 5px; - height: 5px; - -webkit-animation-duration: 13623ms; - animation-duration: 13623ms; - -webkit-animation-delay: 2185ms; - animation-delay: 2185ms; - filter: blur(3px); -} -.g-snows > li:nth-child(90) { - left: 61%; - width: 8px; - height: 8px; - -webkit-animation-duration: 8657ms; - animation-duration: 8657ms; - -webkit-animation-delay: 71ms; - animation-delay: 71ms; - filter: blur(1px); -} -.g-snows > li:nth-child(91) { - left: 28%; - width: 2px; - height: 2px; - -webkit-animation-duration: 7909ms; - animation-duration: 7909ms; - -webkit-animation-delay: 3333ms; - animation-delay: 3333ms; - filter: blur(2px); -} -.g-snows > li:nth-child(92) { - left: 12%; - width: 7px; - height: 7px; - -webkit-animation-duration: 6594ms; - animation-duration: 6594ms; - -webkit-animation-delay: 243ms; - animation-delay: 243ms; - filter: blur(3px); -} -.g-snows > li:nth-child(93) { - left: 49%; - width: 16px; - height: 16px; - -webkit-animation-duration: 12482ms; - animation-duration: 12482ms; - -webkit-animation-delay: 1371ms; - animation-delay: 1371ms; - filter: blur(3px); -} -.g-snows > li:nth-child(94) { - left: 9%; - width: 22px; - height: 22px; - -webkit-animation-duration: 5760ms; - animation-duration: 5760ms; - -webkit-animation-delay: 3697ms; - animation-delay: 3697ms; - filter: blur(3px); -} -.g-snows > li:nth-child(95) { - left: 45%; - width: 10px; - height: 10px; - -webkit-animation-duration: 8898ms; - animation-duration: 8898ms; - -webkit-animation-delay: 3597ms; - animation-delay: 3597ms; - filter: blur(0px); -} -.g-snows > li:nth-child(96) { - left: 96%; - width: 6px; - height: 6px; - -webkit-animation-duration: 5404ms; - animation-duration: 5404ms; - -webkit-animation-delay: 2061ms; - animation-delay: 2061ms; - filter: blur(1px); -} -.g-snows > li:nth-child(97) { - left: 94%; - width: 1px; - height: 1px; - -webkit-animation-duration: 6600ms; - animation-duration: 6600ms; - -webkit-animation-delay: 2167ms; - animation-delay: 2167ms; - filter: blur(1px); -} -.g-snows > li:nth-child(98) { - left: 39%; - width: 6px; - height: 6px; - -webkit-animation-duration: 8484ms; - animation-duration: 8484ms; - -webkit-animation-delay: 433ms; - animation-delay: 433ms; - filter: blur(1px); -} -.g-snows > li:nth-child(99) { - left: 28%; - width: 6px; - height: 6px; - -webkit-animation-duration: 9263ms; - animation-duration: 9263ms; - -webkit-animation-delay: 2548ms; - animation-delay: 2548ms; - filter: blur(0px); -} -.g-snows > li:nth-child(100) { - left: 119%; - width: 9px; - height: 9px; - -webkit-animation-duration: 9902ms; - animation-duration: 9902ms; - -webkit-animation-delay: 3559ms; - animation-delay: 3559ms; - filter: blur(2px); -} - -@-webkit-keyframes snow-drop { - 0% { - transform: translate(0, 0); - opacity: 0.5; - margin-left: 0; - } - 10% { - margin-left: 15px; - } - 20% { - margin-left: 20px; - } - 25% { - transform: translate(0, 166.6666666667px); - opacity: 0.75; - } - 30% { - margin-left: 15px; - } - 40% { - margin-left: 0; - } - 50% { - transform: translate(0, 333.3333333333px); - opacity: 1; - margin-left: -15px; - } - 60% { - margin-left: -20px; - } - 70% { - margin-left: -15px; - } - 75% { - transform: translate(0, 500px); - opacity: 0.5; - } - 80% { - margin-left: 0; - } - 100% { - transform: translate(0, 666.6666666667px); - opacity: 0; - } -} - -@keyframes snow-drop { - 0% { - transform: translate(0, 0); - opacity: 0.5; - margin-left: 0; - } - 10% { - margin-left: 15px; - } - 20% { - margin-left: 20px; - } - 25% { - transform: translate(0, 166.6666666667px); - opacity: 0.75; - } - 30% { - margin-left: 15px; - } - 40% { - margin-left: 0; - } - 50% { - transform: translate(0, 333.3333333333px); - opacity: 1; - margin-left: -15px; - } - 60% { - margin-left: -20px; - } - 70% { - margin-left: -15px; - } - 75% { - transform: translate(0, 500px); - opacity: 0.5; - } - 80% { - margin-left: 0; - } - 100% { - transform: translate(0, 666.6666666667px); - opacity: 0; - } -} diff --git a/resources/css/toc.css b/resources/css/toc.css index 3794d847..7cfbf87e 100644 --- a/resources/css/toc.css +++ b/resources/css/toc.css @@ -1,8 +1,8 @@ .toc li a { - @apply relative flex items-center rounded-md py-1.5 text-sm font-medium leading-5 text-skin-base transition duration-150 ease-in-out; + @apply relative flex items-center rounded-md py-1.5 text-sm font-medium leading-5 text-gray-500 transition duration-150 ease-in-out dark:text-gray-400; } .toc li a:hover { - @apply text-skin-inverted; + @apply text-gray-700; } .toc li a:focus { @apply outline-none; @@ -11,8 +11,8 @@ @apply pl-4; } .toc li.active > a { - @apply text-skin-primary; + @apply text-primary-500; } .toc li:not(.active) > ul > li.active a { - @apply text-skin-primary; + @apply text-primary-500; } diff --git a/resources/js/utils/clipboard.js b/resources/js/utils/clipboard.js index 0915cfaf..9ff0561e 100644 --- a/resources/js/utils/clipboard.js +++ b/resources/js/utils/clipboard.js @@ -39,10 +39,10 @@ codeBlocks.forEach((element, key) => { + {{ __('actions.approve') }} +