forked from argoproj/rollouts-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
88 lines (76 loc) · 1.54 KB
/
main.css
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
html, body {
margin: 0;
padding: 0;
height: 100%;
}
* {
font-family: Verdana, Geneva, Tahoma, sans-serif;
font-size: 10pt;
}
.logo {
z-index: 1;
position: absolute;
top: 1em;
left: 1em;
width: 150px;
}
.textbox {
width: 200px;
z-index: 1;
position: absolute;
top: 1em;
right: 3em;
background: whitesmoke
}
input#delayLength {
width: 190px;
}
.currentColor{
text-align: center
}
.availableColors {
display:table;
}
.square {
width: 40px;
float:left;
height: 40px;
background: red;
border-width: 4px;
border-color: #000;
border-style: hidden;
margin:5px;
box-sizing:border-box;
}
/* The slider itself */
.slider {
-webkit-appearance: none; /* Override default CSS styles */
appearance: none;
width: 98%; /* Full-width */
height: 25px; /* Specified height */
background: #d3d3d3; /* Grey background */
outline: none; /* Remove outline */
opacity: 0.7; /* Set transparency (for mouse-over effects on hover) */
-webkit-transition: .2s; /* 0.2 seconds transition on hover */
transition: opacity .2s;
}
/* Mouse-over effects */
.slider:hover {
opacity: 1; /* Fully shown on mouse-over */
}
.slider::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 25px;
height: 25px;
border-radius: 50%;
background: #4CAF50;
cursor: pointer;
}
.slider::-moz-range-thumb {
width: 25px;
height: 25px;
border-radius: 50%;
background: #4CAF50;
cursor: pointer;
}