From f44a9f3723b4c06bcfb776dee9d531aa49027494 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Luis=20Pereira?= Date: Tue, 27 Sep 2022 09:30:34 -0300 Subject: [PATCH 1/2] Break citations --- .../otus/components/Panel/PanelCitation/PanelCitationRow.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/otus/components/Panel/PanelCitation/PanelCitationRow.vue b/src/modules/otus/components/Panel/PanelCitation/PanelCitationRow.vue index 3586589..4910e02 100644 --- a/src/modules/otus/components/Panel/PanelCitation/PanelCitationRow.vue +++ b/src/modules/otus/components/Panel/PanelCitation/PanelCitationRow.vue @@ -23,7 +23,7 @@ /> -
+
Date: Tue, 27 Sep 2022 18:26:47 -0300 Subject: [PATCH 2/2] Add dropdown component. Add hamburger menu for nomenclature citations panel --- src/assets/css/vars.css | 4 ++ src/components/Dropdown/Dropdown.global.vue | 58 +++++++++++++++++++ .../Panel/PanelCitation/PanelCitation.vue | 37 +++++++++++- .../Panel/PanelCitation/PanelCitationRow.vue | 8 +++ src/modules/otus/views/Index.vue | 2 +- tailwind.config.js | 6 +- 6 files changed, 110 insertions(+), 5 deletions(-) create mode 100644 src/components/Dropdown/Dropdown.global.vue diff --git a/src/assets/css/vars.css b/src/assets/css/vars.css index bc03c7e..1724b07 100644 --- a/src/assets/css/vars.css +++ b/src/assets/css/vars.css @@ -8,6 +8,8 @@ --color-base-foreground: 255, 255, 255; --color-base-background: 245, 247, 251; --color-base-muted: 226, 232, 240; + --color-base-soft: 156,163,175; + --color-base-lighter: 55,65,81; --color-base-border: 203, 213, 225; --color-base-content: 0, 0, 0; @@ -27,6 +29,8 @@ --color-base-background: 23, 23, 23; --color-base-foreground: 38, 38, 38; --color-base-muted: 48, 48, 48; + --color-base-soft: 200,200,200; + --color-base-lighter: 220, 220, 220; --color-base-border: 38, 38, 38; --color-base-content: 255, 255, 255; } \ No newline at end of file diff --git a/src/components/Dropdown/Dropdown.global.vue b/src/components/Dropdown/Dropdown.global.vue new file mode 100644 index 0000000..7d57235 --- /dev/null +++ b/src/components/Dropdown/Dropdown.global.vue @@ -0,0 +1,58 @@ + + + diff --git a/src/modules/otus/components/Panel/PanelCitation/PanelCitation.vue b/src/modules/otus/components/Panel/PanelCitation/PanelCitation.vue index 9d55c97..268d5f8 100644 --- a/src/modules/otus/components/Panel/PanelCitation/PanelCitation.vue +++ b/src/modules/otus/components/Panel/PanelCitation/PanelCitation.vue @@ -1,9 +1,16 @@