summaryrefslogtreecommitdiff
path: root/static/kyselma.css
blob: 92f51ca4c8de3aef3e7e1dc4ae01a8aa476a136e (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

.kysQuestion {
    display: flex;
    flex-direction: column;
    max-width: 25rem;
    padding: 0.5rem;
    border: 0.15rem #fed solid;
}
.kysText { 
    align-self: center;
}
.kysScale {
    display: flex;
    width: 100%;
    resize: horizontal;
}
.kysScaleSpacer {
    flex-grow: 1;    
}
.kysNegative input {
    width: 100%;
}
.kysPositive input {
    width: 100%;
}
.kysCreateText input {
    width: 100%;
    resize: horizontal;
}
.kysCreateText { 
    width: 100%;
}

.kysNick::before {
  content: "Olet:";
  padding-right: 0.4rem;
}

.kysNick {
    border: 0.1rem solid;
    padding: 0.4rem;
    position: fixed;
    top: 100vh;
    left: 100vw;
    transform: translate(-100%, -100%);
    display: block;
    background-color: #DAF;
}

.kysAlert {
    border: 0.4rem solid;
    padding: 0.8rem;
    display: block;
    background-color: #F55;
    border-top-color: #F97;
    border-left-color: #F96;
    border-right-color: #F13;
    border-bottom-color: #F14;
    position: fixed;
    top: 50vh;
    left: 50vw;
    transform: translate(-50%, -50%);
}

.kysTotal {
  max-width: 25rem;
  min-width: max-content;
  display: flex;
  justify-content: center;
}
.kysTotalText {
    position: absolute;
    font-size: xxx-large;
    height: 8rem;
    aspect-ratio: 1;
    text-align: center;
    padding-top: 0.5rem;
}
.kysTotalBackground {
  position: relative;
  height: 8rem;
  aspect-ratio: 1;
  border-image: radial-gradient(#F00 69.6%,#0000 70.4%) 85%/50%;
  clip-path: polygon(-42% 0,50% 91%, 142% 0);
  z-index: -1;
}

.kysSelectU1 {
  background: #faa;
}

.kysSelectU2 {
  background: #aaf;
}

.kysUser1::-webkit-slider-runnable-track, .kysUser1::-moz-range-track {
  background: #faa;
}

.kysUser2::-webkit-slider-runnable-track, .kysUser2::-moz-range-track {
  background: #aaf;
}

.kysUser1::-webkit-slider-thumb, .kysUser1::-moz-range-thumb {
  background: #c00;
}

.kysUser2::-webkit-slider-thumb, .kysUser2::-moz-range-thumb {
  background: #00c;
}