about summary refs log tree commit diff
path: root/app/assets/stylesheets/dashboard.scss
blob: 05d4959884e38dc298fd3ff87ab28d7540c93bd0 (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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
.dashboard-wrapper {
  background: #282c37;
  border-radius: 4px;
  margin: 20px auto;
  width: 940px;
  display: flex;

  .dashboard__sidebar {
    width: 240px;
    border-radius: 4px 0 0 4px;

    .dashboard__top-bar {
      border-radius: 4px 0 0 0;
    }

    ul {
      padding: 20px 0;

      a {
        display: block;
        padding: 7px 20px;
        color: #d9e1e8;
        text-decoration: none;
        font-size: 14px;
        font-weight: 400;

        .fa {
          display: inline-block;
          width: 18px;
          text-align: center;
          margin-right: 5px;
        }
      }

      .active {
        a {
          background: darken(#282c37, 5%);
          border-left: 2px solid #2b90d9;
          padding-left: 18px;
        }
      }
    }
  }

  .dashboard__current-user {
    padding: 20px;

    a {
      text-decoration: none;
      color: inherit;
    }

    .dashboard__current-user__avatar {
      display: block;
      width: 50px;
      height: 50px;
      border-radius: 50px;
      float: left;
      margin-right: 15px;
    }

    .dashboard__current-user__display-name {
      font-weight: 500;
      font-size: 13px;
      color: #d9e1e8;
      display: block;
      margin-top: 5px;
    }

    .dashboard__current-user__username {
      font-size: 12px;
      display: block;
      color: #2b90d9;
    }
  }

  .dashboard__logo {
    color: #2b90d9;

    span {
      font-weight: 500;
    }
  }

  .dashboard__top-bar {
    background: #fff;
    padding: 20px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #d9e1e8;
    color: #282c37;
    font-size: 16px;
    overflow: hidden;

    &.alternate {
      background: lighten(#282c37, 10%);
      border-bottom: 1px solid lighten(#282c37, 10%);
      text-align: center;
    }

    ul {
      float: right;
      list-style: none;
      display: block;

      li {
        display: inline-block;
      }
    }

    a {
      color: #9baec8;
      text-decoration: none;
    }
  }

  .dashboard__content {
    flex: 1;
    background: #d9e1e8;
    border-radius: 0 4px 4px 0;

    .dashboard__content__content {
      //padding: 20px;
    }

    .dashboard__top-bar {
      border-radius: 0 4px 0 0;
    }
  }

}