dashboard.css 914 Bytes
Newer Older
Mark Otto's avatar
Mark Otto committed
1
2
3
4
/*
 * Base structure
 */

5
/* Move down content because we have a fixed navbar that is 3.5rem tall */
Mark Otto's avatar
Mark Otto committed
6
body {
7
  padding-top: 3.5rem;
Mark Otto's avatar
Mark Otto committed
8
9
10
}

/*
11
 * Typography
Mark Otto's avatar
Mark Otto committed
12
13
 */

14
15
16
h1 {
  margin-bottom: 20px;
  padding-bottom: 9px;
Mark Otto's avatar
Mark Otto committed
17
18
19
20
21
22
23
24
  border-bottom: 1px solid #eee;
}

/*
 * Sidebar
 */

.sidebar {
25
26
27
28
29
30
31
32
33
  position: fixed;
  top: 51px;
  bottom: 0;
  left: 0;
  z-index: 1000;
  padding: 20px;
  overflow-x: hidden;
  overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
  border-right: 1px solid #eee;
Mark Otto's avatar
Mark Otto committed
34
35
36
}

/* Sidebar navigation */
37
38
39
.sidebar {
  padding-left: 0;
  padding-right: 0;
Mark Otto's avatar
Mark Otto committed
40
41
}

42
43
44
.sidebar .nav {
  margin-bottom: 20px;
}
Mark Otto's avatar
Mark Otto committed
45

46
47
.sidebar .nav-item {
  width: 100%;
Mark Otto's avatar
Mark Otto committed
48
}
49
50
51

.sidebar .nav-item + .nav-item {
  margin-left: 0;
Mark Otto's avatar
Mark Otto committed
52
53
}

54
55
56
.sidebar .nav-link {
  border-radius: 0;
}
Mark Otto's avatar
Mark Otto committed
57
58

/*
59
 * Dashboard
Mark Otto's avatar
Mark Otto committed
60
61
 */

62
 /* Placeholders */
Mark Otto's avatar
Mark Otto committed
63
.placeholders {
64
  padding-bottom: 3rem;
Mark Otto's avatar
Mark Otto committed
65
}
66

Mark Otto's avatar
Mark Otto committed
67
.placeholder img {
68
69
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
Mark Otto's avatar
Mark Otto committed
70
}