Openverse is a search engine for openly-licensed media. This monorepo includes all application code.
Remove sass styles and packages (#1318)
Olga Bulat0fdfccc29c6b
diff --git a/.github/workflows/bundle_size.yml b/.github/workflows/bundle_size.ymlindex 901a56312..027d9d86a 100644--- a/.github/workflows/bundle_size.yml+++ b/.github/workflows/bundle_size.yml@@ -7,7 +7,6 @@ on:- "**.js"- "**.vue"- "**.css"- - "**.scss"# Changes to any dependency- "pnpm-lock.yaml"# This file configures ESLint. Changes could affect the outcome.diff --git a/jest.config.js b/jest.config.jsindex 6e3932214..f151e97d6 100644--- a/jest.config.js+++ b/jest.config.js@@ -18,8 +18,7 @@ module.exports = {transform: {'^.+\\.(j|t)s$': 'babel-jest','.*\\.(vue)$': 'vue-jest',- '.+\\.(css|styl|less|sass|scss|png|jpg|ttf|woff|woff2)$':- 'jest-transform-stub',+ '.+\\.(css|png|jpg|ttf|woff|woff2)$': 'jest-transform-stub','^.+\\.svg$': '<rootDir>/test/unit/svg-transform.js',},testPathIgnorePatterns: ['/playwright/', '/storybook/'],diff --git a/nuxt.config.ts b/nuxt.config.tsindex 5e90fac01..22919a5ff 100644--- a/nuxt.config.ts+++ b/nuxt.config.ts@@ -162,13 +162,7 @@ const config: NuxtConfig = {{ src: '~/plugins/ua-parse' },{ src: '~/plugins/focus-visible', mode: 'client' },],- css: [- '~/styles/tailwind.css',- '~/assets/fonts.css',- '~/styles/vocabulary.scss',- '~/styles/global.scss',- '~/styles/accent.scss',- ],+ css: ['~/styles/tailwind.css', '~/assets/fonts.css', '~/styles/accent.css'],head,env,dev: !isProd,@@ -181,12 +175,6 @@ const config: NuxtConfig = {'@nuxtjs/eslint-module','@pinia/nuxt',],- // Load the scss variables into every component:- // No need to import them. Since the variables will not exist in the final build,- // this doesn't make the built files larger.- styleResources: {- scss: ['./styles/utilities/all.scss'],- },modules: ['@nuxtjs/i18n','@nuxtjs/redirect-module',diff --git a/package.json b/package.jsonindex 04112e69b..871846e5a 100644--- a/package.json+++ b/package.json@@ -141,8 +141,6 @@"postcss": "^8.4.12","prettier": "^2.2.1","rimraf": "^3.0.2",- "sass": "^1.49.9",- "sass-loader": "^10.2.1","tailwind-config-viewer": "^1.6.3","tailwindcss": "^3.0.23","tailwindcss-rtl": "^0.9.0",diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 1a4cb9150..377c364cb 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -79,8 +79,6 @@ specifiers:reakit-utils: ^0.15.2rfdc: ^1.3.0rimraf: ^3.0.2- sass: ^1.49.9- sass-loader: ^10.2.1seeded-rand: ^2.0.1tailwind-config-viewer: ^1.6.3tailwindcss: ^3.0.23@@ -140,7 +138,7 @@ devDependencies:'@babel/preset-typescript': 7.16.7'@babel/runtime-corejs3': 7.16.5'@intlify/eslint-plugin-vue-i18n': [email protected]- '@nuxt/types': [email protected]+ '@nuxt/types': 2.15.8'@nuxt/typescript-build': 2.1.0_@[email protected][email protected]'@nuxtjs/eslint-module': [email protected]'@nuxtjs/storybook': [email protected][email protected]@@ -180,8 +178,6 @@ devDependencies:postcss: 8.4.12prettier: 2.6.0rimraf: 3.0.2- sass: 1.49.9- sass-loader: [email protected]tailwind-config-viewer: [email protected]tailwindcss: 3.0.23_cf30258013438338cbfd2cf01b956a45tailwindcss-rtl: 0.9.0@@ -3037,7 +3033,7 @@ packages:- encodingdev: false- /@nuxt/types/[email protected]:+ /@nuxt/types/2.15.8:resolution: {integrity: sha512-zBAG5Fy+SIaZIerOVF1vxy1zz16ZK07QSbsuQAjdtEFlvr+vKK+0AqCv8r8DBY5IVqdMIaw5FgNUz5py0xWdPg==}dependencies:'@types/autoprefixer': 9.7.2@@ -3058,7 +3054,7 @@ packages:'@types/webpack-bundle-analyzer': 3.9.3'@types/webpack-dev-middleware': 4.1.2'@types/webpack-hot-middleware': 2.25.4- sass-loader: [email protected]+ sass-loader: 10.1.1transitivePeerDependencies:- fibers- node-sass@@ -3071,7 +3067,7 @@ packages:peerDependencies:'@nuxt/types': '>=2.13.1'dependencies:- '@nuxt/types': [email protected]+ '@nuxt/types': 2.15.8consola: 2.15.3fork-ts-checker-webpack-plugin: [email protected][email protected]ts-loader: [email protected]@@ -11069,10 +11065,6 @@ packages:resolution: {integrity: sha1-nbHb0Pr43m++D13V5Wu2BigN5ps=}dev: false- /immutable/4.0.0:- resolution: {integrity: sha512-zIE9hX70qew5qTUjSS7wi1iwj/l7+m54KWU247nhM3v806UdGj1yDndXj+IOYxxtW9zyLI+xqFNZjTuDaLUqFw==}- dev: true-/import-cwd/2.1.0:resolution: {integrity: sha1-qmzzbnInYShcs3HsZRn1PiQ1sKk=}engines: {node: '>=4'}@@ -16275,7 +16267,7 @@ packages:walker: 1.0.8dev: true- /sass-loader/[email protected]:+ /sass-loader/10.1.1:resolution: {integrity: sha512-W6gVDXAd5hR/WHsPicvZdjAWHBcEJ44UahgxcIE196fW2ong0ZHMPO1kZuI5q0VlvMQZh32gpv69PLWQm70qrw==}engines: {node: '>= 10.13.0'}peerDependencies:@@ -16294,31 +16286,6 @@ packages:klona: 2.0.5loader-utils: 2.0.2neo-async: 2.6.2- sass: 1.49.9- schema-utils: 3.1.1- semver: 7.3.5- dev: true-- /sass-loader/[email protected]:- resolution: {integrity: sha512-RRvWl+3K2LSMezIsd008ErK4rk6CulIMSwrcc2aZvjymUgKo/vjXGp1rSWmfTUX7bblEOz8tst4wBwWtCGBqKA==}- engines: {node: '>= 10.13.0'}- peerDependencies:- fibers: '>= 3.1.0'- node-sass: ^4.0.0 || ^5.0.0 || ^6.0.0- sass: ^1.3.0- webpack: ^4.36.0 || ^5.0.0- peerDependenciesMeta:- fibers:- optional: true- node-sass:- optional: true- sass:- optional: true- dependencies:- klona: 2.0.5- loader-utils: 2.0.2- neo-async: 2.6.2- sass: 1.49.9schema-utils: 3.1.1semver: 7.3.5dev: true@@ -16332,16 +16299,6 @@ packages:loader-utils: 2.0.2dev: true- /sass/1.49.9:- resolution: {integrity: sha512-YlYWkkHP9fbwaFRZQRXgDi3mXZShslVmmo+FVK3kHLUELHHEYrCmL1x6IUjC7wLS6VuJSAFXRQS/DxdsC4xL1A==}- engines: {node: '>=12.0.0'}- hasBin: true- dependencies:- chokidar: 3.5.3- immutable: 4.0.0- source-map-js: 1.0.2- dev: true-/sax/1.2.4:resolution: {integrity: sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==}dev: falsediff --git a/src/components/ExtensionBrowsers.vue b/src/components/ExtensionBrowsers.vueindex 999fbdef3..5a31cea82 100644--- a/src/components/ExtensionBrowsers.vue+++ b/src/components/ExtensionBrowsers.vue@@ -1,28 +1,36 @@<template>- <ul class="buttons is-centered">+ <ul class="flex flex-wrap justify-center items-center"><li v-for="(browser, key) in browsers" :key="key">- <VLink+ <VButton+ as="VLink"+ variant="tertiary":href="browser.extUrl"- class="browser-button button small me-2 is-opaque"+ class="me-2">{{ $t(`browsers.${key}`) }}- <img class="ms-2" :src="browser.logo" :alt="$t(`browsers.${key}`)" />- </VLink>+ <img+ class="ms-2 w-6 h-6"+ :src="browser.logo"+ :alt="$t(`browsers.${key}`).toString()"+ />+ </VButton></li></ul></template>-<script>-import VLink from '~/components/VLink.vue'+<script lang="ts">+import { defineComponent } from '@nuxtjs/composition-api'++import VButton from '~/components/VButton.vue'import chromeLogo from '~/assets/browsers/chrome.svg'import edgeLogo from '~/assets/browsers/edge.svg'import firefoxLogo from '~/assets/browsers/firefox.svg'import operaLogo from '~/assets/browsers/opera.svg'-export default {+export default defineComponent({name: 'ExtensionBrowsers',- components: { VLink },+ components: { VButton },data() {return {browsers: {@@ -48,15 +56,5 @@ export default {},}},-}+})</script>--<style scoped>-.browser-button {- @apply bg-white;-}--.browser-button img {- @apply w-6 h-6;-}-</style>diff --git a/src/components/VSourcesTable.vue b/src/components/VSourcesTable.vueindex 409d5693a..6962657d9 100644--- a/src/components/VSourcesTable.vue+++ b/src/components/VSourcesTable.vue@@ -138,7 +138,7 @@ export default defineComponent({@layer components {.table {- @apply border-0 rounded-sm border-separate border-dark-charcoal-20;+ @apply border-0 rounded-sm border-dark-charcoal-20;}.table th,.table td {diff --git a/src/locales/po-files/openverse.pot b/src/locales/po-files/openverse.potindex 24cf5e9f5..ddf9692eb 100644--- a/src/locales/po-files/openverse.pot+++ b/src/locales/po-files/openverse.pot@@ -4,7 +4,7 @@ msgid ""msgstr """Project-Id-Version: Openverse \n""Report-Msgid-Bugs-To: https://github.com/wordpress/openverse/issues \n"-"POT-Creation-Date: 2022-05-04T11:38:38+00:00\n"+"POT-Creation-Date: 2022-05-06T09:23:52+00:00\n""MIME-Version: 1.0\n""Content-Type: text/plain; charset=UTF-8\n""Content-Transfer-Encoding: 8bit\n"@@ -1147,12 +1147,12 @@ msgctxt "error.audio"msgid "audio"msgstr ""-#: src/pages/extension.vue:90+#: src/pages/extension.vue:98msgctxt "extension.title"msgid "Web extension"msgstr ""-#: src/pages/extension.vue:60+#: src/pages/extension.vue:58msgctxt "extension.conclusion"msgid "Have your favourite content while browsing the web"msgstr ""@@ -1181,7 +1181,7 @@ msgctxt "extension.features.search.content"msgid "Browse through millions of content and use filters to find what best meets your needs."msgstr ""-#: src/pages/extension.vue:7+#: src/pages/extension.vue:6msgctxt "extension.description.intro"msgid "A browser extension that lets you search and use open-licensed and public domain images."msgstr ""@@ -1651,12 +1651,10 @@ msgctxt "sources.issue-button"msgid "Suggest a new source"msgstr ""-#: src/pages/sources.vue:77msgctxt "sources.heading.image"msgid "Image Sources"msgstr ""-#: src/pages/sources.vue:79msgctxt "sources.heading.audio"msgid "Audio Sources"msgstr ""diff --git a/src/pages/extension.vue b/src/pages/extension.vueindex 607b9667a..af9bf6e84 100644--- a/src/pages/extension.vue+++ b/src/pages/extension.vue@@ -1,16 +1,14 @@<template>- <div dir="ltr">- <div class="hero-section border-b">- <div class="container pt-16">- <div class="intro text-center mx-auto">- <h2 class="text-5xl mb-10">- {{ $t('extension.description.intro') }}- </h2>- </div>- <ExtensionBrowsers />+ <section dir="ltr">+ <div class="border-b border-dark-charcoal-30 bg-dark-charcoal-06">+ <div class="flex flex-col items-center pt-20">+ <h2 class="text-5xl text-center mb-10 max-w-[700px]">+ {{ $t('extension.description.intro') }}+ </h2>+ <ExtensionBrowsers class="mb-16" /><videoref="heroVid"- class="max-w-7xl block w-full mx-auto"+ class="max-w-7xl block w-full"autoplayloopmuted@@ -25,7 +23,7 @@</div></div><div- class="features max-w-6xl grid grid-cols-1 tab:grid-cols-2 gap-x-12 gap-y-30 py-30 mx-auto"+ class="features md:max-w-3xl lg:max-w-6xl grid grid-cols-1 md:grid-cols-2 gap-x-12 gap-y-30 py-30 md:px-6 mx-auto"><template v-for="(feature, index) in features"><figure@@ -37,83 +35,73 @@<imgclass="max-w-7xl w-full rounded border":src="feature.image"- :alt="$t(`extension.features.${feature.key}.heading`)"+ :alt="$t(`extension.features.${feature.key}.heading`).toString()"/></figure><div:key="`description-${index}`":data-index="index"- class="description flex flex-col justify-center items-center"+ class="description flex flex-col justify-center items-center text-left":style="{ '--cell-idx': index * 2 + 1 }">- <h2 class="text-5xl">+ <h2 class="text-5xl mb-4 max-w=[30rem]">{{ $t(`extension.features.${feature.key}.heading`) }}</h2>- <p class="mt-4">+ <p class="max-w=[30rem]">{{ $t(`extension.features.${feature.key}.content`) }}</p></div></template></div>- <div class="section">- <div class="container conclusion mb-24">- <h2 class="text-center mx-auto">{{ $t('extension.conclusion') }}</h2>- <ExtensionBrowsers class="mt-6" />- </div>+ <div class="flex flex-col items-center mb-30">+ <h2 class="text-6xl text-center max-w-[40rem]">+ {{ $t('extension.conclusion') }}+ </h2>+ <ExtensionBrowsers class="mt-6" /></div>- </div>+ </section></template>-<script>+<script lang="ts">+import { defineComponent, ref } from '@nuxtjs/composition-api'+import ExtensionBrowsers from '~/components/ExtensionBrowsers.vue'import feature1 from '~/assets/screenshots/extension_feat_1.png'import feature2 from '~/assets/screenshots/extension_feat_2.png'import feature3 from '~/assets/screenshots/extension_feat_3.png'-const AboutPage = {- name: 'about-page',+export default defineComponent({+ name: 'AboutPage',components: { ExtensionBrowsers },- data() {+ setup() {+ const heroVid = ref<HTMLVideoElement>()const features = [{ key: 'search', image: feature1 },{ key: 'bookmark', image: feature2 },{ key: 'use', image: feature3 },]- return {- features,- isPlaying: true,+ const isPlaying = ref(true)++ const togglePlay = () => {+ if (isPlaying.value) {+ heroVid.value?.pause()+ } else {+ heroVid.value?.play()+ }+ isPlaying.value = !isPlaying.value}+ return { heroVid, togglePlay, features, isPlaying }},head() {return {title: `${this.$t('extension.title')} | Openverse`,}},- methods: {- togglePlay() {- if (this.isPlaying) {- this.$refs.heroVid.pause()- } else {- this.$refs.heroVid.play()- }- this.isPlaying = !this.isPlaying- },- },-}--export default AboutPage+})</script><style scoped>-.container .intro {- max-width: 880px;-}--.hero-section {- @apply border-dark-charcoal-30 bg-[#f6f7f7];-}-.features figure,.features .description {order: var(--cell-idx);@@ -139,11 +127,6 @@ figure img {max-width: 30rem;}-.description h2,-.description p {- max-width: 30rem;-}-@screen md {/** Rearrange middle row on two column layouts for zig-zag appearance **/figure[data-index='1'] {@@ -154,8 +137,4 @@ figure img {order: 3;}}--.conclusion h2 {- max-width: 40rem;-}</style>diff --git a/src/pages/sources.vue b/src/pages/sources.vueindex 295dfb5fa..25d77dbad 100644--- a/src/pages/sources.vue+++ b/src/pages/sources.vue@@ -74,16 +74,18 @@</strong></template></i18n>- <h5>{{ $t('sources.heading.image') }}</h5>- <VSourcesTable media="image" />- <h5>{{ $t('sources.heading.audio') }}</h5>- <VSourcesTable media="audio" />+ <template v-for="mediaType in supportedMediaTypes">+ <h3 :key="mediaType">{{ $t(`sources.heading.${mediaType}`) }}</h3>+ <VSourcesTable :key="mediaType" :media="mediaType" />+ </template></VContentPage></template><script lang="ts">import { defineComponent } from '@nuxtjs/composition-api'+import { supportedMediaTypes } from '~/constants/media'+import VButton from '~/components/VButton.vue'import VLink from '~/components/VLink.vue'import VIcon from '~/components/VIcon/VIcon.vue'@@ -96,7 +98,7 @@ export default defineComponent({name: 'SourcePage',components: { VButton, VContentPage, VIcon, VLink, VSourcesTable },setup() {- return { externalLinkIcon }+ return { externalLinkIcon, supportedMediaTypes }},head() {diff --git a/src/styles/accent.scss b/src/styles/accent.csssimilarity index 100%rename from src/styles/accent.scssrename to src/styles/accent.cssdiff --git a/src/styles/base/generic.sass b/src/styles/base/generic.sassdeleted file mode 100644index c5194883c..000000000--- a/src/styles/base/generic.sass+++ /dev/null@@ -1,112 +0,0 @@-@import "../utilities/mixins"--$body-background-color: $scheme-main-$body-rendering: optimizeLegibility-$body-family: $family-primary--$body-color: $color-dark-slate-gray-$body-font-size: 0.875em-$body-weight: $weight-normal-$body-line-height: 1.9--$code-family: $family-code-$code-padding: 0.25em 0.5em 0.25em-$code-weight: normal-$code-size: 0.875em--$small-font-size: 0.875em--$hr-background-color: $background !default-$hr-height: 2px !default-$hr-margin: 1.5rem 0 !default--$strong-color: $text-strong-$strong-weight: $weight-bold--$pre-font-size: 0.875em-$pre-padding: 1.25rem 1.5rem-$pre-code-font-size: 1em--article,-aside,-figure,-footer,-header,-hgroup,-section- display: block--body,-button,-input,-optgroup,-select,-textarea- font-family: $body-family--code,-pre- -moz-osx-font-smoothing: auto- -webkit-font-smoothing: auto- font-family: $code-family--code- background-color: $code-background- color: $code- font-size: $code-size- font-weight: $code-weight- padding: $code-padding--hr- background-color: $hr-background-color- border: none- display: block- height: $hr-height- margin: $hr-margin--img- height: auto- max-width: 100%--input[type="radio"]- vertical-align: baseline--small- font-size: $small-font-size--span- font-style: inherit- font-weight: inherit--strong- color: $strong-color- font-weight: $strong-weight--// Block--fieldset- border: none--pre- +overflow-touch- background-color: $pre-background- color: $pre- font-size: $pre-font-size- overflow-x: auto- padding: $pre-padding- white-space: pre- word-wrap: normal- code- background-color: transparent- color: currentColor- font-size: $pre-code-font-size- padding: 0--table- td,- th- vertical-align: top- &:not([align])- text-align: inherit- th- color: $text-strongdiff --git a/src/styles/base/layout.sass b/src/styles/base/layout.sassdeleted file mode 100644index 8f1f26ff4..000000000--- a/src/styles/base/layout.sass+++ /dev/null@@ -1,516 +0,0 @@-@use "sass:math"--$container-offset: (2 * $gap) !default-$container-max-width: $fullhd !default--.container- flex-grow: 1- margin: 0 auto- position: relative- width: auto- &.is-fluid- max-width: none !important- padding-left: $gap- padding-right: $gap- width: 100%- +desktop- max-width: $desktop - $container-offset- +until-widescreen- &.is-widescreen:not(.is-max-desktop)- max-width: min($widescreen, $container-max-width) - $container-offset- +until-fullhd- &.is-fullhd:not(.is-max-desktop):not(.is-max-widescreen)- max-width: min($fullhd, $container-max-width) - $container-offset- +widescreen- &:not(.is-max-desktop)- max-width: min($widescreen, $container-max-width) - $container-offset- +fullhd- &:not(.is-max-desktop):not(.is-max-widescreen)- max-width: min($fullhd, $container-max-width) - $container-offset--$column-gap: 0.75rem !default--.column- display: block- flex-basis: 0- flex-grow: 1- flex-shrink: 1- padding: $column-gap- .columns.is-mobile > &.is-narrow- flex: none- width: unset- .columns.is-mobile > &.is-full- flex: none- width: 100%- .columns.is-mobile > &.is-three-quarters- flex: none- width: 75%- .columns.is-mobile > &.is-two-thirds- flex: none- width: 66.6666%- .columns.is-mobile > &.is-half- flex: none- width: 50%- .columns.is-mobile > &.is-one-third- flex: none- width: 33.3333%- .columns.is-mobile > &.is-one-quarter- flex: none- width: 25%- .columns.is-mobile > &.is-one-fifth- flex: none- width: 20%- .columns.is-mobile > &.is-two-fifths- flex: none- width: 40%- .columns.is-mobile > &.is-three-fifths- flex: none- width: 60%- .columns.is-mobile > &.is-four-fifths- flex: none- width: 80%- .columns.is-mobile > &.is-offset-three-quarters- +ltr-property("margin", 75%, false)- .columns.is-mobile > &.is-offset-two-thirds- +ltr-property("margin", 66.6666%, false)- .columns.is-mobile > &.is-offset-half- +ltr-property("margin", 50%, false)- .columns.is-mobile > &.is-offset-one-third- +ltr-property("margin", 33.3333%, false)- .columns.is-mobile > &.is-offset-one-quarter- +ltr-property("margin", 25%, false)- .columns.is-mobile > &.is-offset-one-fifth- +ltr-property("margin", 20%, false)- .columns.is-mobile > &.is-offset-two-fifths- +ltr-property("margin", 40%, false)- .columns.is-mobile > &.is-offset-three-fifths- +ltr-property("margin", 60%, false)- .columns.is-mobile > &.is-offset-four-fifths- +ltr-property("margin", 80%, false)- @for $i from 0 through 12- .columns.is-mobile > &.is-#{$i}- flex: none- width: percentage(math.div($i, 12))- .columns.is-mobile > &.is-offset-#{$i}- +ltr-property("margin", percentage(math.div($i, 12)), false)- +mobile- &.is-narrow-mobile- flex: none- width: unset- &.is-full-mobile- flex: none- width: 100%- &.is-three-quarters-mobile- flex: none- width: 75%- &.is-two-thirds-mobile- flex: none- width: 66.6666%- &.is-half-mobile- flex: none- width: 50%- &.is-one-third-mobile- flex: none- width: 33.3333%- &.is-one-quarter-mobile- flex: none- width: 25%- &.is-one-fifth-mobile- flex: none- width: 20%- &.is-two-fifths-mobile- flex: none- width: 40%- &.is-three-fifths-mobile- flex: none- width: 60%- &.is-four-fifths-mobile- flex: none- width: 80%- &.is-offset-three-quarters-mobile- +ltr-property("margin", 75%, false)- &.is-offset-two-thirds-mobile- +ltr-property("margin", 66.6666%, false)- &.is-offset-half-mobile- +ltr-property("margin", 50%, false)- &.is-offset-one-third-mobile- +ltr-property("margin", 33.3333%, false)- &.is-offset-one-quarter-mobile- +ltr-property("margin", 25%, false)- &.is-offset-one-fifth-mobile- +ltr-property("margin", 20%, false)- &.is-offset-two-fifths-mobile- +ltr-property("margin", 40%, false)- &.is-offset-three-fifths-mobile- +ltr-property("margin", 60%, false)- &.is-offset-four-fifths-mobile- +ltr-property("margin", 80%, false)- @for $i from 0 through 12- &.is-#{$i}-mobile- flex: none- width: percentage(math.div($i, 12))- &.is-offset-#{$i}-mobile- +ltr-property("margin", percentage(math.div($i, 12)), false)- +tablet- &.is-narrow,- &.is-narrow-tablet- flex: none- width: unset- &.is-full,- &.is-full-tablet- flex: none- width: 100%- &.is-three-quarters,- &.is-three-quarters-tablet- flex: none- width: 75%- &.is-two-thirds,- &.is-two-thirds-tablet- flex: none- width: 66.6666%- &.is-half,- &.is-half-tablet- flex: none- width: 50%- &.is-one-third,- &.is-one-third-tablet- flex: none- width: 33.3333%- &.is-one-quarter,- &.is-one-quarter-tablet- flex: none- width: 25%- &.is-one-fifth,- &.is-one-fifth-tablet- flex: none- width: 20%- &.is-two-fifths,- &.is-two-fifths-tablet- flex: none- width: 40%- &.is-three-fifths,- &.is-three-fifths-tablet- flex: none- width: 60%- &.is-four-fifths,- &.is-four-fifths-tablet- flex: none- width: 80%- &.is-offset-three-quarters,- &.is-offset-three-quarters-tablet- +ltr-property("margin", 75%, false)- &.is-offset-two-thirds,- &.is-offset-two-thirds-tablet- +ltr-property("margin", 66.6666%, false)- &.is-offset-half,- &.is-offset-half-tablet- +ltr-property("margin", 50%, false)- &.is-offset-one-third,- &.is-offset-one-third-tablet- +ltr-property("margin", 33.3333%, false)- &.is-offset-one-quarter,- &.is-offset-one-quarter-tablet- +ltr-property("margin", 25%, false)- &.is-offset-one-fifth,- &.is-offset-one-fifth-tablet- +ltr-property("margin", 20%, false)- &.is-offset-two-fifths,- &.is-offset-two-fifths-tablet- +ltr-property("margin", 40%, false)- &.is-offset-three-fifths,- &.is-offset-three-fifths-tablet- +ltr-property("margin", 60%, false)- &.is-offset-four-fifths,- &.is-offset-four-fifths-tablet- +ltr-property("margin", 80%, false)- @for $i from 0 through 12- &.is-#{$i},- &.is-#{$i}-tablet- flex: none- width: percentage(math.div($i, 12))- &.is-offset-#{$i},- &.is-offset-#{$i}-tablet- +ltr-property("margin", percentage(math.div($i, 12)), false)- +touch- &.is-narrow-touch- flex: none- width: unset- &.is-full-touch- flex: none- width: 100%- &.is-three-quarters-touch- flex: none- width: 75%- &.is-two-thirds-touch- flex: none- width: 66.6666%- &.is-half-touch- flex: none- width: 50%- &.is-one-third-touch- flex: none- width: 33.3333%- &.is-one-quarter-touch- flex: none- width: 25%- &.is-one-fifth-touch- flex: none- width: 20%- &.is-two-fifths-touch- flex: none- width: 40%- &.is-three-fifths-touch- flex: none- width: 60%- &.is-four-fifths-touch- flex: none- width: 80%- &.is-offset-three-quarters-touch- +ltr-property("margin", 75%, false)- &.is-offset-two-thirds-touch- +ltr-property("margin", 66.6666%, false)- &.is-offset-half-touch- +ltr-property("margin", 50%, false)- &.is-offset-one-third-touch- +ltr-property("margin", 33.3333%, false)- &.is-offset-one-quarter-touch- +ltr-property("margin", 25%, false)- &.is-offset-one-fifth-touch- +ltr-property("margin", 20%, false)- &.is-offset-two-fifths-touch- +ltr-property("margin", 40%, false)- &.is-offset-three-fifths-touch- +ltr-property("margin", 60%, false)- &.is-offset-four-fifths-touch- +ltr-property("margin", 80%, false)- @for $i from 0 through 12- &.is-#{$i}-touch- flex: none- width: percentage(math.div($i, 12))- &.is-offset-#{$i}-touch- +ltr-property("margin", percentage(math.div($i, 12)), false)- +desktop- &.is-narrow-desktop- flex: none- width: unset- &.is-full-desktop- flex: none- width: 100%- &.is-three-quarters-desktop- flex: none- width: 75%- &.is-two-thirds-desktop- flex: none- width: 66.6666%- &.is-half-desktop- flex: none- width: 50%- &.is-one-third-desktop- flex: none- width: 33.3333%- &.is-one-quarter-desktop- flex: none- width: 25%- &.is-one-fifth-desktop- flex: none- width: 20%- &.is-two-fifths-desktop- flex: none- width: 40%- &.is-three-fifths-desktop- flex: none- width: 60%- &.is-four-fifths-desktop- flex: none- width: 80%- &.is-offset-three-quarters-desktop- +ltr-property("margin", 75%, false)- &.is-offset-two-thirds-desktop- +ltr-property("margin", 66.6666%, false)- &.is-offset-half-desktop- +ltr-property("margin", 50%, false)- &.is-offset-one-third-desktop- +ltr-property("margin", 33.3333%, false)- &.is-offset-one-quarter-desktop- +ltr-property("margin", 25%, false)- &.is-offset-one-fifth-desktop- +ltr-property("margin", 20%, false)- &.is-offset-two-fifths-desktop- +ltr-property("margin", 40%, false)- &.is-offset-three-fifths-desktop- +ltr-property("margin", 60%, false)- &.is-offset-four-fifths-desktop- +ltr-property("margin", 80%, false)- @for $i from 0 through 12- &.is-#{$i}-desktop- flex: none- width: percentage(math.div($i, 12))- &.is-offset-#{$i}-desktop- +ltr-property("margin", percentage(math.div($i, 12)), false)- +widescreen- &.is-narrow-widescreen- flex: none- width: unset- &.is-full-widescreen- flex: none- width: 100%- &.is-three-quarters-widescreen- flex: none- width: 75%- &.is-two-thirds-widescreen- flex: none- width: 66.6666%- &.is-half-widescreen- flex: none- width: 50%- &.is-one-third-widescreen- flex: none- width: 33.3333%- &.is-one-quarter-widescreen- flex: none- width: 25%- &.is-one-fifth-widescreen- flex: none- width: 20%- &.is-two-fifths-widescreen- flex: none- width: 40%- &.is-three-fifths-widescreen- flex: none- width: 60%- &.is-four-fifths-widescreen- flex: none- width: 80%- &.is-offset-three-quarters-widescreen- +ltr-property("margin", 75%, false)- &.is-offset-two-thirds-widescreen- +ltr-property("margin", 66.6666%, false)- &.is-offset-half-widescreen- +ltr-property("margin", 50%, false)- &.is-offset-one-third-widescreen- +ltr-property("margin", 33.3333%, false)- &.is-offset-one-quarter-widescreen- +ltr-property("margin", 25%, false)- &.is-offset-one-fifth-widescreen- +ltr-property("margin", 20%, false)- &.is-offset-two-fifths-widescreen- +ltr-property("margin", 40%, false)- &.is-offset-three-fifths-widescreen- +ltr-property("margin", 60%, false)- &.is-offset-four-fifths-widescreen- +ltr-property("margin", 80%, false)- @for $i from 0 through 12- &.is-#{$i}-widescreen- flex: none- width: percentage(math.div($i, 12))- &.is-offset-#{$i}-widescreen- +ltr-property("margin", percentage(math.div($i, 12)), false)- +fullhd- &.is-narrow-fullhd- flex: none- width: unset- &.is-full-fullhd- flex: none- width: 100%- &.is-three-quarters-fullhd- flex: none- width: 75%- &.is-two-thirds-fullhd- flex: none- width: 66.6666%- &.is-half-fullhd- flex: none- width: 50%- &.is-one-third-fullhd- flex: none- width: 33.3333%- &.is-one-quarter-fullhd- flex: none- width: 25%- &.is-one-fifth-fullhd- flex: none- width: 20%- &.is-two-fifths-fullhd- flex: none- width: 40%- &.is-three-fifths-fullhd- flex: none- width: 60%- &.is-four-fifths-fullhd- flex: none- width: 80%- &.is-offset-three-quarters-fullhd- +ltr-property("margin", 75%, false)- &.is-offset-two-thirds-fullhd- +ltr-property("margin", 66.6666%, false)- &.is-offset-half-fullhd- +ltr-property("margin", 50%, false)- &.is-offset-one-third-fullhd- +ltr-property("margin", 33.3333%, false)- &.is-offset-one-quarter-fullhd- +ltr-property("margin", 25%, false)- &.is-offset-one-fifth-fullhd- +ltr-property("margin", 20%, false)- &.is-offset-two-fifths-fullhd- +ltr-property("margin", 40%, false)- &.is-offset-three-fifths-fullhd- +ltr-property("margin", 60%, false)- &.is-offset-four-fifths-fullhd- +ltr-property("margin", 80%, false)- @for $i from 0 through 12- &.is-#{$i}-fullhd- flex: none- width: percentage(math.div($i, 12))- &.is-offset-#{$i}-fullhd- +ltr-property("margin", percentage(math.div($i, 12)), false)--.columns- +ltr-property("margin", (-$column-gap), false)- +ltr-property("margin", (-$column-gap))- margin-top: (-$column-gap)- &:last-child- margin-bottom: (-$column-gap)- &:not(:last-child)- margin-bottom: calc(1.5rem - #{$column-gap})- // Modifiers- &.is-centered- justify-content: center- &.is-gapless- +ltr-property("margin", 0, false)- +ltr-property("margin", 0)- margin-top: 0- & > .column- margin: 0- padding: 0 !important- &:not(:last-child)- margin-bottom: 1.5rem- &:last-child- margin-bottom: 0- &.is-mobile- display: flex- &.is-multiline- flex-wrap: wrap- &.is-vcentered- align-items: center- // Responsiveness- +tablet- &:not(.is-desktop)- display: flex- +desktop- // Modifiers- &.is-desktop- display: flex--$section-padding: 3rem 1.5rem-$section-padding-medium: 9rem 1.5rem-$section-padding-large: 18rem 1.5rem--.section- padding: $section-padding- // Responsiveness- +desktop- // Sizes- &.is-medium- padding: $section-padding-medium- &.is-large- padding: $section-padding-largediff --git a/src/styles/base/minireset.sass b/src/styles/base/minireset.sassdeleted file mode 100644index aa2b6f3ac..000000000--- a/src/styles/base/minireset.sass+++ /dev/null@@ -1,79 +0,0 @@-/*! minireset.css v0.0.6 | MIT License | github.com/jgthms/minireset.css */-// Blocks-html,-body,-p,-ol,-ul,-li,-dl,-dt,-dd,-blockquote,-figure,-fieldset,-legend,-textarea,-pre,-iframe,-hr,-h1,-h2,-h3,-h4,-h5,-h6- margin: 0- padding: 0--// Headings-h1,-h2,-h3,-h4,-h5,-h6- font-size: 100%- font-weight: normal--// List-ul- list-style: none--// Form-button,-input,-select,-textarea- margin: 0--// Box sizing-html- box-sizing: border-box--*- &,- &::before,- &::after- box-sizing: inherit--// Media-img,-video- height: auto- max-width: 100%--// Iframe-iframe- border: 0--// Table-table- border-collapse: collapse- border-spacing: 0--td,-th- padding: 0- &:not([align])- text-align: inheritdiff --git a/src/styles/components/button.sass b/src/styles/components/button.sassdeleted file mode 100644index 8a040f9d1..000000000--- a/src/styles/components/button.sass+++ /dev/null@@ -1,270 +0,0 @@-@use "sass:math"--$button-color: $color-dark-gray--$button-border-width: 1px--$button-focus-color: $link-focus-$button-focus-border-color: $link-focus-border-$button-focus-box-shadow-size: 0 0 0 0.125rem-$button-focus-box-shadow-color: toRgba($link, 0.25)--$button-active-color: $link-active-$button-active-border-color: $link-active-border--$button-text-color: $text-$button-text-decoration: underline-$button-text-hover-background-color: $background-$button-text-hover-color: $text-strong--$button-disabled-background-color: $scheme-main-$button-disabled-border-color: $border-$button-disabled-shadow: none-$button-disabled-opacity: 0.5--$button-colors: $colors--// The button sizes use mixins so they can be used at different breakpoints-=button-small- &:not(.is-rounded)- border-radius: $radius-small- font-size: $size-small-=button-normal- font-size: $size-normal-=button-medium- font-size: $size-medium-=button-large- font-size: $size-large--.button- +control- user-select: none- --button-padding-horizontal: 2.5rem- --button-padding-vertical: 1.813rem- --button-padding-horizontal-fourth: 0.813rem- --button-border-width: #{$button-border-width}- --button-font-size: #{$font-size-body-bigger}- --button-focused-box-shadow-color: #{toRgba($color-light-gray, 0.5)}- font-weight: 500---- line-height: 0- background-color: $color-white- border-color: $color-dark-gray- border-width: var(--button-border-width)- color: $button-color- cursor: pointer- font-family: $family-secondary- font-size: var(--button-font-size)- justify-content: center- padding: var(--button-padding-vertical) var(--button-padding-horizontal)- text-align: center- white-space: nowrap- strong- color: inherit- .icon- &,- &.is-small,- &.is-medium,- &.is-large- height: 1.5em- width: 1.5em- //&:first-child:not(:last-child)- // +ltr-property("margin", calc(-1 / 2 * var(--button-padding-horizontal) - #{$button-border-width}), false)- // +ltr-property("margin", var(--button-padding-horizontal-fourth, 0.2rem))- //&:last-child:not(:first-child)- // +ltr-property("margin", var(--button-padding-horizontal-fourth, 0.2rem), false)- // +ltr-property("margin", calc(-1 / 2 * var(--button-padding-horizontal) - #{$button-border-width}))- //&:first-child:last-child- // margin-left: calc(-1 / 2 * var(--button-padding-horizontal) - var(--button-border-width))- // margin-right: calc(-1 / 2 * var(--button-padding-horizontal) - var(--button-border-width))- // States- &:hover,- &.is-hovered- background-color: $color-dark-gray- border-color: transparent- color: $color-white- text-decoration: none- &:focus,- &.is-focused- color: $button-focus-color- &:not(:active)- box-shadow: $button-focus-box-shadow-size var(--button-focused-box-shadow-color)- &:active,- &.is-active- border-color: $button-active-border-color- color: $button-active-color- // Colors- &.is-text- background-color: transparent- border-color: transparent- height: auto!important- line-height: normal- color: $button-text-color- text-decoration: none- white-space: normal- &:hover,- &.is-hovered,- &:focus,- &.is-focused- background-color: transparent- color: $button-text-hover-color- text-decoration: underline- &:active,- &.is-active- background-color: transparent- color: $button-text-hover-color- border-color: transparent- box-shadow: none- &[disabled],- fieldset[disabled] &- background-color: transparent- border-color: transparent- box-shadow: none- &.is-opaque- border-color: $color-transition-gray- color: black- background-color: transparent- &.is-success- border-color: transparent- color: $color-white- background-color: $color-transition-blue- --button-focused-box-shadow-color: #{toRgba($color-transition-blue, 0.3)}- &:hover,- &:active- background-color: darken($color-transition-blue, 15%)- &.is-primary- border-color: transparent- color: $color-white- background-color: $color-transition-blue- --button-focused-box-shadow-color: #{toRgba($color-transition-blue, 0.3)}- &:hover,- &:active- background-color: lighten($color-transition-blue, 4)- &.is-info- border-color: transparent- color: $color-white- background-color: $color-dark-slate-blue- --button-focused-box-shadow-color: toRgba($color-dark-slate-blue, 0.3)- &:hover,- &:active- background-color: $color-brighter-dark-slate-blue- &.donate- background-color: $color-gold- border-color: transparent- color: $color-black- --button-focused-box-shadow-color: toRgba($color-gold, 0.3)-- &:hover- background-color: $color-brighter-gold- color: $color-black-- // Sizes- &.big- --button-font-size: #{$font-size-h3}- --button-padding-horizontal: #{$space-large}- --button-padding-vertical: calc(#{$space-large} - 0.093rem)- &.small- --button-font-size: 1rem- --button-padding-horizontal: calc(#{$space-normal} + 0.2rem)- --button-padding-vertical: #{$space-small}- &.tiny- font-family: $family-inter- --button-padding-horizontal: #{$space-small}- --button-padding-vertical: 0- --button-font-size: 1rem- text-transform: lowercase- &.tag- font-family: $family-inter- --button-padding-vertical: 0- --button-padding-horizontal: #{$space-normal}- --button-font-size: 0.81rem- text-transform: none- min-height: 1.81rem- height: auto- line-height: normal- white-space: normal- border-radius: 18.75rem- border: 1px solid $color-light-gray- &:hover- border-color: $color-dark-gray-- // Modifiers- &[disabled],- fieldset[disabled] &- background-color: $button-disabled-background-color- border-color: $button-disabled-border-color- box-shadow: $button-disabled-shadow- opacity: $button-disabled-opacity- &.is-fullwidth- display: flex- width: 100%- &.is-loading- color: transparent !important- pointer-events: none- &::after- +loader- +center(1em)- position: absolute !important--.buttons- align-items: center- display: flex- flex-wrap: wrap- justify-content: flex-start- .button- margin-bottom: 0.5rem- &:not(:last-child):not(.is-fullwidth)- +ltr-property("margin", 0.5rem)- &:last-child- margin-bottom: -0.5rem- &:not(:last-child)- margin-bottom: 1rem- // Sizes- &.are-small- .button:not(.is-normal):not(.is-medium):not(.is-large)- +button-small- &.are-medium- .button:not(.is-small):not(.is-normal):not(.is-large)- +button-medium- &.are-large- .button:not(.is-small):not(.is-normal):not(.is-medium)- +button-large- &.has-addons- .button- &:not(:first-child)- border-bottom-left-radius: 0- border-top-left-radius: 0- &:not(:last-child)- border-bottom-right-radius: 0- border-top-right-radius: 0- +ltr-property("margin", -1px)- &:last-child- +ltr-property("margin", 0)- &:hover,- &.is-hovered- z-index: 2- &:focus,- &.is-focused,- &:active,- &.is-active,- &.is-selected- z-index: 3- &:hover- z-index: 4- &.is-expanded- flex-grow: 1- flex-shrink: 1- &.is-centered- justify-content: center- &:not(.has-addons)- .button:not(.is-fullwidth)- margin-left: 0.25rem- margin-right: 0.25rem- &.is-right- justify-content: flex-end- &:not(.has-addons)- .button:not(.is-fullwidth)- margin-left: 0.25rem- margin-right: 0.25remdiff --git a/src/styles/components/card.sass b/src/styles/components/card.sassdeleted file mode 100644index 597589a0a..000000000--- a/src/styles/components/card.sass+++ /dev/null@@ -1,341 +0,0 @@-@import "../utilities/mixins"--$card-color: $text-$card-background-color: $scheme-main-$card-shadow: none-$card-radius: 0.25rem--$card-header-background-color: transparent-$card-header-color: $text-strong-$card-header-padding: 0.75rem 1rem-$card-header-shadow: none-$card-header-weight: $weight-bold--$card-content-background-color: transparent-$card-content-padding: $space-big--$card-footer-background-color: transparent-$card-footer-border-top: 1px solid $border-$card-footer-padding: 0.75rem--$card-media-margin: $block-spacing--.card- background-color: $card-background-color- border-radius: $card-radius- box-shadow: $card-shadow- color: $card-color- max-width: 100%- position: relative--%card-item- &:first-child- border-top-left-radius: $card-radius- border-top-right-radius: $card-radius- &:last-child- border-bottom-left-radius: $card-radius- border-bottom-right-radius: $card-radius--.card-header- @extend %card-item- background-color: $card-header-background-color- align-items: stretch- box-shadow: $card-header-shadow- display: flex--.card-header-title- align-items: center- color: $card-header-color- display: flex- flex-grow: 1- font-weight: $card-header-weight- padding: $card-header-padding- &.is-centered- justify-content: center--.card-header-icon- align-items: center- cursor: pointer- display: flex- justify-content: center- padding: $card-header-padding--.card-image- display: block- position: relative- &:first-child- img- border-top-left-radius: $card-radius- border-top-right-radius: $card-radius- &:last-child- img- border-bottom-left-radius: $card-radius- border-bottom-right-radius: $card-radius--.card-content- @extend %card-item- background-color: $card-content-background-color- padding: $card-content-padding--.card-footer- @extend %card-item- background-color: $card-footer-background-color- border-top: $card-footer-border-top- align-items: stretch- display: flex--.card-footer-item- align-items: center- display: flex- flex-basis: 0- flex-grow: 1- flex-shrink: 0- justify-content: center- padding: $card-footer-padding- &:not(:last-child)- +ltr-property("border", $card-footer-border-top)--// Combinations--.card- .media:not(:last-child)- margin-bottom: $card-media-margin--.card- &.entry-post- border: 3px solid $color-light-gray- &.no-border- border: none- .card-content- padding: $space-big $space-bigger- .card-title- text-transform: none- line-height: 1.6rem- a- color: $color-black- .subtitle- display: block- margin-top: $space-normal- color: $color-gray- font-size: 0.9rem- font-weight: 700- text-transform: uppercase- letter-spacing: 0.1rem- .content- padding-top: $space-big- &.with-button- .content- padding: $space-big 0- .read-more- position: relative- margin-top: $space-big- text-transform: uppercase- color: $color-gray- letter-spacing: 0.02em- .icon- padding-left: $space-normal- &:hover- text-decoration: none- color: $color-dark-gray- &.horizontal- display: flex- .card-content- padding: $space-bigger- .card-image- .image- height: 100%- img- object-fit: cover- height: 100%-- &.entry-video- .card-image- a- .image- &:before- content: ''- position: absolute- padding: $space-big- top: 0- left: 0- width: 5rem- height: 5rem- background-color: $color-gold- color: $color-white- font-family: 'Vocabulary Icons', monospace !important- font-size: 3rem- line-height: 0.7- text-align: center- z-index: 10- &.large- & > *- flex: 0 0 auto- .card-image- width: 70%- a- .image- &:before- bottom: 0- right: 0- margin: auto- img- width: 100%- .card-content- width: 30%- .card-title- text-transform: uppercase- line-height: 3.7rem- &.entry-event- .card-header- width: 30%- justify-content: center- align-items: center- .card-date- padding: $space-big- text-align: center- & > *- display: block- .month- text-transform: uppercase- color: $color-dark-gray- .day- font-size: 4.4rem- font-weight: 600- line-height: 4rem- .year- color: $color-dark-gray- .card-content- .content- padding-bottom: $space-big- &.entry-statistic- .card-header- width: 65%- padding: $space-big- align-items: center- .card-statistic- & > *- display: block- .number- font-size: 4.4rem- font-weight: 600- line-height: 4rem- .caption- font-size: 1.4rem- font-weight: 600- text-transform: uppercase- .card-content- .content- padding-bottom: 1rem- padding-top: 0- &.entry-quote- padding: $space-big- .card-image- width: 80%- .image- img- object-fit: none- height: auto- border: 3px solid $color-light-gray- .card-content- padding-top: 0- .quote- display: block- width: 46px- height: 32px- background-repeat: no-repeat- background-image: url("data:image/svg+xml,%3Csvg width='46' height='32' viewBox='0 0 46 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M27.3836 26.8797C25.8676 24.1902 25 21.0676 25 17.737C25 11.3769 29.1325 2.81312 39.3401 0L41.196 5.31367C36.3588 7.02275 33.1774 10.4191 32.8559 12.5458C33.8727 12.1893 34.9648 11.9956 36.1017 11.9956C41.5684 11.9956 46 16.4737 46 21.9978C46 27.5219 41.5684 32 36.1017 32C32.3717 32 29.1235 29.9151 27.4362 26.8357L27.3836 26.8797Z' fill='%23D8D8D8'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M2.38359 26.8797C0.867634 24.1902 -1.90735e-06 21.0676 -1.90735e-06 17.737C-1.90735e-06 11.3769 4.13252 2.81312 14.3401 0L16.196 5.31367C11.3588 7.02275 8.17739 10.4191 7.85587 12.5458C8.87269 12.1893 9.96483 11.9956 11.1017 11.9956C16.5684 11.9956 21 16.4737 21 21.9978C21 27.5219 16.5684 32 11.1017 32C7.37168 32 4.12352 29.9151 2.43624 26.8357L2.38359 26.8797Z' fill='%23D8D8D8'/%3E%3C/svg%3E%0A")- .content- font-size: 1.4rem- .quote-author- font-size: 1rem- margin-top: $space-big- &.entry-image- .card-content- .card-title- margin-bottom: $space-normal- text-transform: uppercase- a- color: $color-black- &:hover- color: $color-dark-gray- .subtitle- color: $color-gray- font-weight: 600- letter-spacing: 0.1rem- &.link- a- display: block- padding: $space-bigger- color: $color-black- @each $color-namespace, $brand-color in $brand-colors- &.has-background-#{$color-namespace}- @if $color-namespace == 'gold' or $color-namespace == 'turquoise'- color: $color-black- @else- color: $color-white- .card-content- .card-title- color: $color-white- .card-content- display: block- position: relative- &.has-bottom-link- padding: 0 0 6rem 0- .card-title- text-transform: uppercase- line-height: 2.5rem- .content- display: block- font-weight: 600- .link-arrow- position: absolute- bottom: 0- right: 0- text-transform: uppercase- .icon- padding-left: $space-normal- &:hover- text-decoration: none- @each $color-namespace, $brand-color in $brand-colors- &.has-background-#{$color-namespace}- background-color: lighten($brand-color, 10) !important- &.project-index- .card-content- .site-link- margin-top: $space-small- color: $color-forest-green- .icon- padding: $space-smaller $space-small- color: $color-forest-green- .content- margin-top: $space-bigger- padding: 0- .labels- margin-top: $space-normal- margin-bottom: $space-normal- .button- margin-right: $space-small- margin-bottom: $space-normal- .external-links- .button- margin-bottom: $space-small- .link-content- padding-left: $space-small- padding-right: $space-small- .icon- padding-top: $space-smaller- padding-bottom: $space-smaller- &.blog-entry- background-color: transparent- .blog-image- width: 5rem- height: 5rem- .blog-content- margin-left: $space-bigger- .blog-author- font-size: $font-size-body-normal- margin-top: $space-small- .excerpt- font-size: $font-size-body-normal- margin-top: $space-normal- color: $color-dark-slate-graydiff --git a/src/styles/components/content.sass b/src/styles/components/content.sassdeleted file mode 100644index 7ecab8061..000000000--- a/src/styles/components/content.sass+++ /dev/null@@ -1,137 +0,0 @@-@import "../utilities/mixins"--.content- +block- // Inline§- li + li- margin-top: 0.25em- // Block- p,- dl,- ol,- ul,- blockquote,- pre,- table- &:not(:last-child)- margin-bottom: 1em- h1,- h2,- h3,- h4,- h5,- h6- color: $text-strong- font-weight: $weight-semibold- line-height: 1.125- h1- font-size: 2em- margin-bottom: 0.5em- &:not(:first-child)- margin-top: 1em- h2- font-size: 1.75em- margin-bottom: 0.5714em- &:not(:first-child)- margin-top: 1.1428em- h3- font-size: 1.5em- margin-bottom: 0.6666em- &:not(:first-child)- margin-top: 1.3333em- h4- font-size: 1.25em- margin-bottom: 0.8em- h5- font-size: 1.125em- margin-bottom: 0.8888em- h6- font-size: 1em- margin-bottom: 1em- blockquote- background-color: $color-white- +ltr-property("border", 5px solid $border, false)- padding: 1.25em 1.5em- ol- list-style-position: outside- +ltr-property("margin", 2em, false)- margin-top: 1em- &:not([type])- list-style-type: decimal- &.is-lower-alpha- list-style-type: lower-alpha- &.is-lower-roman- list-style-type: lower-roman- &.is-upper-alpha- list-style-type: upper-alpha- &.is-upper-roman- list-style-type: upper-roman- ul- list-style: disc outside- +ltr-property("margin", 2em, false)- margin-top: 1em- ul- list-style-type: circle- margin-top: 0.5em- ul- list-style-type: square- dd- +ltr-property("margin", 2em, false)- figure- margin-left: 2em- margin-right: 2em- text-align: center- &:not(:first-child)- margin-top: 2em- &:not(:last-child)- margin-bottom: 2em- img- display: inline-block- figcaption- font-style: italic- pre- +overflow-touch- overflow-x: auto- padding: 1.25em 1.5em- white-space: pre- word-wrap: normal- sup,- sub- font-size: 75%- table- width: 100%- td,- th- border-width: 0 0 1px- padding: 0.5em 0.75em- vertical-align: top- th- color: $text-strong- &:not([align])- text-align: inherit- thead- td,- th- border-width: 0 0 2px- color: $text-strong- tfoot- td,- th- border-width: 2px 0 0- color: $text-strong- tbody- tr- &:last-child- td,- th- border-bottom-width: 0- .tabs- li + li- margin-top: 0- // Sizes- &.is-small- font-size: $size-small- &.is-medium- font-size: $size-medium- &.is-large- font-size: $size-largediff --git a/src/styles/components/footer.sass b/src/styles/components/footer.sassdeleted file mode 100644index 3b4a30743..000000000--- a/src/styles/components/footer.sass+++ /dev/null@@ -1,77 +0,0 @@-.main-footer- background-color: $color-black- color: $color-white- padding: $space-large 0- a- color: $color-dark-turquoise- &:hover- color: $color-dark-turquoise- text-decoration: underline- &.social:hover- text-decoration: none- .main-logo- display: block- svg- width: 13rem- address- font-style: normal- .footer-navigation- .menu- li- display: inline-block- &:first-child- .menu-item- padding-left: 0- .menu-item- display: block- padding: $space-normal- font-size: $font-size-h4- font-style: normal- font-weight: bold- .subscription- h5- margin-bottom: $space-normal- color: $color-white- .newsletter- display: flex- width: 70%- .input- background-color: transparent- border-color: $color-dark-gray- color: $color-dark-gray- &::placeholder- color: $color-dark-gray- opacity: 0.8- .button- margin-left: -1rem- border: none- background-color: $color-dark-gray- color: $color-white- &:hover- background-color: lighten($color-dark-gray, 10)- .donate-section- h5- color: $color-white- .donate- margin-top: $space-big- color: $color-black- svg- margin-right: 1rem- width: 2rem- height: 2rem-- +tablet()- padding: $space-big- .footer-navigation- .menu- display: flex-- +mobile()- padding: $space-normal- .footer-navigation- margin-bottom: $space-normal- .menu- li- display: block- .menu-item- padding-left: 0diff --git a/src/styles/components/image.scss b/src/styles/components/image.scssdeleted file mode 100644index 4a308ed95..000000000--- a/src/styles/components/image.scss+++ /dev/null@@ -1,82 +0,0 @@-.image {- position: relative;- overflow: hidden;-- img {- display: block;- width: 100%;- }-- .image-title,- .image-icons,- .bookmark-icon {- padding-top: $space-small;- padding-bottom: $space-small;-- transition: transform 0.2s linear;- position: absolute;- }-- .image-title {- padding-left: $space-normal;- padding-right: $space-normal;- color: $color-white;- background-color: $color-black;- font-size: $font-size-caption;-- transform: translateY(100%);- left: 0;- bottom: 0;-- font-weight: 600;-- &.is-ellipsised:not(:hover) {- white-space: nowrap;- width: 100%;- overflow: hidden;- text-overflow: ellipsis;- }- }-- .image-icons {- padding-left: $space-normal;- padding-right: $space-normal;- color: $color-black;- transform: translateY(-100%);- left: 0;- top: 0;- font-size: 1.625rem;- }-- .bookmark-icon {- padding-left: $space-small;- padding-right: $space-small;- color: $color-white;- background-color: $color-black;-- right: 0;- top: 0;- line-height: 1;-- transform: translateY(-100%);- }-- &:hover {- .image-title,- .image-icons,- .bookmark-icon {- transform: translateY(0%);- }- }-- &.is-compact {- .image-icons {- padding: 0 $space-small;- font-size: 1.3rem;- }- }-- &.is-selected {- border: 6px solid $color-gold;- }-}diff --git a/src/styles/components/navbar.sass b/src/styles/components/navbar.sassdeleted file mode 100644index ba31c2bb0..000000000--- a/src/styles/components/navbar.sass+++ /dev/null@@ -1,245 +0,0 @@-@import "../utilities/mixins"--$navbar-background-color: $scheme-main-$navbar-height: 3.25rem-$navbar-z: 40--$navbar-item-color: $color-dark-gray-$navbar-item-hover-color: $color-dark-slate-gray-$navbar-item-active-color: $color-dark-slate-gray-$navbar-item-active-background-color: transparent-$navbar-item-hover-background-color: transparent-$navbar-item-img-max-height: 1.75rem--$navbar-burger-color: $navbar-item-color--$navbar-dropdown-border-top: none-$navbar-dropdown-radius: 0-$navbar-dropdown-background-color: $scheme-main-$navbar-dropdown-offset: -4px-$navbar-dropdown-arrow: $link-$navbar-dropdown-z: 20--$navbar-dropdown-item-hover-color: $scheme-invert-$navbar-dropdown-item-hover-background-color: $background-$navbar-dropdown-item-active-color: $link-$navbar-dropdown-item-active-background-color: $background--$navbar-divider-background-color: $background-$navbar-divider-height: 2px--$navbar-breakpoint: $tablet-$wp-max-width: 940px--.navbar- font-size: 15px- font-weight: 600- display: flex- flex-wrap: wrap- justify-content: space-between- align-items: center- background-color: $navbar-background-color- min-height: $navbar-height- position: relative- z-index: $navbar-z- padding: $space-bigger--.navbar.embedded- padding: 0.5rem 0 0.5rem 0.5rem- min-height: unset- +tablet()- padding: 0.5rem 0- max-width: $wp-max-width- margin-right: auto- margin-left: auto--.navbar-brand- align-items: stretch- display: flex- flex-shrink: 0- min-height: $navbar-height--.navbar-brand- a.navbar-item- &:focus,- &:hover- background-color: transparent--.navbar-burger- color: $navbar-burger-color- +hamburger(3.25rem)- margin-inline-start: auto--.navbar-menu- display: none--.navbar-item,-.navbar-link- color: $navbar-item-color- display: block- line-height: 1.5- padding: 0.5rem 0.75rem- position: relative- .icon- margin-inline-start: $space-small--.navbar.embedded- .navbar-end- margin-inline-start: auto- justify-content: space-between- +tablet()- > div.navbar-item:first-child > a.navbar-link- padding-inline-start: 0- > div.navbar-item:last-child > a.navbar-link- padding-inline-end: 0--a.navbar-item,-.navbar-link- cursor: pointer- user-select: none- font-family: $family-inter- line-height: 1.5- &:focus,- &:focus-within,- &:hover,- &.is-active- background-color: $navbar-item-hover-background-color- color: $navbar-item-hover-color- text-decoration: none--.navbar.embedded- a.navbar-item,- .navbar-link- font-family: $family-body- color: $navbar-item-hover-color- text-transform: none--.navbar-item- flex-grow: 0- flex-shrink: 0- font-family: $family-inter- line-height: 1.5- img- max-height: $navbar-item-img-max-height- &.has-dropdown- padding: 0- &.is-expanded- flex-grow: 1- flex-shrink: 1--.navbar-content- flex-grow: 1- flex-shrink: 1--.navbar-dropdown- display: block- padding-bottom: 0.5rem- padding-top: 0.5rem- .navbar-item- padding-left: 1.5rem- padding-right: 1.5rem--.navbar-divider- background-color: $navbar-divider-background-color- border: none- display: none- height: $navbar-divider-height- margin: 0.5rem 0--+until($navbar-breakpoint)- .navbar > .container- display: block- .navbar-brand,- .navbar-tabs- .navbar-item- align-items: center- display: flex- .navbar-link- &::after- display: none- .navbar-menu- background-color: $navbar-background-color- box-shadow: 0 8px 16px toRgba($scheme-invert, 0.1)- padding: 0.5rem 0- &.is-active- display: block- width: 100%--+from($navbar-breakpoint)- .navbar,- .navbar-menu,- .navbar-start,- .navbar-end- align-items: stretch- display: flex- .navbar- min-height: $navbar-height- .navbar-burger- display: none- .navbar-item,- .navbar-link- align-items: center- display: flex- .navbar-item- &.has-dropdown- align-items: stretch- &:hover- text-decoration: none- &.is-active,- &.is-hoverable:focus,- &.is-hoverable:focus-within,- &.is-hoverable:hover- .navbar-dropdown- display: block- .navbar.is-spaced &,- &.is-boxed- opacity: 1- pointer-events: auto- transform: translateY(0)- .navbar-menu- flex-grow: 1- flex-shrink: 0- .navbar-end- justify-content: flex-end- margin-inline-start: auto- & > .navbar-item:not(:first-child)- margin-inline-start: $space-large- .navbar-dropdown- background-color: $navbar-dropdown-background-color- border-bottom-left-radius: $navbar-dropdown-radius- border-bottom-right-radius: $navbar-dropdown-radius- border-top: $navbar-dropdown-border-top- box-shadow: 0 8px 8px toRgba($scheme-invert, 0.1)- display: none- font-size: 0.875rem- min-width: 100%- position: absolute- top: 100%- z-index: $navbar-dropdown-z- .navbar-item- padding: 0.375rem 1rem- white-space: nowrap- a.navbar-item- padding-inline-end: 3rem- &:focus,- &:hover- background-color: $navbar-dropdown-item-hover-background-color- color: $navbar-dropdown-item-hover-color- &.is-active- background-color: $navbar-dropdown-item-active-background-color- color: $navbar-dropdown-item-active-color- .navbar-divider- display: block- // Hover/Active states- a.navbar-item,- .navbar-link- &.is-active- color: $navbar-item-active-color- &.is-active:not(:focus):not(:hover)- background-color: $navbar-item-active-background-color- .navbar-item.has-dropdown- &:focus,- &:hover,- &.is-active- .navbar-link- background-color: $navbar-item-hover-background-colordiff --git a/src/styles/form/_all.sass b/src/styles/form/_all.sassdeleted file mode 100644index f5404d234..000000000--- a/src/styles/form/_all.sass+++ /dev/null@@ -1,12 +0,0 @@-@charset "utf-8"--$input-size-small: $size-small-$input-size-normal: $size-normal-$input-size-medium: 1.43rem-$input-size-large: 1.75rem--@import "shared"-@import "tools"-@import "input-textarea"-@import "radio"-@import "select"diff --git a/src/styles/form/input-textarea.sass b/src/styles/form/input-textarea.sassdeleted file mode 100644index 7102dbd81..000000000--- a/src/styles/form/input-textarea.sass+++ /dev/null@@ -1,54 +0,0 @@-$textarea-padding: $control-padding-horizontal-$textarea-max-height: 40em-$textarea-min-height: 8em--%input-textarea- @extend %input- &[readonly]- box-shadow: none- // Sizes- &.is-small- +control-small- &.is-medium- +control-medium- &.is-large- +control-large- // Modifiers- &.is-fullwidth- display: block- width: 100%- &.is-inline- display: inline- width: auto--.input- @extend %input-textarea-- &.is-medium- font-size: 1.43rem- height: 3.875rem- padding-left: $space-normal-- &.is-large- font-size: 1.75rem- height: 5.063rem- padding-left: $space-big--.textarea- @extend %input-textarea- border-color: $color-transition-gray- display: block- max-width: 100%- min-width: 100%- padding: $textarea-padding- box-sizing: border-box- min-height: 6.875em- resize: both- &:not([rows])- max-height: $textarea-max-height- min-height: $textarea-min-height- &[rows]- height: initial- // Modifiers- &.has-fixed-size- resize: nonediff --git a/src/styles/form/radio.sass b/src/styles/form/radio.sassdeleted file mode 100644index ad838599d..000000000--- a/src/styles/form/radio.sass+++ /dev/null@@ -1,19 +0,0 @@-%radio- cursor: pointer- display: inline-block- line-height: 1.25- position: relative- input- cursor: pointer- &:hover- color: $color-dark-slate-gray- &[disabled],- fieldset[disabled] &,- input[disabled]- color: $input-disabled-color- cursor: not-allowed--.radio- @extend %radio- & + .radio- +ltr-property("margin", 0.5em, false)diff --git a/src/styles/form/select.sass b/src/styles/form/select.sassdeleted file mode 100644index 84ba8c5f9..000000000--- a/src/styles/form/select.sass+++ /dev/null@@ -1,69 +0,0 @@-.select- display: inline-block- max-width: 100%- position: relative- vertical-align: top- &:not(.is-multiple)- height: $input-height- &:not(.is-multiple):not(.is-loading)- &::after- +arrow- background: linear-gradient(45deg, $color-black 50%, transparent 50%)- border: none- border-radius: 0- +ltr-position(1.125em)- z-index: 4- select- +input- border-color: $color-light-gray- cursor: pointer- display: block- font-size: 1em- max-width: 100%- outline: none- &::-ms-expand- display: none- &[disabled]:hover,- fieldset[disabled] &:hover- border-color: $color-gray- &:not([multiple])- +ltr-property("padding", 2.5em)- &[multiple]- height: auto- padding: 0- option- padding: 0.5em 1em- font-weight: $weight-normal- // States- &:not(.is-multiple):not(.is-loading):hover- &::after- border-color: $color-dark-slate-gray- // Sizes- &.is-small- +control-small- &.is-medium- +control-medium- &.is-large- +control-large- // Modifiers- &.is-disabled- &::after- border-color: $input-disabled-color- &.is-fullwidth- width: 100%- select- width: 100%- &.is-loading- &::after- +loader- margin-top: 0- position: absolute- +ltr-position(0.625em)- top: 0.625em- transform: none- &.is-small:after- font-size: $size-small- &.is-medium:after- font-size: $size-medium- &.is-large:after- font-size: $size-largediff --git a/src/styles/form/shared.sass b/src/styles/form/shared.sassdeleted file mode 100644index 56735eade..000000000--- a/src/styles/form/shared.sass+++ /dev/null@@ -1,40 +0,0 @@-$form-colors: $colors--$input-height: 2.5em--$input-disabled-color: $color-gray-$input-disabled-background-color: $background-$input-disabled-placeholder-color: toRgba($input-disabled-color, 0.3)--$input-arrow: $color-dark-gray--=input- +control- border-color: $color-light-gray- border-width: 1px-- height: 2.5em- background-color: $color-white- color: $color-dark-slate-gray- &::placeholder- color: $color-lighter-gray- &:hover,- &.is-hovered- border-color: $color-gray- &:focus,- &.is-focused,- &:active,- &.is-active- border-color: $color-gray- &[disabled],- fieldset[disabled] &- background-color: $input-disabled-background-color- border-color: $color-gray- box-shadow: none- color: $input-disabled-color- +placeholder- color: $input-disabled-placeholder-color--%input- +input-diff --git a/src/styles/form/tools.sass b/src/styles/form/tools.sassdeleted file mode 100644index b1a3d7829..000000000--- a/src/styles/form/tools.sass+++ /dev/null@@ -1,194 +0,0 @@-$label-color: $text-strong !default-$label-weight: $weight-bold !default--$help-size: $size-small !default--.label- color: $label-color- display: block- font-size: $size-normal- font-weight: $label-weight- &:not(:last-child)- margin-bottom: 0.5em- // Sizes- &.is-small- font-size: $size-small- &.is-medium- font-size: $size-medium- &.is-large- font-size: $size-large--.help- display: block- font-size: $help-size- margin-top: 0.25rem--// Containers--.field- &:not(:last-child)- margin-bottom: 0.75rem- // Modifiers- &.has-addons- display: flex- justify-content: flex-start- .control- .button,- .input,- .select select- &:not([disabled])- &:hover,- &.is-hovered- z-index: 2- &:focus,- &.is-focused,- &:active,- &.is-active- z-index: 3- &:hover- z-index: 4- &.is-expanded- flex-grow: 1- flex-shrink: 1- &.has-addons-centered- justify-content: center- &.has-addons-right- justify-content: flex-end- &.has-addons-fullwidth- .control- flex-grow: 1- flex-shrink: 0- &.is-grouped- display: flex- justify-content: flex-start- & > .control- flex-shrink: 0- &:not(:last-child)- margin-bottom: 0- +ltr-property("margin", 0.75rem)- &.is-expanded- flex-grow: 1- flex-shrink: 1- &.is-grouped-centered- justify-content: center- &.is-grouped-right- justify-content: flex-end- &.is-grouped-multiline- flex-wrap: wrap- & > .control- &:last-child,- &:not(:last-child)- margin-bottom: 0.75rem- &:last-child- margin-bottom: -0.75rem- &:not(:last-child)- margin-bottom: 0- &.is-horizontal- +tablet- display: flex--.field-label- .label- font-size: inherit- +mobile- margin-bottom: 0.5rem- +tablet- flex-basis: 0- flex-grow: 1- flex-shrink: 0- +ltr-property("margin", 1.5rem)- text-align: right- &.is-small- font-size: $size-small- padding-top: 0.375em- &.is-normal- padding-top: 0.375em- &.is-medium- font-size: $size-medium- padding-top: 0.375em- &.is-large- font-size: $size-large- padding-top: 0.375em--.field-body- .field .field- margin-bottom: 0- +tablet- display: flex- flex-basis: 0- flex-grow: 5- flex-shrink: 1- .field- margin-bottom: 0- & > .field- flex-shrink: 1- &:not(.is-narrow)- flex-grow: 1- &:not(:last-child)- +ltr-property("margin", 0.75rem)--.control- clear: both- font-size: $size-normal- position: relative- text-align: inherit- // Modifiers- &.has-icons-left,- &.has-icons-right- .input,- .select- &:focus,- &:hover- & ~ .icon- color: $color-gray- &:disabled- & ~ .icon- color: $input-disabled-placeholder-color- &.is-small ~ .icon- font-size: $input-size-small- height: 2.5em- &.is-medium ~ .icon- font-size: $input-size-medium- height: 3.875rem- &.is-large ~ .icon- font-size: $input-size-large- height: 5.063rem- .icon- color: $color-light-gray- height: $input-height- pointer-events: none- position: absolute- top: 0- width: $input-height- z-index: 4- align-items: center- display: inline-flex- justify-content: center- .icon .icon- color: inherit- position: unset- &.has-icons-left- .input,- .select select- padding-left: $input-height- .icon.is-left- left: 0- &.has-icons-right- .input,- .select select- padding-right: $input-height- .icon.is-right- right: 0- &.is-loading- &::after- +loader- position: absolute !important- +ltr-position(0.625em)- top: 0.625em- z-index: 4- &.is-small:after- font-size: $size-small- &.is-medium:after- font-size: $size-medium- &.is-large:after- font-size: $size-largediff --git a/src/styles/global.scss b/src/styles/global.scssdeleted file mode 100644index 9aee6d93c..000000000--- a/src/styles/global.scss+++ /dev/null@@ -1,6 +0,0 @@-@import './utilities/all';--// override for related image spacing:-.photo_related-images .search-grid-cells {- margin: 10px -10px !important;-}diff --git a/src/styles/helpers/_all.sass b/src/styles/helpers/_all.sassdeleted file mode 100644index b1b7b06dc..000000000--- a/src/styles/helpers/_all.sass+++ /dev/null@@ -1,9 +0,0 @@-@charset "utf-8"--@import "color"-@import "flexbox"-@import "float"-@import "other"-@import "spacing"-@import "typography"-@import "visibility"diff --git a/src/styles/helpers/color.sass b/src/styles/helpers/color.sassdeleted file mode 100644index edd789044..000000000--- a/src/styles/helpers/color.sass+++ /dev/null@@ -1,51 +0,0 @@-@each $name, $pair in $colors- $color: nth($pair, 1)- .has-text-#{$name}- color: $color !important- a.has-text-#{$name}- &:hover,- &:focus- color: darkenColor($color, 10%) !important- .has-background-#{$name}- background-color: $color !important- @if length($pair) >= 4- $color-light: nth($pair, 3)- $color-dark: nth($pair, 4)- // Light- .has-text-#{$name}-light- color: $color-light !important- a.has-text-#{$name}-light- &:hover,- &:focus- color: darkenColor($color-light, 10%) !important- .has-background-#{$name}-light- background-color: $color-light !important- // Dark- .has-text-#{$name}-dark- color: $color-dark !important- a.has-text-#{$name}-dark- &:hover,- &:focus- color: lightenColor($color-dark, 10%) !important- .has-background-#{$name}-dark- background-color: $color-dark !important--@each $name, $shade in $shades- .has-text-#{$name}- color: $shade !important- .has-background-#{$name}- background-color: $shade !important--// Classes-$brand-colors: ('tomato': $color-tomato, 'gold': $color-gold, 'forest-green': $color-forest-green, 'dark-turquoise': $color-dark-turquoise, 'dark-slate-blue': $color-dark-slate-blue, 'brighter-dark-slate-blue': $color-brighter-dark-slate-blue, 'dark-slate-gray': $color-dark-slate-gray, 'transition-blue': $color-transition-blue )--@mixin color-classes($color-namespace, $brand-color)- .has-background-#{$color-namespace}- background-color: $brand-color-- .has-text-#{$color-namespace},- .has-color-#{$color-namespace}- color: $brand-color--@each $color-namespace, $brand-color in $brand-colors- @include color-classes($color-namespace, $brand-color)diff --git a/src/styles/helpers/flexbox.sass b/src/styles/helpers/flexbox.sassdeleted file mode 100644index 2538a2db9..000000000--- a/src/styles/helpers/flexbox.sass+++ /dev/null@@ -1,35 +0,0 @@-$flex-direction-values: row, row-reverse, column, column-reverse-@each $value in $flex-direction-values- .is-flex-direction-#{$value}- flex-direction: $value !important--$flex-wrap-values: nowrap, wrap, wrap-reverse-@each $value in $flex-wrap-values- .is-flex-wrap-#{$value}- flex-wrap: $value !important--$justify-content-values: flex-start, flex-end, center, space-between, space-around, space-evenly, start, end, left, right-@each $value in $justify-content-values- .is-justify-content-#{$value}- justify-content: $value !important--$align-content-values: flex-start, flex-end, center, space-between, space-around, space-evenly, stretch, start, end, baseline-@each $value in $align-content-values- .is-align-content-#{$value}- align-content: $value !important--$align-items-values: stretch, flex-start, flex-end, center, baseline, start, end, self-start, self-end-@each $value in $align-items-values- .is-align-items-#{$value}- align-items: $value !important--$align-self-values: auto, flex-start, flex-end, center, baseline, stretch-@each $value in $align-self-values- .is-align-self-#{$value}- align-self: $value !important--$flex-operators: grow, shrink-@each $operator in $flex-operators- @for $i from 0 through 5- .is-flex-#{$operator}-#{$i}- flex-#{$operator}: $i !importantdiff --git a/src/styles/helpers/float.sass b/src/styles/helpers/float.sassdeleted file mode 100644index fc77f179d..000000000--- a/src/styles/helpers/float.sass+++ /dev/null@@ -1,8 +0,0 @@-.is-clearfix- +clearfix--.is-pulled-left- float: left !important--.is-pulled-right- float: right !importantdiff --git a/src/styles/helpers/other.sass b/src/styles/helpers/other.sassdeleted file mode 100644index ebacfe75b..000000000--- a/src/styles/helpers/other.sass+++ /dev/null@@ -1,15 +0,0 @@-.is-radiusless- border-radius: 0 !important--.is-shadowless- box-shadow: none !important--.is-clickable- cursor: pointer !important- pointer-events: all !important--.is-unselectable- user-select: none--.is-clipped- overflow: hidden !importantdiff --git a/src/styles/helpers/spacing.sass b/src/styles/helpers/spacing.sassdeleted file mode 100644index 64769ac24..000000000--- a/src/styles/helpers/spacing.sass+++ /dev/null@@ -1,31 +0,0 @@-.is-marginless- margin: 0 !important--.is-paddingless- padding: 0 !important--$spacing-shortcuts: ('margin': 'margin-','padding': 'padding-')-$spacing-directions: ('top': 'top', 'right': 'right', 'bottom': 'bottom', 'left': 'left' )-$spacing-horizontal: 'horizontal'-$spacing-vertical: 'vertical'-$spacing-values: ('0': 0, 'smaller': $space-smaller, 'small': $space-small, 'normal': $space-normal, 'big': $space-big, 'bigger': $space-bigger, 'large': $space-large, 'larger': $space-larger, 'xl': $space-xl, 'xxl': $space-xxl)--@each $property, $shortcut in $spacing-shortcuts- @each $name, $value in $spacing-values- // All directions- .#{$shortcut}#{$name}- #{$property}: $value !important- // Cardinal directions- @each $direction, $suffix in $spacing-directions- .#{$shortcut}#{$suffix}-#{$name}- #{$property}-#{$direction}: $value !important- // Horizontal axis- @if $spacing-horizontal != null- .#{$shortcut}#{$spacing-horizontal}-#{$name}- #{$property}-left: $value !important- #{$property}-right: $value !important- // Vertical axis- @if $spacing-vertical != null- .#{$shortcut}#{$spacing-vertical}-#{$name}- #{$property}-top: $value !important- #{$property}-bottom: $value !importantdiff --git a/src/styles/helpers/typography.sass b/src/styles/helpers/typography.sassdeleted file mode 100644index 1b9fa86f9..000000000--- a/src/styles/helpers/typography.sass+++ /dev/null@@ -1,162 +0,0 @@-=typography-size($target:'')- @each $size in $sizes- $i: index($sizes, $size)- .is-size-#{$i}#{if($target == '', '', '-' + $target)}- font-size: $size !important--+typography-size()--+mobile- +typography-size('mobile')--+tablet- +typography-size('tablet')--+touch- +typography-size('touch')--+desktop- +typography-size('desktop')--+widescreen- +typography-size('widescreen')--+fullhd- +typography-size('fullhd')--$alignments: ('centered': 'center', 'justified': 'justify', 'left': 'left', 'right': 'right')--@each $alignment, $text-align in $alignments- .has-text-#{$alignment}- text-align: #{$text-align} !important--@each $alignment, $text-align in $alignments- +mobile- .has-text-#{$alignment}-mobile- text-align: #{$text-align} !important- +tablet- .has-text-#{$alignment}-tablet- text-align: #{$text-align} !important- +tablet-only- .has-text-#{$alignment}-tablet-only- text-align: #{$text-align} !important- +touch- .has-text-#{$alignment}-touch- text-align: #{$text-align} !important- +desktop- .has-text-#{$alignment}-desktop- text-align: #{$text-align} !important- +desktop-only- .has-text-#{$alignment}-desktop-only- text-align: #{$text-align} !important- +widescreen- .has-text-#{$alignment}-widescreen- text-align: #{$text-align} !important- +widescreen-only- .has-text-#{$alignment}-widescreen-only- text-align: #{$text-align} !important- +fullhd- .has-text-#{$alignment}-fullhd- text-align: #{$text-align} !important--.is-capitalized- text-transform: capitalize !important--.is-lowercase- text-transform: lowercase !important--.is-uppercase- text-transform: uppercase !important--.is-italic- font-style: italic !important--.has-text-weight-light- font-weight: $weight-light !important-.has-text-weight-normal- font-weight: $weight-normal !important-.has-text-weight-medium- font-weight: $weight-medium !important-.has-text-weight-semibold- font-weight: $weight-semibold !important-.has-text-weight-bold- font-weight: $weight-bold !important--.is-family-primary- font-family: $family-primary !important--.is-family-secondary- font-family: $family-secondary !important--.is-family-sans-serif- font-family: $family-sans-serif !important--.is-family-monospace- font-family: $family-monospace !important--.is-family-code- font-family: $family-code !important--$body-font-sizes: ('-bigger': $font-size-body-bigger,'-big': $font-size-body-big,'-normal': $font-size-body-normal,'-list': $font-size-body-list)--@mixin body-typography($body-name, $body-font-size)- .body#{$body-name}- line-height: 1.6- font-size: $body-font-size--@each $body-name, $body-font-size in $body-font-sizes- +body-typography($body-name, $body-font-size)--.caption- font-size: $font-size-caption--.value- font-family: $family-heading- font-size: $font-size-value- font-weight: bold-- line-height: 1.3--.monospace- font-family: $family-code- font-size: 0.875em // Code fonts at 14px are similar to other fonts at 16px--// Usage-h1,-h2,-h3,-h4,-h5,-h6,-.title- color: $color-dark-slate-gray-- font-family: $family-heading- font-weight: bold-- line-height: 1.3--.b-header,-.subtitle- color: $color-dark-slate-gray-- font-family: $family-body-- text-transform: none- line-height: 1.3--$header-font-sizes: ('1': $font-size-h1,'2': $font-size-h2,'3': $font-size-h3,'4': $font-size-h4,'5': $font-size-h5,'6': $font-size-h6)--@mixin header-typography($header-level, $header-font-size)- h#{$header-level},- .title.is-#{$header-level},- .subtitle.is-#{$header-level}- font-size: $header-font-size--@each $header-level, $header-font-size in $header-font-sizes- +header-typography($header-level, $header-font-size)--body- font-family: $family-body- font-size: $font-size-body-normal-diff --git a/src/styles/helpers/visibility.sass b/src/styles/helpers/visibility.sassdeleted file mode 100644index 9c388b6d8..000000000--- a/src/styles/helpers/visibility.sass+++ /dev/null@@ -1,120 +0,0 @@-$displays: 'block' 'flex' 'inline' 'inline-block' 'inline-flex'--@each $display in $displays- .is-#{$display}- display: #{$display} !important- +mobile- .is-#{$display}-mobile- display: #{$display} !important- +tablet- .is-#{$display}-tablet- display: #{$display} !important- +tablet-only- .is-#{$display}-tablet-only- display: #{$display} !important- +touch- .is-#{$display}-touch- display: #{$display} !important- +desktop- .is-#{$display}-desktop- display: #{$display} !important- +desktop-only- .is-#{$display}-desktop-only- display: #{$display} !important- +widescreen- .is-#{$display}-widescreen- display: #{$display} !important- +widescreen-only- .is-#{$display}-widescreen-only- display: #{$display} !important- +fullhd- .is-#{$display}-fullhd- display: #{$display} !important--.is-hidden- display: none !important--.is-sr-only- border: none !important- clip: rect(0, 0, 0, 0) !important- height: 0.01em !important- overflow: hidden !important- padding: 0 !important- position: absolute !important- white-space: nowrap !important- width: 0.01em !important--+mobile- .is-hidden-mobile- display: none !important--+tablet- .is-hidden-tablet- display: none !important--+tablet-only- .is-hidden-tablet-only- display: none !important--+touch- .is-hidden-touch- display: none !important--+desktop- .is-hidden-desktop- display: none !important--+desktop-only- .is-hidden-desktop-only- display: none !important--+widescreen- .is-hidden-widescreen- display: none !important--+widescreen-only- .is-hidden-widescreen-only- display: none !important--+fullhd- .is-hidden-fullhd- display: none !important--.is-invisible- visibility: hidden !important--+mobile- .is-invisible-mobile- visibility: hidden !important--+tablet- .is-invisible-tablet- visibility: hidden !important--+tablet-only- .is-invisible-tablet-only- visibility: hidden !important--+touch- .is-invisible-touch- visibility: hidden !important--+desktop- .is-invisible-desktop- visibility: hidden !important--+desktop-only- .is-invisible-desktop-only- visibility: hidden !important--+widescreen- .is-invisible-widescreen- visibility: hidden !important--+widescreen-only- .is-invisible-widescreen-only- visibility: hidden !important--+fullhd- .is-invisible-fullhd- visibility: hidden !importantdiff --git a/src/styles/text-only-page.scss b/src/styles/text-only-page.scssdeleted file mode 100644index d287a5ce3..000000000--- a/src/styles/text-only-page.scss+++ /dev/null@@ -1,12 +0,0 @@-p > em {- font-family: monospace;- color: #188038;- font-style: normal;- font-weight: 600;-}--a > em {- font-family: monospace;- font-style: normal;- font-weight: 600;-}diff --git a/src/styles/utilities/all.scss b/src/styles/utilities/all.scssdeleted file mode 100644index 1285fb23b..000000000--- a/src/styles/utilities/all.scss+++ /dev/null@@ -1,5 +0,0 @@-@import 'initial-variables';-@import 'functions';-@import 'derived-variables';-@import 'mixins';-@import 'controls';diff --git a/src/styles/utilities/controls.scss b/src/styles/utilities/controls.scssdeleted file mode 100644index 14e4f2dd5..000000000--- a/src/styles/utilities/controls.scss+++ /dev/null@@ -1,48 +0,0 @@-@import 'derived-variables';--$control-border-width: 0.125rem;-$control-padding-vertical: calc(0.5em - #{$control-border-width});-$control-padding-horizontal: calc(0.75em - #{$control-border-width});--@mixin control {- appearance: none;- align-items: center;- border: $control-border-width solid transparent;- border-radius: $radius;- box-shadow: none;- display: inline-flex;- font-size: $size-normal;- height: 2.5em;- justify-content: flex-start;- padding: $control-padding-vertical $control-padding-horizontal;- position: relative;- vertical-align: top;- clear: both;- text-align: left;- font-family: $family-inter;- font-weight: 600;- line-height: 1.3;-- // States- &:focus,- &.is-focused,- &:active,- &.is-active {- outline: none;- }- &[disabled],- fieldset[disabled] & {- cursor: not-allowed;- }- // The controls sizes use mixins so they can be used at different breakpoints-}-@mixin control-small {- border-radius: $radius-small;- font-size: $size-small;-}-@mixin control-medium {- font-size: $size-medium;-}-@mixin control-large {- font-size: $size-large;-}diff --git a/src/styles/utilities/derived-variables.scss b/src/styles/utilities/derived-variables.scssdeleted file mode 100644index 81a81b12c..000000000--- a/src/styles/utilities/derived-variables.scss+++ /dev/null@@ -1,141 +0,0 @@-// Brand-$color-orange: rgb(226, 54, 0);-$color-gold: rgb(239, 190, 0);-$color-forest-green: rgb(0, 131, 0);-$color-dark-turquoise: rgb(5, 181, 218);-$color-dark-slate-blue: rgb(60, 92, 153);-$color-brighter-dark-slate-blue: rgb(16, 102, 231); // Also used for interaction-$color-dark-slate-gray: #30272e;--// Feedback-$color-dark-success: $color-forest-green;-$color-light-success: rgb(224, 242, 191);-$color-dark-warning: rgb(242, 171, 32);-$color-light-warning: rgb(250, 236, 188);-$color-dark-error: rgb(200, 59, 30);-$color-light-error: rgb(255, 201, 201);-$color-dark-info: rgb(25, 80, 184);-$color-light-info: rgb(209, 220, 241);--// Interaction-$color-brighter-tomato: rgb(255, 105, 51);-$color-brighter-gold: rgb(245, 212, 0);-$color-brighter-forest-green: rgb(0, 184, 80);--$primary: $color-transition-blue;-$info: $color-dark-info;-$success: $color-forest-green;-$warning: $color-gold;-$danger: $color-dark-error;--$color-light-info: rgb(209, 220, 241);-$color-dark-info: rgb(25, 80, 184);--$color-light-success: rgb(224, 242, 191);-$color-dark-success: rgb(0, 131, 0);--$color-light-warning: rgb(250, 236, 188);-$color-dark-warning: rgb(242, 171, 32);--$color-dark-error: rgb(200, 59, 30);-$color-light-error: rgb(255, 201, 201);--$color-light-danger: $color-light-error;-$color-dark-danger: $color-dark-error;--// General colors--$scheme-main: $color-white;-$scheme-invert: $color-black;--$background: $color-white;--$border: $color-lighter-gray;-$border-hover: $color-light-gray;--// Text colors--$text: $color-dark-slate-gray;-$text-light: $color-gray;-$text-strong: $color-dark-slate-gray;--// Code colors--$code: darken($color-transition-blue, 15%);-$code-background: $background;--$pre: $text;-$pre-background: $background;--// Link colors--$link: $color-transition-blue;-$link-visited: currentColor;--$link-hover: $color-transition-blue;-$link-hover-border: $color-light-gray;--$link-focus: currentColor;-$link-focus-border: $color-dark-slate-blue;--$link-active: currentColor;-$link-active-border: $color-dark-gray;--// Typography--$family-primary: $family-body;-$family-secondary: $family-heading;-$family-code: $family-monospace;--$size-small: $size-7;-$size-normal: $size-6;-$size-medium: $size-5;-$size-large: $size-4;--// Lists and maps--$colors: (- 'white': (- $color-white,- $color-black,- ),- 'black': (- $color-black,- $color-white,- ),- 'primary': (- $primary,- ),- 'link': (- $link,- ),- 'info': (- $info,- $color-light-info,- $color-dark-info,- ),- 'success': (- $success,- $color-light-success,- $color-dark-success,- ),- 'warning': (- $warning,- $color-light-warning,- $color-dark-warning,- ),- 'danger': (- $danger,- $color-light-danger,- $color-dark-danger,- ),-);--$shades: (- 'grey-dark': $color-dark-gray,- 'grey': $color-gray,- 'grey-light': $color-light-gray,- 'grey-lighter': $color-lighter-gray,-);--$sizes: $size-1 $size-2 $size-3 $size-4 $size-5 $size-6 $size-7;diff --git a/src/styles/utilities/functions.scss b/src/styles/utilities/functions.scssdeleted file mode 100644index aef525af4..000000000--- a/src/styles/utilities/functions.scss+++ /dev/null@@ -1,96 +0,0 @@-@use 'sass:math';--@function powerNumber($number, $exp) {- $value: 1;- @if $exp > 0 {- @for $i from 1 through $exp {- $value: $value * $number;- }- } @else if $exp < 0 {- @for $i from 1 through -$exp {- $value: math.div($value, $number);- }- }- @return $value;-}--@function colorLuminance($color) {- @if type-of($color) != 'color' {- @return 0.55;- }- $color-rgb: (- 'red': red($color),- 'green': green($color),- 'blue': blue($color),- );- @each $name, $value in $color-rgb {- $adjusted: 0;- $value: math.div($value, 255);- @if $value < 0.03928 {- $value: math.div($value, 12.92);- } @else {- $value: math.div($value + 0.055, 1.055);- $value: powerNumber($value, 2);- }- $color-rgb: map-merge(- $color-rgb,- (- $name: $value,- )- );- }- @return (map-get($color-rgb, 'red') * 0.2126) +- (map-get($color-rgb, 'green') * 0.7152) +- (map-get($color-rgb, 'blue') * 0.0722);-}--@function findColorInvert($color) {- @if (colorLuminance($color) > 0.55) {- @return rgba(#000, 0.7);- } @else {- @return #fff;- }-}--@function findLightColor($color) {- @if type-of($color) == 'color' {- $l: 96%;- @if lightness($color) > 96% {- $l: lightness($color);- }- @return change-color($color, $lightness: $l);- }- @return $background;-}--@function findDarkColor($color) {- @if type-of($color) == 'color' {- $base-l: 29%;- $luminance: colorLuminance($color);- $luminance-delta: (0.53 - $luminance);- $target-l: round($base-l + ($luminance-delta * 53));- @return change-color($color, $lightness: base-l);- }- @return $text-strong;-}--@function toRgba($color, $alpha) {- @if type-of($color) != 'color' {- @return $color;- }- @return rgba($color, $alpha);-}--@function darkenColor($color, $amount) {- @if type-of($color) != 'color' {- @return $color;- }- @return darken($color, $amount);-}--@function lightenColor($color, $amount) {- @if type-of($color) != 'color' {- @return $color;- }- @return lighten($color, $amount);-}diff --git a/src/styles/utilities/initial-variables.scss b/src/styles/utilities/initial-variables.scssdeleted file mode 100644index 3e92e45d6..000000000--- a/src/styles/utilities/initial-variables.scss+++ /dev/null@@ -1,110 +0,0 @@-// Colors-$color-black: hsl(0, 0%, 0%);--$color-dark-gray: rgb(118, 118, 118);-$color-gray: rgb(176, 176, 176);-$color-light-gray: rgb(216, 216, 216);-$color-lighter-gray: rgb(216, 216, 216);--$color-transition-gray: rgba(35, 40, 45, 0.2);-$color-wp-gray-0: #f6f7f7;-$color-transition-blue: #3e58e1;--$color-white: rgb(255, 255, 255);--$color-tomato: rgb(226, 54, 0);-$color-gold: rgb(239, 190, 0);-$color-forest-green: rgb(0, 131, 0);-$color-dark-turquoise: rgb(5, 181, 218);-$color-dark-slate-blue: rgb(60, 92, 153);-$color-dark-slate-gray: #30272e; // BRAND COLOR-$purple: hsl(271, 100%, 71%); // NOT IN VOCABULARY--// Families-$family-inter: 'Inter', sans-serif;-$family-jetbrains-mono: 'JetBrains Mono', monospace;-$family-vocabulary-icons: 'Vocabulary Icons';--$family-system: BlinkMacSystemFont, -apple-system, 'Segoe UI', 'Roboto',- 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',- 'Helvetica', 'Arial', sans-serif;-$family-heading: $family-inter;-$family-body: $family-inter;-$family-code: $family-jetbrains-mono;-$family-icons: $family-vocabulary-icons;-$family-sans-serif: $family-body;-$family-monospace: $family-code;--$render-mode: optimizeLegibility;--// Sizes-$font-size-h1: 3.56rem;-$font-size-h2: 2.25rem;-$font-size-h3: 1.75rem;-$font-size-h4: 1.43rem;-$font-size-h5: 1.25rem;-$font-size-h6: 1.12rem;--$font-size-value: 4.37rem;--$font-size-body-bigger: $font-size-h4;-$font-size-body-big: $font-size-h6;-$font-size-body-normal: 1rem;-$font-size-body-list: 1rem;--$font-size-caption: 0.8rem;--$size-1: $font-size-h1;-$size-2: $font-size-h2;-$size-3: $font-size-h3;-$size-4: $font-size-h4; // Same size as font-size-body-bigger-$size-5: $font-size-h6; // Same size as $font-size-body-big-$size-6: $font-size-body-normal;-$size-7: $font-size-caption;--$weight-light: 300;-$weight-normal: 400;-$weight-medium: 500;-$weight-semibold: 600;-$weight-bold: 700;--// Spacing--$block-spacing: 1.5rem;-$space-smaller: 0.25rem;-$space-small: 0.5rem;-$space-normal: 1rem;-$space-big: 1.5rem;-$space-bigger: 2rem;-$space-large: 2.5rem;-$space-larger: 3rem;-$space-xl: 4rem;-$space-xxl: 6rem;--// Responsiveness--// The container horizontal gap, which acts as the offset for breakpoints-$gap: 32px;-// 960, 1152, and 1344 have been chosen because they are divisible by both 12 and 16-$tablet: 768px;-// tailwind `lg`:-$desktop: 1024px;-// tailwind `xl`-$widescreen: 1280px;-$widescreen-enabled: true;-// tailwind `2xl`-$fullhd: 1536px;-$fullhd-enabled: true;--// Miscellaneous--$easing: ease-out;-$radius-small: 2px;-$radius: 4px;-$radius-large: 6px;-$radius-rounded: 290486px;-$speed: 86ms;--// Flags--$rtl: false;diff --git a/src/styles/utilities/mixins.scss b/src/styles/utilities/mixins.scssdeleted file mode 100644index 652d5f7c8..000000000--- a/src/styles/utilities/mixins.scss+++ /dev/null@@ -1,300 +0,0 @@-@import 'derived-variables';--@mixin clearfix {- &::after {- clear: both;- content: ' ';- display: table;- }-}-@mixin center($width, $height: 0) {- position: absolute;- @if $height != 0 {- left: calc(50% - (#{$width} / 2));- top: calc(50% - (#{$height} / 2));- } @else {- left: calc(50% - (#{$width} / 2));- top: calc(50% - (#{$width} / 2));- }-}-@mixin fa($size, $dimensions) {- display: inline-block;- font-size: $size;- height: $dimensions;- line-height: $dimensions;- text-align: center;- vertical-align: top;- width: $dimensions;-}-@mixin hamburger($dimensions) {- cursor: pointer;- display: block;- height: $dimensions;- position: relative;- width: $dimensions;- span {- background-color: currentColor;- display: block;- height: 2px;- left: calc(50% - 8px);- position: absolute;- transform-origin: center;- transition-duration: $speed;- transition-property: background-color, opacity, transform;- transition-timing-function: $easing;- width: 16px;- &:nth-child(1) {- top: calc(50% - 6px);- }- &:nth-child(2) {- top: calc(50% - 1px);- }- &:nth-child(3) {- top: calc(50% + 4px);- }- }- &:hover {- background-color: toRgba(black, 0.05);- } // Modifers- &.is-active {- span {- &:nth-child(1) {- transform: translateY(5px) rotate(45deg);- }- &:nth-child(2) {- opacity: 0;- }- &:nth-child(3) {- transform: translateY(-5px) rotate(-45deg);- }- }- }-}-@mixin overflow-touch {- -webkit-overflow-scrolling: touch;-}-@mixin placeholder {- $placeholders: ':-moz' ':-webkit-input' '-moz' '-ms-input';- @each $placeholder in $placeholders {- &:#{$placeholder}-placeholder {- @content;-- // Responsiveness- }- }-}-@mixin from($device) {- @media screen and (min-width: $device) {- @content;- }-}-@mixin until($device) {- @media screen and (max-width: $device - 1px) {- @content;- }-}-@mixin mobile {- @media screen and (max-width: $tablet - 1px) {- @content;- }-}-@mixin tablet {- @media screen and (min-width: $tablet), print {- @content;- }-}-@mixin tablet-only {- @media screen and (min-width: $tablet) and (max-width: $desktop - 1px) {- @content;- }-}-@mixin touch {- @media screen and (max-width: $desktop - 1px) {- @content;- }-}-@mixin desktop {- @media screen and (min-width: $desktop) {- @content;- }-}-@mixin desktop-only {- @if $widescreen-enabled {- @media screen and (min-width: $desktop) and (max-width: $widescreen - 1px) {- @content;- }- }-}-@mixin until-widescreen {- @if $widescreen-enabled {- @media screen and (max-width: $widescreen - 1px) {- @content;- }- }-}-@mixin widescreen {- @if $widescreen-enabled {- @media screen and (min-width: $widescreen) {- @content;- }- }-}-@mixin widescreen-only {- @if $widescreen-enabled and $fullhd-enabled {- @media screen and (min-width: $widescreen) and (max-width: $fullhd - 1px) {- @content;- }- }-}-@mixin until-fullhd {- @if $fullhd-enabled {- @media screen and (max-width: $fullhd - 1px) {- @content;- }- }-}-@mixin fullhd {- @if $fullhd-enabled {- @media screen and (min-width: $fullhd) {- @content;- }- }-}-@mixin ltr {- @if not $rtl {- @content;- }-}-@mixin rtl {- @if $rtl {- @content;- }-}-@mixin ltr-property($property, $spacing, $right: true) {- $normal: if($right, 'right', 'left');- $opposite: if($right, 'left', 'right');- @if $rtl {- #{$property}-#{$opposite}: $spacing;- } @else {- #{$property}-#{$normal}: $spacing;- }-}-@mixin ltr-position($spacing, $right: true) {- $normal: if($right, 'right', 'left');- $opposite: if($right, 'left', 'right');- @if $rtl {- #{$opposite}: $spacing;- } @else {- #{$normal}: $spacing;- }-} // Placeholders--@mixin unselectable {- user-select: none;-}-@mixin arrow($color: transparent) {- border: 3px solid $color;- border-radius: 2px;- border-right: 0;- border-top: 0;- content: ' ';- display: block;- height: 0.625em;- margin-top: -0.4375em;- pointer-events: none;- position: absolute;- top: 50%;- transform: rotate(-45deg);- transform-origin: center;- width: 0.625em;-}-@mixin block($spacing: $block-spacing) {- &:not(:last-child) {- margin-bottom: $spacing;- }-}-@mixin delete {- @include unselectable;- -moz-appearance: none;- -webkit-appearance: none;- background-color: toRgba($scheme-invert, 0.2);- border: none;- border-radius: $radius-rounded;- cursor: pointer;- pointer-events: auto;- display: inline-block;- flex-grow: 0;- flex-shrink: 0;- font-size: 0;- height: 20px;- max-height: 20px;- max-width: 20px;- min-height: 20px;- min-width: 20px;- outline: none;- position: relative;- vertical-align: top;- width: 20px;- &::before,- &::after {- background-color: $scheme-main;- content: '';- display: block;- left: 50%;- position: absolute;- top: 50%;- transform: translateX(-50%) translateY(-50%) rotate(45deg);- transform-origin: center center;- }- &::before {- height: 2px;- width: 50%;- }- &::after {- height: 50%;- width: 2px;- }- &:hover,- &:focus {- background-color: toRgba($scheme-invert, 0.3);- }- &:active {- background-color: toRgba($scheme-invert, 0.4);- } // Sizes- &.is-small {- height: 16px;- max-height: 16px;- max-width: 16px;- min-height: 16px;- min-width: 16px;- width: 16px;- }- &.is-medium {- height: 24px;- max-height: 24px;- max-width: 24px;- min-height: 24px;- min-width: 24px;- width: 24px;- }- &.is-large {- height: 32px;- max-height: 32px;- max-width: 32px;- min-height: 32px;- min-width: 32px;- width: 32px;- }-}-@mixin loader {- animation: spinAround 500ms infinite linear;- border: 2px solid $color-lighter-gray;- border-radius: $radius-rounded;- border-right-color: transparent;- border-top-color: transparent;- content: '';- display: block;- height: 1em;- position: relative;- width: 1em;-}diff --git a/src/styles/vocabulary.scss b/src/styles/vocabulary.scssdeleted file mode 100644index ee5e27c33..000000000--- a/src/styles/vocabulary.scss+++ /dev/null@@ -1,22 +0,0 @@-@charset "utf-8";--// Reset-@import 'base/minireset';--// Utilities-@import 'utilities/all';-@import 'helpers/all';--// Generic styles and Layout-@import 'base/generic';-@import 'base/layout';--// Form-@import 'form/_all';--// Components-@import 'components/button';-@import 'components/image';-@import 'components/navbar';-@import 'components/card';-@import 'components/content';diff --git a/tailwind.config.js b/tailwind.config.jsindex 112448425..7cd3260bf 100644--- a/tailwind.config.js+++ b/tailwind.config.js@@ -43,8 +43,8 @@ module.exports = {// Dark Charcoal'dark-charcoal': {DEFAULT: '#30272e',- '06': '#f3f2f2',- 10: '#eae9ea',+ '06': '#f3f2f2', // rgb(243, 242, 242)+ 10: '#eae9ea', // rgb(234, 233, 234)20: '#d6d4d5',30: '#c1bec0',40: '#aca9ab',@@ -192,6 +192,7 @@ module.exports = {],heading: ['"Inter"', 'sans-serif'],mono: ['"JetBrains Mono"', 'monospace'],+ sans: ['"Inter"', 'sans-serif'],serif: ['Times New Roman'],icons: ['"Vocabulary Icons"'],},diff --git a/test/playwright/visual-regression/pages.spec.ts b/test/playwright/visual-regression/pages.spec.tsnew file mode 100644index 000000000..3cdbe123e--- /dev/null+++ b/test/playwright/visual-regression/pages.spec.ts@@ -0,0 +1,38 @@+import { test } from '@playwright/test'++import breakpoints from '~~/test/playwright/utils/breakpoints'+import { removeHiddenOverflow } from '~~/test/playwright/utils/page'++const contentPages = ['extension', 'about', 'meta-search', 'search-help']+for (const contentPage of contentPages) {+ test.describe(`${contentPage} page snapshots`, () => {+ test.describe('ltr', () => {+ test.beforeEach(async ({ page }) => {+ await page.goto(`/${contentPage}`)+ })++ breakpoints.describeEvery(({ expectSnapshot }) => {+ test('full page', async ({ page }) => {+ await removeHiddenOverflow(page)+ await expectSnapshot(`${contentPage}-ltr`, page, { fullPage: true })+ })+ })+ })++ test.describe('rtl', () => {+ test.beforeEach(async ({ page }) => {+ await page.goto(`/ar/${contentPage}`)+ await page+ .locator('[data-testid="banner-translation-ar"] [aria-label="Close"]')+ .click()+ })++ breakpoints.describeEvery(({ expectSnapshot }) => {+ test('full page', async ({ page }) => {+ await removeHiddenOverflow(page)+ await expectSnapshot(`${contentPage}-rtl`, page, { fullPage: true })+ })+ })+ })+ })+}diff --git a/test/playwright/visual-regression/pages.spec.ts-snapshots/about-ltr-2xl-linux.png b/test/playwright/visual-regression/pages.spec.ts-snapshots/about-ltr-2xl-linux.pngnew file mode 100644index 000000000..12320ec31Binary files /dev/null and b/test/playwright/visual-regression/pages.spec.ts-snapshots/about-ltr-2xl-linux.png differdiff --git a/test/playwright/visual-regression/pages.spec.ts-snapshots/about-ltr-lg-linux.png b/test/playwright/visual-regression/pages.spec.ts-snapshots/about-ltr-lg-linux.pngnew file mode 100644index 000000000..b78c6479bBinary files /dev/null and b/test/playwright/visual-regression/pages.spec.ts-snapshots/about-ltr-lg-linux.png differdiff --git a/test/playwright/visual-regression/pages.spec.ts-snapshots/about-ltr-md-linux.png b/test/playwright/visual-regression/pages.spec.ts-snapshots/about-ltr-md-linux.pngnew file mode 100644index 000000000..1615cc5e5Binary files /dev/null and b/test/playwright/visual-regression/pages.spec.ts-snapshots/about-ltr-md-linux.png differdiff --git a/test/playwright/visual-regression/pages.spec.ts-snapshots/about-ltr-sm-linux.png b/test/playwright/visual-regression/pages.spec.ts-snapshots/about-ltr-sm-linux.pngnew file mode 100644index 000000000..be3dbb3fbBinary files /dev/null and b/test/playwright/visual-regression/pages.spec.ts-snapshots/about-ltr-sm-linux.png differdiff --git a/test/playwright/visual-regression/pages.spec.ts-snapshots/about-ltr-xl-linux.png b/test/playwright/visual-regression/pages.spec.ts-snapshots/about-ltr-xl-linux.pngnew file mode 100644index 000000000..2941c86daBinary files /dev/null and b/test/playwright/visual-regression/pages.spec.ts-snapshots/about-ltr-xl-linux.png differdiff --git a/test/playwright/visual-regression/pages.spec.ts-snapshots/about-ltr-xs-linux.png b/test/playwright/visual-regression/pages.spec.ts-snapshots/about-ltr-xs-linux.pngnew file mode 100644index 000000000..0f9dc1230Binary files /dev/null and b/test/playwright/visual-regression/pages.spec.ts-snapshots/about-ltr-xs-linux.png differdiff --git a/test/playwright/visual-regression/pages.spec.ts-snapshots/about-rtl-2xl-linux.png b/test/playwright/visual-regression/pages.spec.ts-snapshots/about-rtl-2xl-linux.pngnew file mode 100644index 000000000..e694eb1d1Binary files /dev/null and b/test/playwright/visual-regression/pages.spec.ts-snapshots/about-rtl-2xl-linux.png differdiff --git a/test/playwright/visual-regression/pages.spec.ts-snapshots/about-rtl-lg-linux.png b/test/playwright/visual-regression/pages.spec.ts-snapshots/about-rtl-lg-linux.pngnew file mode 100644index 000000000..bc4e99a6dBinary files /dev/null and b/test/playwright/visual-regression/pages.spec.ts-snapshots/about-rtl-lg-linux.png differdiff --git a/test/playwright/visual-regression/pages.spec.ts-snapshots/about-rtl-md-linux.png b/test/playwright/visual-regression/pages.spec.ts-snapshots/about-rtl-md-linux.pngnew file mode 100644index 000000000..e3d83712aBinary files /dev/null and b/test/playwright/visual-regression/pages.spec.ts-snapshots/about-rtl-md-linux.png differdiff --git a/test/playwright/visual-regression/pages.spec.ts-snapshots/about-rtl-sm-linux.png b/test/playwright/visual-regression/pages.spec.ts-snapshots/about-rtl-sm-linux.pngnew file mode 100644index 000000000..c9a991ba9Binary files /dev/null and b/test/playwright/visual-regression/pages.spec.ts-snapshots/about-rtl-sm-linux.png differdiff --git a/test/playwright/visual-regression/pages.spec.ts-snapshots/about-rtl-xl-linux.png b/test/playwright/visual-regression/pages.spec.ts-snapshots/about-rtl-xl-linux.pngnew file mode 100644index 000000000..d65bf051fBinary files /dev/null and b/test/playwright/visual-regression/pages.spec.ts-snapshots/about-rtl-xl-linux.png differdiff --git a/test/playwright/visual-regression/pages.spec.ts-snapshots/about-rtl-xs-linux.png b/test/playwright/visual-regression/pages.spec.ts-snapshots/about-rtl-xs-linux.pngnew file mode 100644index 000000000..770bdc18aBinary files /dev/null and b/test/playwright/visual-regression/pages.spec.ts-snapshots/about-rtl-xs-linux.png differdiff --git a/test/playwright/visual-regression/pages.spec.ts-snapshots/extension-ltr-2xl-linux.png b/test/playwright/visual-regression/pages.spec.ts-snapshots/extension-ltr-2xl-linux.pngnew file mode 100644index 000000000..555809fd0Binary files /dev/null and b/test/playwright/visual-regression/pages.spec.ts-snapshots/extension-ltr-2xl-linux.png differdiff --git a/test/playwright/visual-regression/pages.spec.ts-snapshots/extension-ltr-lg-linux.png b/test/playwright/visual-regression/pages.spec.ts-snapshots/extension-ltr-lg-linux.pngnew file mode 100644index 000000000..e52cacaadBinary files /dev/null and b/test/playwright/visual-regression/pages.spec.ts-snapshots/extension-ltr-lg-linux.png differdiff --git a/test/playwright/visual-regression/pages.spec.ts-snapshots/extension-ltr-md-linux.png b/test/playwright/visual-regression/pages.spec.ts-snapshots/extension-ltr-md-linux.pngnew file mode 100644index 000000000..092571df1Binary files /dev/null and b/test/playwright/visual-regression/pages.spec.ts-snapshots/extension-ltr-md-linux.png differdiff --git a/test/playwright/visual-regression/pages.spec.ts-snapshots/extension-ltr-sm-linux.png b/test/playwright/visual-regression/pages.spec.ts-snapshots/extension-ltr-sm-linux.pngnew file mode 100644index 000000000..b8b22d0f1Binary files /dev/null and b/test/playwright/visual-regression/pages.spec.ts-snapshots/extension-ltr-sm-linux.png differdiff --git a/test/playwright/visual-regression/pages.spec.ts-snapshots/extension-ltr-xl-linux.png b/test/playwright/visual-regression/pages.spec.ts-snapshots/extension-ltr-xl-linux.pngnew file mode 100644index 000000000..7fa9eda30Binary files /dev/null and b/test/playwright/visual-regression/pages.spec.ts-snapshots/extension-ltr-xl-linux.png differdiff --git a/test/playwright/visual-regression/pages.spec.ts-snapshots/extension-ltr-xs-linux.png b/test/playwright/visual-regression/pages.spec.ts-snapshots/extension-ltr-xs-linux.pngnew file mode 100644index 000000000..ea781c9ebBinary files /dev/null and b/test/playwright/visual-regression/pages.spec.ts-snapshots/extension-ltr-xs-linux.png differdiff --git a/test/playwright/visual-regression/pages.spec.ts-snapshots/extension-rtl-2xl-linux.png b/test/playwright/visual-regression/pages.spec.ts-snapshots/extension-rtl-2xl-linux.pngnew file mode 100644index 000000000..04977b6e9Binary files /dev/null and b/test/playwright/visual-regression/pages.spec.ts-snapshots/extension-rtl-2xl-linux.png differdiff --git a/test/playwright/visual-regression/pages.spec.ts-snapshots/extension-rtl-lg-linux.png b/test/playwright/visual-regression/pages.spec.ts-snapshots/extension-rtl-lg-linux.pngnew file mode 100644index 000000000..e3dfbc4ffBinary files /dev/null and b/test/playwright/visual-regression/pages.spec.ts-snapshots/extension-rtl-lg-linux.png differdiff --git a/test/playwright/visual-regression/pages.spec.ts-snapshots/extension-rtl-md-linux.png b/test/playwright/visual-regression/pages.spec.ts-snapshots/extension-rtl-md-linux.pngnew file mode 100644index 000000000..bc2f118b3Binary files /dev/null and b/test/playwright/visual-regression/pages.spec.ts-snapshots/extension-rtl-md-linux.png differdiff --git a/test/playwright/visual-regression/pages.spec.ts-snapshots/extension-rtl-sm-linux.png b/test/playwright/visual-regression/pages.spec.ts-snapshots/extension-rtl-sm-linux.pngnew file mode 100644index 000000000..19352c8b4Binary files /dev/null and b/test/playwright/visual-regression/pages.spec.ts-snapshots/extension-rtl-sm-linux.png differdiff --git a/test/playwright/visual-regression/pages.spec.ts-snapshots/extension-rtl-xl-linux.png b/test/playwright/visual-regression/pages.spec.ts-snapshots/extension-rtl-xl-linux.pngnew file mode 100644index 000000000..17dbeb96aBinary files /dev/null and b/test/playwright/visual-regression/pages.spec.ts-snapshots/extension-rtl-xl-linux.png differdiff --git a/test/playwright/visual-regression/pages.spec.ts-snapshots/extension-rtl-xs-linux.png b/test/playwright/visual-regression/pages.spec.ts-snapshots/extension-rtl-xs-linux.pngnew file mode 100644index 000000000..294ba2b29Binary files /dev/null and b/test/playwright/visual-regression/pages.spec.ts-snapshots/extension-rtl-xs-linux.png differdiff --git a/test/playwright/visual-regression/pages.spec.ts-snapshots/meta-search-ltr-2xl-linux.png b/test/playwright/visual-regression/pages.spec.ts-snapshots/meta-search-ltr-2xl-linux.pngnew file mode 100644index 000000000..753a77234Binary files /dev/null and b/test/playwright/visual-regression/pages.spec.ts-snapshots/meta-search-ltr-2xl-linux.png differdiff --git a/test/playwright/visual-regression/pages.spec.ts-snapshots/meta-search-ltr-lg-linux.png b/test/playwright/visual-regression/pages.spec.ts-snapshots/meta-search-ltr-lg-linux.pngnew file mode 100644index 000000000..9cd5fd545Binary files /dev/null and b/test/playwright/visual-regression/pages.spec.ts-snapshots/meta-search-ltr-lg-linux.png differdiff --git a/test/playwright/visual-regression/pages.spec.ts-snapshots/meta-search-ltr-md-linux.png b/test/playwright/visual-regression/pages.spec.ts-snapshots/meta-search-ltr-md-linux.pngnew file mode 100644index 000000000..282657e2dBinary files /dev/null and b/test/playwright/visual-regression/pages.spec.ts-snapshots/meta-search-ltr-md-linux.png differdiff --git a/test/playwright/visual-regression/pages.spec.ts-snapshots/meta-search-ltr-sm-linux.png b/test/playwright/visual-regression/pages.spec.ts-snapshots/meta-search-ltr-sm-linux.pngnew file mode 100644index 000000000..d1170814aBinary files /dev/null and b/test/playwright/visual-regression/pages.spec.ts-snapshots/meta-search-ltr-sm-linux.png differdiff --git a/test/playwright/visual-regression/pages.spec.ts-snapshots/meta-search-ltr-xl-linux.png b/test/playwright/visual-regression/pages.spec.ts-snapshots/meta-search-ltr-xl-linux.pngnew file mode 100644index 000000000..86410e794Binary files /dev/null and b/test/playwright/visual-regression/pages.spec.ts-snapshots/meta-search-ltr-xl-linux.png differdiff --git a/test/playwright/visual-regression/pages.spec.ts-snapshots/meta-search-ltr-xs-linux.png b/test/playwright/visual-regression/pages.spec.ts-snapshots/meta-search-ltr-xs-linux.pngnew file mode 100644index 000000000..a5cd184e4Binary files /dev/null and b/test/playwright/visual-regression/pages.spec.ts-snapshots/meta-search-ltr-xs-linux.png differdiff --git a/test/playwright/visual-regression/pages.spec.ts-snapshots/meta-search-rtl-2xl-linux.png b/test/playwright/visual-regression/pages.spec.ts-snapshots/meta-search-rtl-2xl-linux.pngnew file mode 100644index 000000000..badfc4186Binary files /dev/null and b/test/playwright/visual-regression/pages.spec.ts-snapshots/meta-search-rtl-2xl-linux.png differdiff --git a/test/playwright/visual-regression/pages.spec.ts-snapshots/meta-search-rtl-lg-linux.png b/test/playwright/visual-regression/pages.spec.ts-snapshots/meta-search-rtl-lg-linux.pngnew file mode 100644index 000000000..22cdb3223Binary files /dev/null and b/test/playwright/visual-regression/pages.spec.ts-snapshots/meta-search-rtl-lg-linux.png differdiff --git a/test/playwright/visual-regression/pages.spec.ts-snapshots/meta-search-rtl-md-linux.png b/test/playwright/visual-regression/pages.spec.ts-snapshots/meta-search-rtl-md-linux.pngnew file mode 100644index 000000000..8a68870f6Binary files /dev/null and b/test/playwright/visual-regression/pages.spec.ts-snapshots/meta-search-rtl-md-linux.png differdiff --git a/test/playwright/visual-regression/pages.spec.ts-snapshots/meta-search-rtl-sm-linux.png b/test/playwright/visual-regression/pages.spec.ts-snapshots/meta-search-rtl-sm-linux.pngnew file mode 100644index 000000000..28fb61df2Binary files /dev/null and b/test/playwright/visual-regression/pages.spec.ts-snapshots/meta-search-rtl-sm-linux.png differdiff --git a/test/playwright/visual-regression/pages.spec.ts-snapshots/meta-search-rtl-xl-linux.png b/test/playwright/visual-regression/pages.spec.ts-snapshots/meta-search-rtl-xl-linux.pngnew file mode 100644index 000000000..5925e5ffcBinary files /dev/null and b/test/playwright/visual-regression/pages.spec.ts-snapshots/meta-search-rtl-xl-linux.png differdiff --git a/test/playwright/visual-regression/pages.spec.ts-snapshots/meta-search-rtl-xs-linux.png b/test/playwright/visual-regression/pages.spec.ts-snapshots/meta-search-rtl-xs-linux.pngnew file mode 100644index 000000000..aed437573Binary files /dev/null and b/test/playwright/visual-regression/pages.spec.ts-snapshots/meta-search-rtl-xs-linux.png differdiff --git a/test/playwright/visual-regression/pages.spec.ts-snapshots/search-help-ltr-2xl-linux.png b/test/playwright/visual-regression/pages.spec.ts-snapshots/search-help-ltr-2xl-linux.pngnew file mode 100644index 000000000..ee1601f3cBinary files /dev/null and b/test/playwright/visual-regression/pages.spec.ts-snapshots/search-help-ltr-2xl-linux.png differdiff --git a/test/playwright/visual-regression/pages.spec.ts-snapshots/search-help-ltr-lg-linux.png b/test/playwright/visual-regression/pages.spec.ts-snapshots/search-help-ltr-lg-linux.pngnew file mode 100644index 000000000..ad9c2337bBinary files /dev/null and b/test/playwright/visual-regression/pages.spec.ts-snapshots/search-help-ltr-lg-linux.png differdiff --git a/test/playwright/visual-regression/pages.spec.ts-snapshots/search-help-ltr-md-linux.png b/test/playwright/visual-regression/pages.spec.ts-snapshots/search-help-ltr-md-linux.pngnew file mode 100644index 000000000..e184a59d9Binary files /dev/null and b/test/playwright/visual-regression/pages.spec.ts-snapshots/search-help-ltr-md-linux.png differdiff --git a/test/playwright/visual-regression/pages.spec.ts-snapshots/search-help-ltr-sm-linux.png b/test/playwright/visual-regression/pages.spec.ts-snapshots/search-help-ltr-sm-linux.pngnew file mode 100644index 000000000..7e0de54c3Binary files /dev/null and b/test/playwright/visual-regression/pages.spec.ts-snapshots/search-help-ltr-sm-linux.png differdiff --git a/test/playwright/visual-regression/pages.spec.ts-snapshots/search-help-ltr-xl-linux.png b/test/playwright/visual-regression/pages.spec.ts-snapshots/search-help-ltr-xl-linux.pngnew file mode 100644index 000000000..0277c3f5dBinary files /dev/null and b/test/playwright/visual-regression/pages.spec.ts-snapshots/search-help-ltr-xl-linux.png differdiff --git a/test/playwright/visual-regression/pages.spec.ts-snapshots/search-help-ltr-xs-linux.png b/test/playwright/visual-regression/pages.spec.ts-snapshots/search-help-ltr-xs-linux.pngnew file mode 100644index 000000000..f00ab52a6Binary files /dev/null and b/test/playwright/visual-regression/pages.spec.ts-snapshots/search-help-ltr-xs-linux.png differdiff --git a/test/playwright/visual-regression/pages.spec.ts-snapshots/search-help-rtl-2xl-linux.png b/test/playwright/visual-regression/pages.spec.ts-snapshots/search-help-rtl-2xl-linux.pngnew file mode 100644index 000000000..9a31413f8Binary files /dev/null and b/test/playwright/visual-regression/pages.spec.ts-snapshots/search-help-rtl-2xl-linux.png differdiff --git a/test/playwright/visual-regression/pages.spec.ts-snapshots/search-help-rtl-lg-linux.png b/test/playwright/visual-regression/pages.spec.ts-snapshots/search-help-rtl-lg-linux.pngnew file mode 100644index 000000000..835b0905eBinary files /dev/null and b/test/playwright/visual-regression/pages.spec.ts-snapshots/search-help-rtl-lg-linux.png differdiff --git a/test/playwright/visual-regression/pages.spec.ts-snapshots/search-help-rtl-md-linux.png b/test/playwright/visual-regression/pages.spec.ts-snapshots/search-help-rtl-md-linux.pngnew file mode 100644index 000000000..32067aae1Binary files /dev/null and b/test/playwright/visual-regression/pages.spec.ts-snapshots/search-help-rtl-md-linux.png differdiff --git a/test/playwright/visual-regression/pages.spec.ts-snapshots/search-help-rtl-sm-linux.png b/test/playwright/visual-regression/pages.spec.ts-snapshots/search-help-rtl-sm-linux.pngnew file mode 100644index 000000000..76fa25492Binary files /dev/null and b/test/playwright/visual-regression/pages.spec.ts-snapshots/search-help-rtl-sm-linux.png differdiff --git a/test/playwright/visual-regression/pages.spec.ts-snapshots/search-help-rtl-xl-linux.png b/test/playwright/visual-regression/pages.spec.ts-snapshots/search-help-rtl-xl-linux.pngnew file mode 100644index 000000000..3d8f427beBinary files /dev/null and b/test/playwright/visual-regression/pages.spec.ts-snapshots/search-help-rtl-xl-linux.png differdiff --git a/test/playwright/visual-regression/pages.spec.ts-snapshots/search-help-rtl-xs-linux.png b/test/playwright/visual-regression/pages.spec.ts-snapshots/search-help-rtl-xs-linux.pngnew file mode 100644index 000000000..649ba5908Binary files /dev/null and b/test/playwright/visual-regression/pages.spec.ts-snapshots/search-help-rtl-xs-linux.png differdiff --git a/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-ltr-2xl-linux.png b/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-ltr-2xl-linux.pngindex 0d9a88298..2cefe0afd 100644Binary files a/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-ltr-2xl-linux.png and b/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-ltr-2xl-linux.png differdiff --git a/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-ltr-lg-linux.png b/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-ltr-lg-linux.pngindex fffc04efb..ce067ab92 100644Binary files a/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-ltr-lg-linux.png and b/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-ltr-lg-linux.png differdiff --git a/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-ltr-md-linux.png b/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-ltr-md-linux.pngindex 46381465d..1c19c4033 100644Binary files a/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-ltr-md-linux.png and b/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-ltr-md-linux.png differdiff --git a/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-ltr-sm-linux.png b/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-ltr-sm-linux.pngindex 2a712270b..f985b6741 100644Binary files a/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-ltr-sm-linux.png and b/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-ltr-sm-linux.png differdiff --git a/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-ltr-xl-linux.png b/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-ltr-xl-linux.pngindex 0ae44d362..c5a3adc1b 100644Binary files a/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-ltr-xl-linux.png and b/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-ltr-xl-linux.png differdiff --git a/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-ltr-xs-linux.png b/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-ltr-xs-linux.pngindex 39bf8c862..a8b9de880 100644Binary files a/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-ltr-xs-linux.png and b/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-ltr-xs-linux.png differdiff --git a/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-rtl-2xl-linux.png b/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-rtl-2xl-linux.pngindex 7f249299c..c9a2d325f 100644Binary files a/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-rtl-2xl-linux.png and b/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-rtl-2xl-linux.png differdiff --git a/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-rtl-lg-linux.png b/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-rtl-lg-linux.pngindex ba1774312..12d4408bd 100644Binary files a/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-rtl-lg-linux.png and b/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-rtl-lg-linux.png differdiff --git a/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-rtl-md-linux.png b/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-rtl-md-linux.pngindex ccb6f9de6..dab40d1ea 100644Binary files a/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-rtl-md-linux.png and b/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-rtl-md-linux.png differdiff --git a/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-rtl-sm-linux.png b/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-rtl-sm-linux.pngindex 96ea0e52a..39d965462 100644Binary files a/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-rtl-sm-linux.png and b/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-rtl-sm-linux.png differdiff --git a/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-rtl-xl-linux.png b/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-rtl-xl-linux.pngindex 035306ba8..5aa9621cf 100644Binary files a/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-rtl-xl-linux.png and b/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-rtl-xl-linux.png differdiff --git a/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-rtl-xs-linux.png b/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-rtl-xs-linux.pngindex 0c23f3cf5..1cceb0ac5 100644Binary files a/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-rtl-xs-linux.png and b/test/playwright/visual-regression/sources.spec.ts-snapshots/sources-rtl-xs-linux.png differdiff --git a/test/storybook/visual-regression/v-checkbox.spec.ts-snapshots/off-linux.png b/test/storybook/visual-regression/v-checkbox.spec.ts-snapshots/off-linux.pngindex c911b7a00..63cba1568 100644Binary files a/test/storybook/visual-regression/v-checkbox.spec.ts-snapshots/off-linux.png and b/test/storybook/visual-regression/v-checkbox.spec.ts-snapshots/off-linux.png differdiff --git a/test/storybook/visual-regression/v-checkbox.spec.ts-snapshots/on-linux.png b/test/storybook/visual-regression/v-checkbox.spec.ts-snapshots/on-linux.pngindex 68cd5c7c6..09acaa046 100644Binary files a/test/storybook/visual-regression/v-checkbox.spec.ts-snapshots/on-linux.png and b/test/storybook/visual-regression/v-checkbox.spec.ts-snapshots/on-linux.png differdiff --git a/tsconfig.json b/tsconfig.jsonindex efb1cbbde..c792fe664 100644--- a/tsconfig.json+++ b/tsconfig.json@@ -66,6 +66,7 @@"src/components/VMediaInfo/**.vue","src/pages/feedback.vue","src/pages/search-help.vue",+ "src/pages/extension.vue","src/composables/types.js","src/composables/use-event-listener-outside.js",