mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-10 17:21:38 -05:00
77 lines
1.3 KiB
CSS
77 lines
1.3 KiB
CSS
@tailwind base;
|
|
@tailwind components;
|
|
@tailwind utilities;
|
|
@tailwind daisyui;
|
|
|
|
/*
|
|
|
|
@layer components {
|
|
.btn-primary {
|
|
@apply py-2 px-4 bg-blue-200;
|
|
}
|
|
}
|
|
|
|
*/
|
|
@import 'actiontext.css';
|
|
|
|
@layer components {
|
|
.fade-out {
|
|
opacity: 0;
|
|
transition: opacity 150ms ease-in-out;
|
|
}
|
|
}
|
|
|
|
/* Leaflet Panel Styles */
|
|
.leaflet-right-panel {
|
|
margin-top: 80px; /* Give space for controls above */
|
|
margin-right: 10px;
|
|
transform: none;
|
|
transition: right 0.3s ease-in-out;
|
|
z-index: 400;
|
|
background: white;
|
|
border-radius: 4px;
|
|
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.leaflet-right-panel.controls-shifted {
|
|
right: 310px;
|
|
}
|
|
|
|
.leaflet-control-button {
|
|
background-color: white !important;
|
|
color: #374151 !important;
|
|
}
|
|
|
|
.leaflet-control-button:hover {
|
|
background-color: #f3f4f6 !important;
|
|
}
|
|
|
|
/* Drawer Panel Styles */
|
|
.leaflet-drawer {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
width: 338px;
|
|
height: 100%;
|
|
background: rgba(255, 255, 255, 0.5);
|
|
transform: translateX(100%);
|
|
transition: transform 0.3s ease-in-out;
|
|
z-index: 450;
|
|
box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.leaflet-drawer.open {
|
|
transform: translateX(0);
|
|
}
|
|
|
|
/* Controls transition */
|
|
.leaflet-control-layers,
|
|
.leaflet-control-button,
|
|
.toggle-panel-button {
|
|
transition: right 0.3s ease-in-out;
|
|
z-index: 500;
|
|
}
|
|
|
|
.controls-shifted {
|
|
right: 338px !important;
|
|
}
|