aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/app/components/PullToRefresh.css
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/app/components/PullToRefresh.css')
-rw-r--r--src/frontend/app/components/PullToRefresh.css64
1 files changed, 64 insertions, 0 deletions
diff --git a/src/frontend/app/components/PullToRefresh.css b/src/frontend/app/components/PullToRefresh.css
index e69de29..d4946d2 100644
--- a/src/frontend/app/components/PullToRefresh.css
+++ b/src/frontend/app/components/PullToRefresh.css
@@ -0,0 +1,64 @@
+.pull-to-refresh-container {
+ position: relative;
+ width: 100%;
+ height: 100%;
+}
+
+.pull-to-refresh-indicator {
+ position: fixed;
+ top: 20px;
+ left: 50%;
+ transform: translateX(-50%);
+ z-index: 1000;
+ pointer-events: none;
+}
+
+.refresh-icon-container {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ width: 40px;
+ height: 40px;
+ border-radius: 50%;
+ background: var(--surface-color, #f8f9fa);
+ border: 2px solid var(--border-color, #e9ecef);
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
+ transition: all 0.2s ease;
+}
+
+.refresh-icon-container.active {
+ background: var(--primary-color, #007bff);
+ border-color: var(--primary-color, #007bff);
+}
+
+.refresh-icon {
+ width: 20px;
+ height: 20px;
+ color: var(--text-secondary, #6c757d);
+ transition: color 0.2s ease;
+}
+
+.refresh-icon-container.active .refresh-icon {
+ color: white;
+}
+
+.refresh-icon.spinning {
+ animation: spin 1s linear infinite;
+}
+
+@keyframes spin {
+ from {
+ transform: rotate(0deg);
+ }
+ to {
+ transform: rotate(360deg);
+ }
+}
+
+.pull-to-refresh-content {
+ width: 100%;
+ height: 100%;
+ /* Completely normal scrolling */
+ overflow: visible;
+ touch-action: auto;
+}