aboutsummaryrefslogtreecommitdiffstats
path: root/frontend/src/App.css
blob: 773e1141f36f6b0b50c69021a44c3493487e6ee5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
/* Resets and Base Styles */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

/* Dashboard Layout */
.dashboard {
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
  /* Prevent body scroll */
}

/* Header styles removed as we moved to sidebar navigation */

.dashboard-content {
  display: flex;
  flex: 1;
  overflow: hidden;
  position: relative;
}

.dashboard-sidebar {
  width: 11rem;
  background: var(--sidebar-bg);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transition: margin-left 0.4s ease;
  /* No padding here, handled in FeedList */
}

.dashboard-sidebar.hidden {
  margin-left: -11rem;
}

.dashboard-main {
  flex: 1;
  padding: 2rem;
  overflow-y: auto;
  background: var(--bg-color);
  margin-left: 0;
}

.dashboard-main>* {
  max-width: 35em;
  margin: 0 auto;
}

.fixed-toggle {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1000;
  background: transparent;
  border: none;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  color: var(--text-color);
  /* Inherit didn't work well if parent is transparent */
}

.fixed-toggle:hover {
  transform: scale(1.1);
}