source: imaps-frontend/src/pages/BrowseMaps/Maps.module.css@ 79a0317

main
Last change on this file since 79a0317 was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 3 days ago

F4 Finalna Verzija

  • Property mode set to 100644
File size: 1.7 KB
Line 
1
2
3.container {
4 max-width: 1200px;
5 margin: 0 auto;
6 padding: 20px;
7 text-align: center;
8}
9
10h1 {
11 font-family: exo, sans-serif;
12 font-size: 2.5rem;
13 color: #0f71da;
14 margin-bottom: 20px;
15}
16
17/* Search Bar */
18.searchBar {
19 margin-bottom: 30px;
20 text-align: center;
21 margin-top: 5em;
22}
23
24.searchBar input {
25 /*width: 300px;*/
26 width: 33vw;
27 padding: 10px;
28 font-size: 16px;
29 border: 1px solid #ccc;
30 border-radius: 5px;
31 outline: none;
32 transition: all 0.3s ease;
33}
34
35.searchBar input:focus {
36 border-color: #1e90ff;
37 box-shadow: 0 0 8px rgba(30, 144, 255, 0.5);
38}
39
40.filterBar{
41 margin-left: 6vw;
42}
43
44/* Tile Styles */
45.tile {
46 background: #fff;
47 width: 100%;
48 display: flex;
49 flex-direction: column;
50 align-items: center;
51 justify-content: center;
52 color: #2c3e50;
53 background-color: #f7f9fc;
54 box-shadow: rgba(0, 0, 0, 0.1) 0px 5px 15px;
55 transition: all 300ms ease-in-out;
56 padding: 10px;
57 border: 1px solid #dcdcdc;
58 border-radius: 12px;
59 margin-bottom: 20px;
60}
61
62.tile:hover {
63 transform: scale(1.05);
64 box-shadow: rgba(0, 0, 0, 0.15) 0px 8px 18px;
65}
66
67.imgStyle {
68 width: 80%;
69 margin-top: 10px;
70 margin-bottom: 5px;
71}
72
73.favorite{
74 position: absolute;
75 top: 20px;
76 right: 20px;
77 cursor: pointer;
78}
79
80/* When dragging a tile */
81.dragging {
82 background-color: #1e90ff;
83 transform: scale(1.06) rotate(3deg);
84 box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px,
85 rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
86}
87
88/* Link Style */
89.linkStyle {
90 text-decoration: none;
91 color: inherit;
92}
93
94/* Media Query for smaller screens */
95@media (max-width: 768px) {
96 .searchBar input {
97 width: 100%;
98 }
99
100 .tile {
101 width: 100%;
102 height: auto;
103 }
104}
Note: See TracBrowser for help on using the repository browser.