main
Last change
on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 7 weeks ago |
F4 Finalna Verzija
|
-
Property mode
set to
100644
|
File size:
1.2 KB
|
Line | |
---|
1 | /* FilterMaps.module.css */
|
---|
2 | * {
|
---|
3 | font-family: "Poppins", sans-serif;
|
---|
4 | }
|
---|
5 |
|
---|
6 | .wrapper {
|
---|
7 | display: flex;
|
---|
8 | justify-content: center; /* Centers the scrollable container */
|
---|
9 | width: 100%; /* Ensures the container takes full width */
|
---|
10 | overflow-x: hidden; /* Prevents the wrapper from overflowing */
|
---|
11 | }
|
---|
12 |
|
---|
13 | .scrollableContainer {
|
---|
14 | display: flex;
|
---|
15 | gap: 10px;
|
---|
16 | overflow-x: auto; /* Allows horizontal scrolling */
|
---|
17 | white-space: nowrap; /* Prevents buttons from wrapping */
|
---|
18 | padding: 0px 0; /* Adds some space around the buttons */
|
---|
19 | width: 100%;
|
---|
20 | overflow-y: hidden;
|
---|
21 | }
|
---|
22 |
|
---|
23 | .buttonValue {
|
---|
24 | border: 2px solid rgb(37,111,123);
|
---|
25 | padding: 0.5em 1.5em;
|
---|
26 | border-radius: 3em;
|
---|
27 | background-color: transparent;
|
---|
28 | color: rgb(37,111,123);
|
---|
29 | cursor: pointer;
|
---|
30 | transition: background-color 0.3s, color 0.3s;
|
---|
31 | white-space: nowrap; /* Ensures the text does not wrap */
|
---|
32 | }
|
---|
33 |
|
---|
34 | .buttonValue:hover,
|
---|
35 | .buttonValue:focus {
|
---|
36 | background-color: rgb(33, 98, 108);
|
---|
37 | color: #ffffff;
|
---|
38 | }
|
---|
39 |
|
---|
40 | .active {
|
---|
41 | background-color: rgb(37,111,123);
|
---|
42 | color: #ffffff;
|
---|
43 | }
|
---|
44 |
|
---|
45 | .scrollableContainer::-webkit-scrollbar {
|
---|
46 | height: 6px;
|
---|
47 | }
|
---|
48 |
|
---|
49 | .scrollableContainer::-webkit-scrollbar-thumb {
|
---|
50 | background-color: rgb(37,111,123);
|
---|
51 | border-radius: 3px;
|
---|
52 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.