@digigov/css 2.0.0-rc.6 → 2.0.0-rc.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components.js +1 -1
- package/dist/digigov.css +1 -1
- package/package.json +2 -2
- package/src/components/admin-header.css +3 -2
- package/src/components/admin-layout.css +2 -9
- package/src/components/autocomplete.css +1 -1
- package/src/components/card.css +1 -1
- package/src/components/dropdown.css +37 -29
- package/src/components/form.css +1 -1
- package/src/components/header.css +7 -7
- package/src/components/index.css +32 -31
- package/src/components/modal.css +12 -3
- package/src/components/skeleton.css +84 -0
- package/src/components/summary-list.css +10 -0
- package/src/components/table.css +5 -3
- package/src/components/typography.css +1 -0
- package/tailwind.config.js +1 -0
- package/src/pages/admin-filtering-data.js +0 -160
- package/src/pages/admin.js +0 -61
- package/src/pages/dropdown.js +0 -249
- package/src/pages/form.js +0 -400
- package/src/pages/pagination.js +0 -124
- package/src/pages/table.js +0 -308
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@digigov/css",
|
|
3
|
-
"version": "2.0.0-rc.
|
|
3
|
+
"version": "2.0.0-rc.8",
|
|
4
4
|
"description": "Digigov CSS - Tailwind CSS Components",
|
|
5
5
|
"author": "GRNET Devs <devs@lists.grnet.gr>",
|
|
6
6
|
"license": "BSD-2-Clause",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"rimraf": "3.0.2",
|
|
56
56
|
"publint": "0.1.8",
|
|
57
57
|
"stylelint": "15.11.0",
|
|
58
|
-
"stylelint-plugin-digigov": "1.1.0-rc.
|
|
58
|
+
"stylelint-plugin-digigov": "1.1.0-rc.8",
|
|
59
59
|
"prettier": "3.2.5"
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
border-bottom-style: solid;
|
|
4
4
|
}
|
|
5
5
|
.ds-admin-header__content {
|
|
6
|
-
@apply px-4 py-2 mx-auto max-w-full w-full flex justify-between items-center
|
|
6
|
+
@apply px-4 py-2 mx-auto max-w-full w-full flex justify-between items-center
|
|
7
|
+
flex-wrap sm:flex-nowrap print:px-0 gap-3;
|
|
7
8
|
}
|
|
8
9
|
|
|
9
10
|
/* overrides */
|
|
@@ -13,7 +14,7 @@
|
|
|
13
14
|
@apply print:hidden;
|
|
14
15
|
}
|
|
15
16
|
.ds-dropdown__button.ds-link {
|
|
16
|
-
@apply text-lg text-white focus:text-base-content print:text-base-800;
|
|
17
|
+
@apply text-lg text-white focus:text-base-content print:text-base-800 text-right;
|
|
17
18
|
}
|
|
18
19
|
.ds-link {
|
|
19
20
|
&:hover {
|
|
@@ -11,16 +11,9 @@
|
|
|
11
11
|
@apply border border-base-300 px-4 py-2;
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
|
-
.ds-admin-
|
|
15
|
-
@apply px-4 py-8 m-0 w-full mx-auto;
|
|
16
|
-
flex: 1 1 0%;
|
|
17
|
-
}
|
|
18
|
-
.ds-admin-main-wrapper {
|
|
19
|
-
@apply grid p-4 md:grid-cols-12 gap-x-8 md:gap-x-10 gap-y-4 grid-cols-1 print:grid-cols-1;
|
|
20
|
-
}
|
|
21
|
-
.ds-admin-main-content {
|
|
14
|
+
.ds-admin-main {
|
|
22
15
|
@apply lg:col-span-8 md:col-span-7;
|
|
23
16
|
}
|
|
24
|
-
.ds-admin-
|
|
17
|
+
.ds-admin-aside {
|
|
25
18
|
@apply lg:col-span-4 md:col-span-5 print:order-1;
|
|
26
19
|
}
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
.ds-autocomplete__menu {
|
|
81
|
-
@apply block max-h-96 w-full m-0 p-0 overflow-x-hidden
|
|
81
|
+
@apply block max-h-64 md:max-h-96 w-full m-0 p-0 overflow-x-hidden
|
|
82
82
|
border-2 border-t-0 border-base-content bg-base-100
|
|
83
83
|
absolute left-0 top-full z-50 shadow-xl;
|
|
84
84
|
&.ds-autocomplete__menu--hidden {
|
package/src/components/card.css
CHANGED
|
@@ -30,36 +30,39 @@
|
|
|
30
30
|
@apply p-2;
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
&::-webkit-details-marker {
|
|
39
|
-
display: none;
|
|
40
|
-
}
|
|
33
|
+
}
|
|
34
|
+
.ds-dropdown__button {
|
|
35
|
+
@apply w-fit print:text-base-content;
|
|
36
|
+
&::marker {
|
|
37
|
+
font-size: 0;
|
|
41
38
|
}
|
|
42
|
-
|
|
43
|
-
|
|
39
|
+
&::-webkit-details-marker {
|
|
40
|
+
display: none;
|
|
44
41
|
}
|
|
45
|
-
|
|
46
|
-
|
|
42
|
+
}
|
|
43
|
+
.ds-dropdown__button.ds-link + .ds-dropdown__content {
|
|
44
|
+
@apply mt-4 print:text-base-content;
|
|
45
|
+
}
|
|
46
|
+
.ds-btn-group .ds-btn + .ds-dropdown__content {
|
|
47
|
+
@apply mt-4;
|
|
48
|
+
}
|
|
49
|
+
.ds-dropdown__content {
|
|
50
|
+
@apply border border-base-400 p-4 bg-base-100 border-t-0
|
|
51
|
+
max-w-xs w-max min-w-full absolute transition z-3 mr-4 -mt-4;
|
|
52
|
+
-webkit-box-box-shadow:
|
|
53
|
+
0 2px 8px rgba(var(--color-base-900-rgb), 0.3),
|
|
54
|
+
0 -2px 0 var(--color-base-500);
|
|
55
|
+
box-shadow:
|
|
56
|
+
0 2px 8px rgba(var(--color-base-900-rgb), 0.3),
|
|
57
|
+
0 -2px 0 var(--color-base-500);
|
|
58
|
+
&.ds-dropdown__content--full-width {
|
|
59
|
+
@apply min-w-full;
|
|
47
60
|
}
|
|
48
|
-
|
|
49
|
-
@apply
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
0 -2px 0 var(--color-base-500);
|
|
54
|
-
box-shadow:
|
|
55
|
-
0 2px 8px rgba(var(--color-base-900-rgb), 0.3),
|
|
56
|
-
0 -2px 0 var(--color-base-500);
|
|
57
|
-
&.ds-dropdown__content--full-width {
|
|
58
|
-
@apply min-w-full;
|
|
59
|
-
}
|
|
60
|
-
*:last-child {
|
|
61
|
-
@apply mb-0;
|
|
62
|
-
}
|
|
61
|
+
&.ds-dropdown__content--scrollable {
|
|
62
|
+
@apply overflow-y-auto max-h-64 md:max-h-96;
|
|
63
|
+
}
|
|
64
|
+
*:last-child {
|
|
65
|
+
@apply mb-0;
|
|
63
66
|
}
|
|
64
67
|
}
|
|
65
68
|
|
|
@@ -108,8 +111,7 @@
|
|
|
108
111
|
}
|
|
109
112
|
}
|
|
110
113
|
.ds-svg-icon {
|
|
111
|
-
@apply w-5 h-6 md:h-8;
|
|
112
|
-
@apply print:hidden;
|
|
114
|
+
@apply w-5 h-6 md:h-8 min-w-4 print:hidden;
|
|
113
115
|
}
|
|
114
116
|
}
|
|
115
117
|
.ds-dropdown__content {
|
|
@@ -121,6 +123,12 @@
|
|
|
121
123
|
}
|
|
122
124
|
> .ds-nav__list {
|
|
123
125
|
@apply w-auto -mx-4 flex-col;
|
|
126
|
+
&:nth-child(1) {
|
|
127
|
+
@apply -mt-4;
|
|
128
|
+
}
|
|
129
|
+
&:last-child {
|
|
130
|
+
@apply -mb-4 !important;
|
|
131
|
+
}
|
|
124
132
|
.ds-nav__list-item {
|
|
125
133
|
@apply border-b border-base-300 py-2 px-4;
|
|
126
134
|
&:last-child {
|
package/src/components/form.css
CHANGED
|
@@ -171,7 +171,7 @@
|
|
|
171
171
|
.ds-textarea:disabled,
|
|
172
172
|
.ds-checkboxes__input:disabled::before,
|
|
173
173
|
.ds-radios__input:disabled::before {
|
|
174
|
-
@apply border-base-
|
|
174
|
+
@apply border-base-700 text-base-800;
|
|
175
175
|
}
|
|
176
176
|
.ds-checkboxes__input:disabled:checked::after,
|
|
177
177
|
.ds-radios__input:disabled:checked::after {
|
|
@@ -5,12 +5,15 @@
|
|
|
5
5
|
border-width: var(--header-border-width);
|
|
6
6
|
}
|
|
7
7
|
.ds-header__content {
|
|
8
|
-
@apply px-4 py-2 mx-auto max-w-5xl w-full flex justify-between items-center
|
|
8
|
+
@apply px-4 py-2 mx-auto max-w-5xl w-full flex justify-between items-center flex-wrap sm:flex-nowrap
|
|
9
9
|
print:px-0 gap-3;
|
|
10
10
|
}
|
|
11
11
|
.ds-header__section {
|
|
12
12
|
@apply flex justify-start flex-wrap items-center gap-x-4 gap-y-2
|
|
13
13
|
print:gap-1;
|
|
14
|
+
&:last-child:not(:first-child) {
|
|
15
|
+
@apply flex-1 justify-end sm:flex-none sm:justify-start;
|
|
16
|
+
}
|
|
14
17
|
}
|
|
15
18
|
.ds-header__logo {
|
|
16
19
|
@apply h-12 print:hidden;
|
|
@@ -29,10 +32,10 @@
|
|
|
29
32
|
text-decoration: none;
|
|
30
33
|
}
|
|
31
34
|
.ds-header__title {
|
|
32
|
-
color: var(--header__title-color);
|
|
33
35
|
@apply font-bold text-2xl leading-10 tracking-wide no-underline
|
|
34
36
|
w-auto align-middle hover:no-underline
|
|
35
37
|
print:text-base-content;
|
|
38
|
+
color: var(--header__title-color);
|
|
36
39
|
&:hover {
|
|
37
40
|
/* @apply text-white; */
|
|
38
41
|
color: var(--header__title-color-hover);
|
|
@@ -54,8 +57,8 @@
|
|
|
54
57
|
.ds-header__section {
|
|
55
58
|
> .ds-link,
|
|
56
59
|
> .ds-dropdown .ds-dropdown__button.ds-link {
|
|
57
|
-
color: var(--color-header-text);
|
|
58
60
|
@apply focus:text-link-active print:text-base-content;
|
|
61
|
+
color: var(--color-header-text);
|
|
59
62
|
}
|
|
60
63
|
}
|
|
61
64
|
.ds-dropdown {
|
|
@@ -65,9 +68,6 @@
|
|
|
65
68
|
@apply sm:w-max;
|
|
66
69
|
}
|
|
67
70
|
.ds-link {
|
|
68
|
-
.ds-svg-icon {
|
|
69
|
-
fill: var(--color-header-text);
|
|
70
|
-
}
|
|
71
71
|
&:hover {
|
|
72
72
|
.ds-svg-icon {
|
|
73
73
|
fill: var(--color-header-text-hover);
|
|
@@ -83,8 +83,8 @@
|
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
85
|
.ds-phase-banner__text {
|
|
86
|
-
color: var(--color-header-text);
|
|
87
86
|
@apply print:text-base-content;
|
|
87
|
+
color: var(--color-header-text);
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
90
|
.ds-header__section {
|
package/src/components/index.css
CHANGED
|
@@ -1,46 +1,47 @@
|
|
|
1
1
|
@import './accordion.css';
|
|
2
|
+
@import './admin-header.css';
|
|
3
|
+
@import './admin-layout.css';
|
|
2
4
|
@import './autocomplete.css';
|
|
3
|
-
@import './
|
|
5
|
+
@import './back-to-top.css';
|
|
4
6
|
@import './bottom-info.css';
|
|
5
|
-
@import './
|
|
7
|
+
@import './breadcrumbs.css';
|
|
8
|
+
@import './button.css';
|
|
9
|
+
@import './card.css';
|
|
6
10
|
@import './form.css';
|
|
7
11
|
@import './checkboxes.css';
|
|
12
|
+
@import './chip.css';
|
|
13
|
+
@import './copy-to-clipboard.css';
|
|
14
|
+
@import './details.css';
|
|
15
|
+
@import './dev-theme.css';
|
|
16
|
+
@import './drawer.css';
|
|
8
17
|
@import './dropdown.css';
|
|
9
|
-
@import './
|
|
10
|
-
@import './
|
|
18
|
+
@import './fillable.css';
|
|
19
|
+
@import './filter.css';
|
|
11
20
|
@import './footer.css';
|
|
21
|
+
@import './full-page-background.css';
|
|
22
|
+
@import './header.css';
|
|
23
|
+
@import './hidden.css';
|
|
12
24
|
@import './layout.css';
|
|
13
|
-
@import './
|
|
14
|
-
@import './typography.css';
|
|
15
|
-
@import './back-to-top.css';
|
|
16
|
-
@import './table.css';
|
|
17
|
-
@import './filter.css';
|
|
18
|
-
@import './admin-layout.css';
|
|
19
|
-
@import './admin-header.css';
|
|
20
|
-
@import './breadcrumbs.css';
|
|
21
|
-
@import './card.css';
|
|
22
|
-
@import './details.css';
|
|
23
|
-
@import './notification-banner.css';
|
|
25
|
+
@import './loader.css';
|
|
24
26
|
@import './masthead.css';
|
|
25
|
-
@import './panel.css';
|
|
26
|
-
@import './phase-banner.css';
|
|
27
|
-
@import './summary-list.css';
|
|
28
|
-
@import './stack.css';
|
|
29
|
-
@import './tabs.css';
|
|
30
27
|
@import './misc.css';
|
|
31
28
|
@import './modal.css';
|
|
32
|
-
@import './
|
|
29
|
+
@import './nav.css';
|
|
33
30
|
@import './pagination.css';
|
|
34
|
-
@import './
|
|
35
|
-
@import './
|
|
36
|
-
@import './
|
|
37
|
-
@import './
|
|
38
|
-
@import './fillable.css';
|
|
31
|
+
@import './panel.css';
|
|
32
|
+
@import './phase-banner.css';
|
|
33
|
+
@import './radios.css';
|
|
34
|
+
@import './skeleton.css';
|
|
39
35
|
@import './skiplink.css';
|
|
40
|
-
@import './
|
|
41
|
-
@import './task-list.css';
|
|
36
|
+
@import './stack.css';
|
|
42
37
|
@import './stepnav.css';
|
|
43
|
-
@import './
|
|
44
|
-
@import './
|
|
45
|
-
@import './
|
|
38
|
+
@import './summary-list.css';
|
|
39
|
+
@import './svg-icons.css';
|
|
40
|
+
@import './table.css';
|
|
41
|
+
@import './tabs.css';
|
|
42
|
+
@import './task-list.css';
|
|
43
|
+
@import './timeline.css';
|
|
44
|
+
@import './typography.css';
|
|
45
|
+
@import './notification-banner.css';
|
|
46
46
|
@import './warning-text.css';
|
|
47
|
+
@import './kitchensink.css';
|
package/src/components/modal.css
CHANGED
|
@@ -9,8 +9,11 @@
|
|
|
9
9
|
|
|
10
10
|
&.ds-modal--dense,
|
|
11
11
|
&.ds-dense & {
|
|
12
|
+
.ds-modal__body {
|
|
13
|
+
@apply px-4 py-0;
|
|
14
|
+
}
|
|
12
15
|
.ds-modal__container {
|
|
13
|
-
@apply
|
|
16
|
+
@apply gap-4 my-0;
|
|
14
17
|
}
|
|
15
18
|
}
|
|
16
19
|
}
|
|
@@ -18,11 +21,17 @@
|
|
|
18
21
|
@apply w-full max-w-md md:max-w-lg lg:max-w-4xl
|
|
19
22
|
h-fit md:h-auto overflow-y-auto
|
|
20
23
|
bg-base-100
|
|
21
|
-
border border-solid border-base-500;
|
|
24
|
+
border border-solid border-base-500 p-6;
|
|
22
25
|
max-height: 95vh;
|
|
23
26
|
}
|
|
24
27
|
.ds-modal__container {
|
|
25
|
-
@apply grid
|
|
28
|
+
@apply grid gap-6 -my-4;
|
|
29
|
+
.ds-modal__action {
|
|
30
|
+
@apply mb-0;
|
|
31
|
+
}
|
|
32
|
+
>.ds-heading-xs, >.ds-heading-sm, >.ds-heading-md, >.ds-heading-lg, >.ds-heading-xl {
|
|
33
|
+
@apply mb-0;
|
|
34
|
+
}
|
|
26
35
|
}
|
|
27
36
|
.ds-modal__content {
|
|
28
37
|
@apply text-base lg:text-xl text-lg;
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
.ds-skeleton {
|
|
2
|
+
@apply block bg-base-300 h-auto w-full max-w-full rounded-sm;
|
|
3
|
+
|
|
4
|
+
/* max-width: 105ch; */
|
|
5
|
+
&.ds-skeleton--text {
|
|
6
|
+
/* @apply text-lg; */
|
|
7
|
+
&::before {
|
|
8
|
+
content: '\00a0';
|
|
9
|
+
}
|
|
10
|
+
&.ds-skeleton--font-xs {
|
|
11
|
+
@apply text-sm md:text-base;
|
|
12
|
+
line-height: 1rem;
|
|
13
|
+
}
|
|
14
|
+
&.ds-skeleton--font-sm {
|
|
15
|
+
@apply text-base md:text-lg;
|
|
16
|
+
}
|
|
17
|
+
&.ds-skeleton--font-md {
|
|
18
|
+
@apply text-xl md:text-2xl;
|
|
19
|
+
}
|
|
20
|
+
&.ds-skeleton--font-lg {
|
|
21
|
+
@apply text-2xl md:text-3xl;
|
|
22
|
+
}
|
|
23
|
+
&.ds-skeleton--font-xl {
|
|
24
|
+
@apply text-3xl md:text-4xl;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
&.ds-skeleton--circular {
|
|
28
|
+
border-radius: 50%;
|
|
29
|
+
}
|
|
30
|
+
&.ds-skeleton--rectangular {
|
|
31
|
+
}
|
|
32
|
+
&.ds-skeleton--button {
|
|
33
|
+
@apply mb-8 w-fit min-h-10 md:min-h-12 px-6 py-3
|
|
34
|
+
border-b-2 border-gray-400
|
|
35
|
+
flex items-center justify-center;
|
|
36
|
+
.ds-skeleton__line {
|
|
37
|
+
@apply block bg-base-400 w-full max-w-full max-h-full;
|
|
38
|
+
&::before {
|
|
39
|
+
content: '\00a0';
|
|
40
|
+
}
|
|
41
|
+
&.ds-skeleton__line--size-default {
|
|
42
|
+
@apply h-4 w-20;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/* Skeleton with a child. */
|
|
48
|
+
&.ds-skeleton--width-fit-content {
|
|
49
|
+
@apply w-fit;
|
|
50
|
+
}
|
|
51
|
+
&.ds-skeleton--animate {
|
|
52
|
+
/* @apply animate-pulse; */
|
|
53
|
+
position: relative;
|
|
54
|
+
overflow: hidden;
|
|
55
|
+
mask-image: radial-gradient(white, black);
|
|
56
|
+
&::after {
|
|
57
|
+
@apply absolute top-0 bottom-0 left-0 right-0;
|
|
58
|
+
animation: wave 2s linear 0.5s infinite;
|
|
59
|
+
background: linear-gradient(
|
|
60
|
+
90deg,
|
|
61
|
+
transparent,
|
|
62
|
+
rgba(0, 0, 0, 0.05),
|
|
63
|
+
transparent
|
|
64
|
+
);
|
|
65
|
+
content: '';
|
|
66
|
+
transform: translateX(-100%);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
> :not(.ds-skeleton__line) {
|
|
70
|
+
@apply invisible;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
@keyframes wave {
|
|
75
|
+
0% {
|
|
76
|
+
transform: translateX(-100%);
|
|
77
|
+
}
|
|
78
|
+
50% {
|
|
79
|
+
transform: translateX(100%);
|
|
80
|
+
}
|
|
81
|
+
100% {
|
|
82
|
+
transform: translateX(100%);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
@@ -10,6 +10,16 @@
|
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
.ds-summary-list--no-last-border {
|
|
16
|
+
.ds-summary-list__row:last-child {
|
|
17
|
+
.ds-summary-list__key, .ds-summary-list__value, .ds-summary-list__actions {
|
|
18
|
+
@apply border-b-0;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
13
23
|
.ds-summary-list__row {
|
|
14
24
|
@apply block sm:flex
|
|
15
25
|
pb-4 mb-4 border-b border-solid border-base-300
|
package/src/components/table.css
CHANGED
|
@@ -151,6 +151,11 @@
|
|
|
151
151
|
content: attr(data-label);
|
|
152
152
|
}
|
|
153
153
|
}
|
|
154
|
+
.ds-table__cell {
|
|
155
|
+
.ds-body:last-child {
|
|
156
|
+
@apply mb-0;
|
|
157
|
+
}
|
|
158
|
+
}
|
|
154
159
|
}
|
|
155
160
|
.ds-table-sort__icons-container {
|
|
156
161
|
@apply flex flex-col;
|
|
@@ -258,9 +263,6 @@
|
|
|
258
263
|
}
|
|
259
264
|
}
|
|
260
265
|
.ds-table__header {
|
|
261
|
-
.ds-dropdown__content {
|
|
262
|
-
@apply py-0;
|
|
263
|
-
}
|
|
264
266
|
.ds-dropdown__button:not(:focus) {
|
|
265
267
|
@apply no-underline font-bold text-base-content !important;
|
|
266
268
|
}
|
package/tailwind.config.js
CHANGED
|
@@ -1,160 +0,0 @@
|
|
|
1
|
-
import Head from 'next/head';
|
|
2
|
-
import Image from 'next/image';
|
|
3
|
-
|
|
4
|
-
export default function Home() {
|
|
5
|
-
return (
|
|
6
|
-
<div>
|
|
7
|
-
<header className="ds-admin-header" role="banner" data-module="ds-header">
|
|
8
|
-
<div className="ds-admin-header__container">
|
|
9
|
-
<img className="ds-header-logo" src="https://www.gov.gr/gov_gr_logo.svg" alt="gov.gr logo" />
|
|
10
|
-
</div>
|
|
11
|
-
</header>
|
|
12
|
-
<div className="ds-admin-wrapper">
|
|
13
|
-
<div className="ds-admin-width-container">
|
|
14
|
-
<div className="ds-admin-main-wrapper">
|
|
15
|
-
<div className="ds-grid__col-span-12">
|
|
16
|
-
<h1 className="ds-heading-xl">Αναζήτηση μεταφραστή</h1>
|
|
17
|
-
<div className="ds-field">
|
|
18
|
-
<label className="ds-label"> Αναζήτηση με λέξη-κλειδί </label>
|
|
19
|
-
<div className="ds-search">
|
|
20
|
-
<input className="ds-input" type="text" id="business-name" name="business-name" />
|
|
21
|
-
<button className="ds-btn ds-input__search-btn">
|
|
22
|
-
<svg className="ds-svg-icon--search" focusable="false" viewBox="0 0 24 24" aria-hidden="true" >
|
|
23
|
-
<path d="M22,19.9l-5.4-5.4c0.9-1.3,1.4-2.8,1.4-4.5c0-4.4-3.6-8-8-8s-8,3.6-8,8s3.6,8,8,8c1.7,0,3.2-0.5,4.5-1.4l5.4,5.4L22,19.9z M10,15c-2.8,0-5-2.2-5-5s2.2-5,5-5s5,2.2,5,5S12.8,15,10,15z" />
|
|
24
|
-
</svg>
|
|
25
|
-
</button>
|
|
26
|
-
</div>
|
|
27
|
-
</div>
|
|
28
|
-
</div>
|
|
29
|
-
<aside className="ds-admin-side-content">
|
|
30
|
-
<div className="ds-filter">
|
|
31
|
-
<div className="ds-filter__heading">
|
|
32
|
-
<a className="ds-link ds-close-btn" href="#">
|
|
33
|
-
Κλείσιμο
|
|
34
|
-
<svg class="ds-svg-icon--close" focusable="true" viewBox="0 0 24 24" aria-hidden="true" > <polygon points="14.4,11.8 22,4.2 19.7,1.8 12,9.4 4.4,1.8 2,4.2 9.7,11.9 2.1,19.5 4.4,21.9 12.1,14.3 19.7,21.9 22.1,19.5 " /></svg>
|
|
35
|
-
</a>
|
|
36
|
-
<h3 className="ds-heading-md">Φίλτρα</h3>
|
|
37
|
-
</div>
|
|
38
|
-
<div className="ds-filter__content">
|
|
39
|
-
{/* <div className="ds-filter__selected">
|
|
40
|
-
<div className="ds-filter__selected-heading">
|
|
41
|
-
<h3 className="ds-heading-sm">Επιλεγμένα φίλτρα</h3>
|
|
42
|
-
</div>
|
|
43
|
-
<p className="ds-hint-sm"> Δεν έχει επιλεχθεί κάποιο φίλτρο. </p>
|
|
44
|
-
<p className="ds-hint-sm"> Για να προσθέσετε φίλτρο, επιλέξτε τουλάχιστον μία από τις παρακάτω επιλογές και πατήστε το κουμπί "Αναζήτηση".</p>
|
|
45
|
-
</div> */}
|
|
46
|
-
<div className="ds-filter__selected">
|
|
47
|
-
<div className="ds-filter__selected-heading">
|
|
48
|
-
<h3 className="ds-heading-sm">Επιλεγμένα φίλτρα</h3>
|
|
49
|
-
<a className="ds-link" href="#"> Καθαρισμός</a>
|
|
50
|
-
</div>
|
|
51
|
-
<h4 className="ds-chip--heading">Περιοχή</h4>
|
|
52
|
-
<ul className="ds-chips">
|
|
53
|
-
<li><a className="ds-chip" href="#">Άλιμος
|
|
54
|
-
<svg className="ds-svg-icon--close" focusable="true" viewBox="0 0 24 24" aria-hidden="true" > <polygon points="14.4,11.8 22,4.2 19.7,1.8 12,9.4 4.4,1.8 2,4.2 9.7,11.9 2.1,19.5 4.4,21.9 12.1,14.3 19.7,21.9 22.1,19.5 " /></svg>
|
|
55
|
-
</a></li>
|
|
56
|
-
<li><a className="ds-chip" href="#">Πετρούπολη <div className="ds-chip--x-icon">
|
|
57
|
-
<svg className="ds-svg-icon--close" focusable="true" viewBox="0 0 24 24" aria-hidden="true" > <polygon points="14.4,11.8 22,4.2 19.7,1.8 12,9.4 4.4,1.8 2,4.2 9.7,11.9 2.1,19.5 4.4,21.9 12.1,14.3 19.7,21.9 22.1,19.5 " /></svg>
|
|
58
|
-
</div> </a></li>
|
|
59
|
-
<li><a className="ds-chip" href="#">Δροσιά <div className="ds-chip--x-icon">
|
|
60
|
-
<svg className="ds-svg-icon--close" focusable="true" viewBox="0 0 24 24" aria-hidden="true" > <polygon points="14.4,11.8 22,4.2 19.7,1.8 12,9.4 4.4,1.8 2,4.2 9.7,11.9 2.1,19.5 4.4,21.9 12.1,14.3 19.7,21.9 22.1,19.5 " /></svg>
|
|
61
|
-
</div> </a></li>
|
|
62
|
-
</ul>
|
|
63
|
-
</div>
|
|
64
|
-
<div className="ds-filter__options">
|
|
65
|
-
<div className="ds-field">
|
|
66
|
-
<label className="ds-heading-sm ds-label" for="business-name">Αναζήτηση λέξης</label>
|
|
67
|
-
<input className="ds-input" type="text" id="business-name" name="business-name" />
|
|
68
|
-
</div>
|
|
69
|
-
<div className="ds-field">
|
|
70
|
-
<label className="ds-heading-sm ds-label" for="select-list">Περιοχή</label>
|
|
71
|
-
<select className="ds-select" id="select-list" name="select-list">
|
|
72
|
-
<option value="popular" selected>France</option>
|
|
73
|
-
<option value="recently" selected>Άγιος Δημήτριος</option>
|
|
74
|
-
<option value="three" selected>Άλιμος</option>
|
|
75
|
-
<option value="four">Άνω Ελευσίνα</option>
|
|
76
|
-
</select>
|
|
77
|
-
</div>
|
|
78
|
-
<div className="ds-field">
|
|
79
|
-
<fieldset className="ds-fieldset" aria-describedby="checkboxhint">
|
|
80
|
-
<legend className="ds-heading-sm ds-fieldset__legend">Γλώσσα</legend>
|
|
81
|
-
<div className="ds-checkboxes">
|
|
82
|
-
<div className="ds-checkboxes__item">
|
|
83
|
-
<input className="ds-checkboxes__input" type="checkbox" id="runny-nose" name="runny-nose" value="runny-nose" />
|
|
84
|
-
<label className="ds-label ds-checkboxes__label" for="runny-nose">Ελληνικά
|
|
85
|
-
</label>
|
|
86
|
-
</div>
|
|
87
|
-
<div className="ds-checkboxes__item">
|
|
88
|
-
<input className="ds-checkboxes__input" type="checkbox" id="fever" name="fever" value="fever" />
|
|
89
|
-
<label className="ds-label ds-checkboxes__label" for="fever">Αγγλικά <br />
|
|
90
|
-
</label>
|
|
91
|
-
</div>
|
|
92
|
-
<div className="ds-checkboxes__item">
|
|
93
|
-
<input className="ds-checkboxes__input" type="checkbox" id="tiredness" name="tiredness" value="tiredness" />
|
|
94
|
-
<label className="ds-label ds-checkboxes__label" for="tiredness">Γαλλικά <br />
|
|
95
|
-
</label>
|
|
96
|
-
</div>
|
|
97
|
-
</div>
|
|
98
|
-
</fieldset>
|
|
99
|
-
</div>
|
|
100
|
-
<button className="ds-btn ds-btn-primary">Αναζήτηση</button>
|
|
101
|
-
</div>
|
|
102
|
-
</div>
|
|
103
|
-
</div>
|
|
104
|
-
</aside>
|
|
105
|
-
<main className="ds-admin-main-content">
|
|
106
|
-
<div className="ds-results-heading">
|
|
107
|
-
<h3 className="ds-heading-md">146 Αποτελέσματα</h3>
|
|
108
|
-
<div className="ds-results-heading__actions">
|
|
109
|
-
<a className="ds-link" href="#"> Εξαγωγή δεδομένων</a>
|
|
110
|
-
<a className="ds-link ds-link-filters" href="#"> Φίλτρα</a>
|
|
111
|
-
</div>
|
|
112
|
-
</div>
|
|
113
|
-
<hr className="ds-section-break ds-section-break--visible ds-section-break--md" />
|
|
114
|
-
<div className="ds-results-action-bar">
|
|
115
|
-
<div className="ds-field">
|
|
116
|
-
<label className="ds-label" for="select-list2"> Ταξινόμηση: </label>
|
|
117
|
-
<select className="ds-select" id="select-list2" name="select-list2">
|
|
118
|
-
<option value="popular" selected>Δημοφιλή</option>
|
|
119
|
-
<option value="recently">Πρόσφατα</option>
|
|
120
|
-
</select>
|
|
121
|
-
</div>
|
|
122
|
-
<div className="ds-field">
|
|
123
|
-
<label className="ds-label" for="select-list2"> Σελίδες ανά σελίδα: </label>
|
|
124
|
-
<select className="ds-select" id="select-list3" name="select-list3">
|
|
125
|
-
<option value="popular" selected>12</option>
|
|
126
|
-
<option value="recently">24</option>
|
|
127
|
-
<option value="recently">48</option>
|
|
128
|
-
</select>
|
|
129
|
-
</div>
|
|
130
|
-
</div>
|
|
131
|
-
<div className="ds-grid ds-grid__gap-4">
|
|
132
|
-
<div className="ds-card ds-grid__col-span-12">
|
|
133
|
-
<div className="ds-card__body">
|
|
134
|
-
<div role="heading" aria-level="2" className="ds-card__heading">This is a Card</div>
|
|
135
|
-
<div className="ds-card__content">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
|
|
136
|
-
</div>
|
|
137
|
-
</div>
|
|
138
|
-
</div>
|
|
139
|
-
<div className="ds-card ds-grid__col-span-12">
|
|
140
|
-
<div className="ds-card__body">
|
|
141
|
-
<div role="heading" aria-level="2" className="ds-card__heading">This is a Card</div>
|
|
142
|
-
<div className="ds-card__content">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Lorem ipsum dolor sit amet.
|
|
143
|
-
</div>
|
|
144
|
-
</div>
|
|
145
|
-
</div>
|
|
146
|
-
<div className="ds-card ds-grid__col-span-12">
|
|
147
|
-
<div className="ds-card__body">
|
|
148
|
-
<div role="heading" aria-level="2" className="ds-card__heading">This is a Card</div>
|
|
149
|
-
<div className="ds-card__content">Lorem ipsum dolor sit amet.
|
|
150
|
-
</div>
|
|
151
|
-
</div>
|
|
152
|
-
</div>
|
|
153
|
-
</div>
|
|
154
|
-
</main>
|
|
155
|
-
</div>
|
|
156
|
-
</div>
|
|
157
|
-
</div>
|
|
158
|
-
</div>
|
|
159
|
-
);
|
|
160
|
-
}
|