source: imaps-frontend/src/components/FilterBar/FilterBar.module.css

main
Last change on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago

Update repo after prototype presentation

  • Property mode set to 100644
File size: 1.1 KB
Line 
1/* FilterBar.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}
21
22.buttonValue {
23 border: 2px solid #6759ff;
24 padding: 0.5em 1.5em;
25 border-radius: 3em;
26 background-color: transparent;
27 color: #6759ff;
28 cursor: pointer;
29 transition: background-color 0.3s, color 0.3s;
30 white-space: nowrap; /* Ensures the text does not wrap */
31}
32
33.buttonValue:hover,
34.buttonValue:focus {
35 background-color: #6759ff;
36 color: #ffffff;
37}
38
39.active {
40 background-color: #6759ff;
41 color: #ffffff;
42}
43
44.scrollableContainer::-webkit-scrollbar {
45 height: 6px;
46}
47
48.scrollableContainer::-webkit-scrollbar-thumb {
49 background-color: #6759ff;
50 border-radius: 3px;
51}
Note: See TracBrowser for help on using the repository browser.