-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
196 lines (185 loc) · 5.27 KB
/
styles.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
@import 'geonetwork-ui/style.css';
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer components {
.mel-page-title {
@apply text-black text-5xl font-extrabold;
}
.mel-title-line {
@apply inline-flex bg-primary h-1 w-16;
}
.mel-badge {
@apply inline-block bg-white py-1.5 px-2 rounded font-medium text-sm leading-none transition-colors;
}
.mel-badge-primary {
@apply mel-badge text-primary border border-primary;
}
.mel-badge-secondary {
@apply mel-badge text-secondary border border-secondary;
}
.mel-section-title {
@apply text-[28px] font-bold text-title text-center sm:text-left;
}
.mel-paragraph-title {
@apply text-[18px] font-bold text-title sm:text-left;
}
.mel-badge {
@apply inline-block bg-white py-1.5 px-2 rounded font-medium text-sm leading-none transition-colors;
}
.mel-badge-secondary {
@apply mel-badge text-secondary border border-secondary;
}
.mel-badge-gray {
@apply mel-badge text-gray-4 border border-gray-4;
}
.mel-badge-button {
@apply cursor-pointer hover:text-gray-8;
}
.mel-badge-button-primary {
@apply mel-badge-button mel-badge-primary hover:border-primary-dark hover:bg-primary-dark;
}
.mel-badge-button-secondary {
@apply mel-badge-button mel-badge-secondary hover:border-secondary-dark hover:bg-secondary-dark;
}
.mel-badge-button-gray {
@apply mel-badge-button mel-badge-gray hover:border-gray-2 hover:bg-gray-2;
}
.mel-container-lg {
@apply max-w-[1320px] mx-auto px-4;
}
.mel-grid-container-dataset {
@apply grid gap-8 grid-cols-1 md:grid-cols-12 mx-2 sm:ml-24 md:mr-0 sm:gap-6;
}
.mel-card {
@apply bg-gray-8 flex flex-col justify-between rounded-lg border border-gray-6 filter cursor-pointer hover:drop-shadow-lg;
}
.mel-primary-button {
@apply h-11 flex justify-center items-center gap-2 text-white text-[15px] font-extrabold leading-[18px] py-2 px-[18px] rounded border bg-primary hover:bg-primary-dark;
}
.mel-primary-button:disabled {
@apply bg-primary-light;
}
.mel-secondary-button {
@apply flex justify-center items-center gap-2 text-white text-[12px] font-normal leading-[14px] px-3 py-1 rounded-3xl border bg-gray-4 hover:bg-gray-2;
}
.mel-secondary-button:disabled {
@apply bg-gray-7;
}
.smaller-icon {
@apply w-4 h-4;
}
.mel-carousel-step-dot {
@apply w-3 h-3 rounded-full border border-gray-1 bg-transparent;
}
.mel-social-media-button {
@apply inline-flex items-center justify-center w-10 h-10 bg-primary rounded-full cursor-pointer hover:bg-primary-dark;
}
.mel-fuzzy-search {
@apply w-[309px] text-[17px] pointer-events-auto;
}
.card-icon {
@apply text-primary group-hover:text-primary-dark transition-colors transition-opacity;
}
.card-label {
@apply group-hover:bg-primary-dark group-hover:border-white group-hover:text-white transition-colors;
}
.pagination-btn {
@apply border-none bg-transparent mr-8 text-sm;
}
.pagination-btn:disabled {
@apply border-none bg-transparent text-primary opacity-100;
}
.pagination-btn-nav {
@apply border-none bg-transparent text-primary opacity-100 text-sm;
}
.pagination-btn-nav:disabled {
@apply text-black;
}
.pagination-btn-arrow {
@apply scale-[2] font-extralight;
}
.mel-simple-button {
@apply font-semibold;
}
.mel-simple-button:hover {
@apply text-primary-dark;
}
}
html,
body {
height: 100%;
}
.tippy-box[data-theme~='data-platform'] {
background-color: rgba(0, 0, 0, 0);
}
.tippy-box[data-theme~='data-platform'][data-placement^='bottom']
> .tippy-arrow::before {
border-bottom-color: rgba(0, 0, 0, 0);
}
.tippy-box[data-theme~='data-platform'][data-placement^='top']
.tippy-arrow::before {
border-top-color: rgba(0, 0, 0, 0);
}
.tippy-box[data-theme~='data-platform'][data-placement^='left']
.tippy-arrow::before {
border-left-color: rgba(0, 0, 0, 0);
}
.tippy-box[data-theme~='data-platform'][data-placement^='right']
.tippy-arrow::before {
border-right-color: rgba(0, 0, 0, 0);
}
.tippy-box a {
@apply text-primary;
text-decoration: underline;
}
.tippy-box a:hover {
@apply text-primary-dark;
}
input[type='checkbox'] {
accent-color: var(--color-primary);
}
.mat-mdc-tab-labels {
@apply flex flex-row gap-1 ml-2.5;
}
.mat-mdc-tab.mdc-tab {
border-top: 1px solid #cccdd2;
border-left: 1px solid #cccdd2;
border-right: 1px solid #cccdd2;
border-radius: 3px 3px 0 0;
background-color: #cccdd2;
font-family: 'Lato';
font-weight: bold;
letter-spacing: normal;
color: black;
}
.mat-mdc-tab.mdc-tab--active {
@apply bg-white;
}
.mdc-tab__text-label {
@apply text-black !important;
}
.mat-mdc-tab-body {
@apply border border-gray-6 rounded bg-white;
}
.mdc-tab-indicator__content {
@apply hidden;
}
.mat-mdc-tab:not(.mdc-tab--stacked) {
@apply h-9 !important;
}
/* TO REMOVE once the component is extended */
gn-ui-copy-text-button div input {
@apply bg-white rounded-l !important;
}
gn-ui-copy-text-button div button {
@apply rounded-r !important;
}
gn-ui-copy-text-button div textarea {
@apply bg-white rounded-l !important;
}
/** No margin for first markdown child/heading, that cannot be detected by getBoundingClientRect()
=> can be removed after next gn-ui update **/
.markdown-body :first-child {
margin-top: 0 !important;
}