aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src/app/views/common/common.sass
blob: 32d1d1e9ce4298214676f99fca04cc32f6f5a567 (plain)
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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
.image-cropper-container
  position: relative
  box-sizing: border-box
  user-select: none

.image-cropper-container img
  position: absolute
  left: 0
  top: 0
  width: 100%
  height: 100%

.image-cropper-mask-container
  position: absolute
  left: 0
  top: 0
  right: 0
  bottom: 0
  overflow: hidden

.image-cropper-mask
  position: absolute
  box-shadow: 0 0 0 10000px rgba(255, 255, 255, 80%)
  touch-action: none

.image-cropper-handler
  position: absolute
  width: 26px
  height: 26px
  border: black solid 2px
  border-radius: 50%
  background: white
  touch-action: none

.app-bar
  display: flex
  align-items: center
  height: 56px

  position: fixed
  z-index: 1030
  top: 0
  left: 0
  right: 0

  background-color: var(--tl-primary-color)

  transition: background-color 1s

  a
    color: var(--tl-text-on-primary-inactive-color)
    text-decoration: none
    margin: 0 1em

    &:hover
      color: var(--tl-text-on-primary-color)

    &.active
      color: var(--tl-text-on-primary-color)

.app-bar-brand
  display: flex
  align-items: center

.app-bar-brand-icon
  height: 2em

.app-bar-main-area
  display: flex
  flex-grow: 1

.app-bar-link-area
  display: flex
  align-items: center
  flex-shrink: 0

.app-bar-user-area
  display: flex
  align-items: center
  flex-shrink: 0
  margin-left: auto

.small-screen
  .app-bar-main-area
    position: absolute
    top: 56px
    left: 0
    right: 0

    transform-origin: top
    transition: transform 0.6s, background-color 1s

    background-color: var(--tl-primary-color)

    flex-direction: column

    &.app-bar-collapse
      transform: scale(1,0)

    a
      text-align: left
      padding: 0.5em 0.5em

  .app-bar-link-area
    flex-direction: column
    align-items: stretch

  .app-bar-user-area
    flex-direction: column
    align-items: stretch
    margin-left: unset

  .app-bar-avatar
    align-self: flex-end

.app-bar-toggler
  margin-left: auto
  font-size: 2em
  margin-right: 1em
  color: var(--tl-text-on-primary-color)
  cursor: pointer
  user-select: none

.cru-skeleton
  padding: 0 1em

.cru-skeleton-line
  height: 1em
  background-color: #e6e6e6
  margin: 0.7em 0
  border-radius: 0.2em

  &.last
    width: 50%

.cru-full-page
  position: fixed
  z-index: 1031
  left: 0
  top: 0
  right: 0
  bottom: 0
  background-color: white
  padding-top: 56px

.cru-full-page-top-bar
  height: 56px

  position: absolute
  top: 0
  left: 0
  right: 0
  z-index: 1

  @extend .bg-primary

  display: flex
  align-items: center

.cru-full-page-content-container
  overflow: scroll

.cru-menu
  min-width: 200px

.cru-menu-item
  font-size: 1.2em
  padding: 0.5em 1.5em
  cursor: pointer

  @each $color, $value in $theme-colors
    &.color-#{$color}
      color: $value

      &:hover
        color: white
        background-color: $value

.cru-menu-item-icon
  margin-right: 1em

.cru-menu-divider
  border-top: 1px solid $gray-200

.cru-tab-pages-action-area
  display: flex
  align-items: center

.cru-search-input
  display: flex
  flex-wrap: wrap