about summary refs log tree commit diff
path: root/app/assets/stylesheets/admin.scss
blob: 6e4234d13dc8d49cccf7d6cc6f660e5cfe7299b6 (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
.admin-wrapper {
  width: 100%;
  height: 100%;
  position: fixed;
  background: #1a1c23;
  overflow-y: scroll;

  .sidebar {
    width: 240px;
    position: fixed;
    left: 0;
    height: 100%;
    background: #282c37;

    .logo {
      display: block;
      margin: 40px auto;
      width: 100px;
      height: 100px;
    }

    ul {
      list-style: none;

      a {
        display: block;
        padding: 15px 25px;
        color: rgba(255, 255, 255, 0.7);
        text-decoration: none;
        transition: all 200ms linear;

        i.fa {
          margin-right: 5px;
        }

        &:hover {
          color: #fff;
          background-color: darken(#282c37, 5%);
          transition: all 100ms linear;
        }

        &.selected {
          color: #fff;
          background-color: #2b90d9;

          &:hover {
            background-color: lighten(#2b90d9, 5%);
          }
        }
      }
    }
  }

  .content {
    margin-left: 240px;
    padding: 15px;
  }
}

.filters {
  display: flex;
  margin-bottom: 20px;
  padding-left: 8px;

  .filter-subset {
    flex: 0 0 auto;
    margin-right: 40px;

    ul {
      margin-top: 5px;
      list-style: none;

      li {
        display: inline-block;
        margin-right: 5px;
      }
    }

    strong {
      font-weight: 500;
      text-transform: uppercase;
      font-size: 12px;
    }

    a {
      display: inline-block;
      color: rgba(255, 255, 255, 0.7);
      text-decoration: none;
      text-transform: uppercase;
      font-size: 12px;
      font-weight: 500;
      border-bottom: 2px solid #282c37;

      &:hover {
        color: #fff;
        border-bottom: 2px solid lighten(#282c37, 5%);
      }

      &.selected {
        color: #2b90d9;
        border-bottom: 2px solid #2b90d9;
      }
    }
  }
}