aboutsummaryrefslogtreecommitdiffstats
path: root/src/styles/layout.scss
blob: d87df2684ec98d593031bf88b7d128c48642c2d0 (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
131
132
133
134
135
136
137
138
139
140
141
@import './config.scss';

html {
  overflow: hidden;
}

.app {
  display: flex;
  flex-direction: row;

  .app__service {
    display: flex;
    flex: 1;
    flex-direction: column;
  }
}

.window-draggable {
  position: absolute;
  width: 100%;
  top: 0px;
  left: 0px;
  height: 35px;
  pointer-events: none;
  -webkit-app-region: drag;
  z-index: 9999;
}

.darwin {
  .sidebar {
    padding-top: 23px;
  }
}

.sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: $theme-sidebar-width;
  background: $theme-gray-lightest;
  box-shadow: 1px 0 10px rgba(0,0,0,0.08);
  z-index: 200;
  text-align: center;
  color: $theme-text-color;

  .sidebar__add-service {
    width: 32px;
    height: 32px;
    background: $theme-gray-lighter;
    border-radius: $theme-border-radius-small;
    margin: 10px auto;
    color: $theme-gray-light;
  }

  .sidebar__settings-button {
    height: auto;
    padding: 20px 0;
    font-size: 12px;
    position: relative;

    .emoji {
      position: absolute;
      top: 18px;
      right: 12px;

      img {
        width: 18px;
      }
    }
  }

  .sidebar__logo {
    width: 40px;
    height: auto;
  }

  & > div {
    display: flex;
    overflow-y: scroll;

    &::-webkit-scrollbar {
      display: none;
    }
  }
}

.grid {
  .grid__row {
    display: flex;
    flex-direction: row;

    &>* {
      margin-right: 20px;
    }

    & :last-child {
      margin-right: 0;
    }
  }
}

.app-loader {
  display: flex;
  justify-content: center;
  align-items: center;

  .app-loader__title {
    color: #FFF;
    font-size: 40px;
  }

  &>span {
    height: auto;
  }
}

.dev-warning {
  display: none;
}

.isDevMode {
  .dev-warning {
    display: block;
    position: fixed;
    background: $theme-brand-warning;
    width: auto;
    height: auto;
    top: 5px;
    right: 5px;
    padding: 4px;
    font-size: 10px;
    color: #FFF;
    z-index: 999999999;
    border-radius: 3px;
    transition: opacity 0.5s ease;

    &:hover {
      opacity: 0;
    }
  }
}