From aaba7963961815e5c4f1b06a782f8f5fb8c32462 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Luis=20Pereira?= Date: Mon, 4 Jul 2022 12:46:59 -0300 Subject: [PATCH] Update style --- src/assets/css/main.scss | 7 +++--- src/assets/css/webkit.scss | 21 ++++++++++++++++ src/components/Card/VCard.vue | 12 ++++++++-- src/components/Card/VCardContent.vue | 2 +- src/components/Card/VCardHeader.vue | 2 +- src/components/Gallery/ControlImageNext.vue | 6 ++--- .../Gallery/ControlImagePrevious.vue | 6 ++--- src/components/Gallery/GalleryThumbnail.vue | 2 +- src/components/Gallery/ImageViewer.vue | 2 +- .../otus/components/Citation/CitationList.vue | 18 +++++++------- .../otus/components/Citation/CitationRow.vue | 24 +++++++++++++++---- src/modules/otus/components/Map.vue | 4 ++-- src/modules/otus/components/TaxaInfo.vue | 2 +- src/modules/otus/views/Index.vue | 10 +++++--- tailwind.config.js | 2 +- 15 files changed, 84 insertions(+), 36 deletions(-) create mode 100644 src/assets/css/webkit.scss diff --git a/src/assets/css/main.scss b/src/assets/css/main.scss index 4acb65b..de44874 100644 --- a/src/assets/css/main.scss +++ b/src/assets/css/main.scss @@ -1,16 +1,17 @@ @import '@/assets/css/tailwind.css'; @import 'leaflet/dist/leaflet.css'; -@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;400;500;700&display=swap'); +@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,400;0,500;0,900;1,100;1,400&display=swap'); @import '@/assets/css/leaflet.scss'; +@import '@/assets/css/webkit.scss'; * { box-sizing: content-box; } body { - @apply bg-gray-100; + background-color: #f5f7fb; + @apply font-main; @apply dark:bg-slate-900; - @apply font-inter; @apply dark:text-slate-400; } diff --git a/src/assets/css/webkit.scss b/src/assets/css/webkit.scss new file mode 100644 index 0000000..c4cc7b7 --- /dev/null +++ b/src/assets/css/webkit.scss @@ -0,0 +1,21 @@ +::-webkit-scrollbar { + width: 6px; + height: 6px; + -webkit-transition: background .3s; + transition: background .3s; +} + +::-webkit-scrollbar-corner { + background: 0 0; +} + +::-webkit-scrollbar-thumb { + border-radius: 5px; + background: rgb(0,0,0, .16); + @apply dark:bg-slate-600; +} + +::-webkit-scrollbar-track { + background: rgb(0,0,0, .06); + @apply dark:bg-slate-700; +} \ No newline at end of file diff --git a/src/components/Card/VCard.vue b/src/components/Card/VCard.vue index 0495cd6..3d0b5b2 100644 --- a/src/components/Card/VCard.vue +++ b/src/components/Card/VCard.vue @@ -1,5 +1,13 @@ \ No newline at end of file + + + \ No newline at end of file diff --git a/src/components/Card/VCardContent.vue b/src/components/Card/VCardContent.vue index ca6f79a..567c111 100644 --- a/src/components/Card/VCardContent.vue +++ b/src/components/Card/VCardContent.vue @@ -1,5 +1,5 @@ \ No newline at end of file diff --git a/src/components/Card/VCardHeader.vue b/src/components/Card/VCardHeader.vue index 3b25712..300e6f5 100644 --- a/src/components/Card/VCardHeader.vue +++ b/src/components/Card/VCardHeader.vue @@ -1,5 +1,5 @@ \ No newline at end of file diff --git a/src/components/Gallery/ControlImageNext.vue b/src/components/Gallery/ControlImageNext.vue index b191c03..8e40a14 100644 --- a/src/components/Gallery/ControlImageNext.vue +++ b/src/components/Gallery/ControlImageNext.vue @@ -1,14 +1,14 @@ diff --git a/src/modules/otus/components/Citation/CitationRow.vue b/src/modules/otus/components/Citation/CitationRow.vue index 9427691..84732f2 100644 --- a/src/modules/otus/components/Citation/CitationRow.vue +++ b/src/modules/otus/components/Citation/CitationRow.vue @@ -1,16 +1,32 @@ diff --git a/src/modules/otus/components/TaxaInfo.vue b/src/modules/otus/components/TaxaInfo.vue index bd85b45..c961eb3 100644 --- a/src/modules/otus/components/TaxaInfo.vue +++ b/src/modules/otus/components/TaxaInfo.vue @@ -3,7 +3,7 @@

{{ taxon.rank || taxon.type }}

-

+

- +