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
|
$widget-width: 18vmin
$widget-height: 7vmin
$color1: rgb(200, 50, 50)
$color1-dark: rgb(180, 30, 30)
$color2: white
$font-size1: 4.5vmin
$font-size2: 2.5vmin
$margin: 7px
$border: 4px
body
font-family: 'Noto Sans SC', sans-serif
font-weight: bold
padding: 0px
margin: 0px
#background
position: fixed
width: 100%
height: 100%
background-color: $color1
box-shadow: 0 0 400px rgba(0, 0, 0, 0.6) inset
#start
position: absolute
margin: $margin
left: calc(50% - #{$margin})
top: 50%
transform: translate(-50%, -50%)
text-align: center
background-color: transparent
border-radius: $border
background-color: $color2
box-shadow: 1px 1px 40px rgba(0, 0, 0, 0.8)
@media only screen and (orientation: landscape)
#start
width: 65%
@media only screen and (orientation: portrait)
#start
width: 85%
#title
width: 100%
color: $color2
text-shadow: 1px 1px 40px black
user-select: none
#inputpanel
width: calc(100% - #{2 * $margin})
height: $widget-height
font-size: $font-size1
position: relative
margin: $margin
#matchhistory, #stats
position: absolute
font-size: $font-size2
width: calc(100% - #{2 * $margin})
height: calc(100% - (#{$widget-height} + #{3 * $margin}) - #{2 * $margin})
margin: $margin
top: calc(#{$widget-height} + #{3 * $margin})
background-color: $color2
border-radius: $border
text-align: center
#historyfilters, #statsfilters
position: relative
width: calc(100% - #{2 * $margin})
height: calc(#{3 * $widget-height} + #{2 * $margin})
margin: $margin
#matchlist
width: calc(100% - #{2 * $margin})
height: calc(100% - #{4 * $margin} - 2px - (#{3 * $widget-height} + #{2 * $margin}))
margin: $margin
overflow: auto
hr
margin: 0
select
text-align: center
select:hover
background-color: $color1-dark
select>option
background-color: $color1
input
border: none
outline: none
font-size: inherit
button, select
vertical-align: baseline
width: $widget-width
height: $widget-height
background-color: $color1
color: $color2
border-radius: $border
border: none
outline: none
font-size: inherit
button:hover
background-color: $color1-dark
.bottom-right
position: absolute
right: 0px
bottom: 0px
.championIcon
width: 60px
height: 60px
#regionselect
text-transform: uppercase
position: absolute
left: 0
z-index: 1
#nameinput
text-align: center
border-bottom: 1px solid lightgray
width: calc(100% - #{2 * $widget-width})
height: $widget-height
position: absolute
left: $widget-width
top: 0px
#gobutton, #statsbutton, #historybutton
position: absolute
margin: 0px
top: 0px
right: 0px
z-index: 1
#refreshbutton
position: absolute
right: 0px
bottom: 0px
#champselect
position: absolute
top: 0
left: 0
height: 100%
width: auto
overflow: auto
text-align: left
button.champselect
width: $widget-width / 2
height: $widget-height / 2
@keyframes startup
0%
top: 50%
transform: translate(-50%, -50%)
@media only screen and (orientation: landscape)
width: 65%
@media only screen and (orientation: portrait)
width: 85%
100%
top: 0%
transform: translate(-50%, 0%)
width: calc(100% - #{2 * $margin})
@keyframes startdown
100%
top: 50%
transform: translate(-50%, -50%)
@media only screen and (orientation: landscape)
width: 65%
@media only screen and (orientation: portrait)
width: 85%
0%
top: 0%
transform: translate(-50%, 0%)
width: calc(100% - #{2 * $margin})
#start.slideup
animation: startup 0.3s forwards linear
#start.slidedown
animation: startdown 0.3s forwards linear
#start.up
top: 0
width: calc(100% - #{2 * $margin})
transform: translate(-50%, 0%)
#start.down
top: 50%
transform: translate(-50%, -50%)
@media only screen and (orientation: landscape)
width: 65%
@media only screen and (orientation: portrait)
width: 85%
|