dawarich/app/assets/stylesheets/application.tailwind.css

78 lines
1.3 KiB
CSS
Raw Normal View History

@tailwind base;
@tailwind components;
@tailwind utilities;
@tailwind daisyui;
/*
@layer components {
.btn-primary {
@apply py-2 px-4 bg-blue-200;
}
}
*/
2024-12-11 08:21:44 -05:00
@import 'actiontext.css';
@layer components {
.fade-out {
opacity: 0;
transition: opacity 150ms ease-in-out;
}
}
2025-03-02 15:24:57 -05:00
/* 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: 320px;
2025-03-02 15:24:57 -05:00
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: 320px !important;
2025-03-02 15:24:57 -05:00
}