-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbasic.css
104 lines (81 loc) · 1.8 KB
/
basic.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
89
90
91
92
93
94
95
96
*{
box-sizing: border-box;
}
body{
font-family: sans-serif;
}
button,
select{
background-color: #FFFFFF;
background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), rgba(180, 180, 180, 0.3));
border: 1px #AAAAAA outset;
color: #000000;
cursor: pointer;
padding: 3px 4px;
height: 23px;
line-height: 1em;
}
button:hover,
select:hover{
background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), rgba(180, 180, 180, 0.5));
border: 1px rgba(0, 0, 0, 0.6) outset;
}
button:active,
select:active{
background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), rgba(180, 180, 180, 0.8));
border: 1px rgba(0, 0, 0, 0.8) outset;
outline: none;
}
button:focus,
select:focus{
outline: none;
}
button:disabled{
color: #666666;
border: 1px #EEEEEE outset;
background-image: linear-gradient(to bottom, rgba(180, 180, 180, 0.3), rgba(180, 180, 180, 0.3));
}
button:disabled:hover{
border: 1px #EEEEEE outset;
background-image: linear-gradient(to bottom, rgba(180, 180, 180, 0.3), rgba(180, 180, 180, 0.3));
cursor: default;
}
#controls *{
vertical-align: middle;
}
#controls label{
margin-right: 5px;
}
input[type="text"],
input[type="number"],
textarea{
border: 1px #DDDDDD solid;
outline: none;
height: 23px;
margin: 0px 5px 0px 0px;
padding: 2px;
font-family: "Courier New", monospace;
width: 50px;
}
textarea{
width: 100px;
height: auto;
}
input[type="text"]:hover, input[type="text"]:active, input[type="text"]:focus,
input[type="number"]:hover, input[type="number"]:active, input[type="number"]:focus,
textarea:hover, textarea:active, textarea:focus{
border-color: #AAAAAA;
}
hr{
border-top: 1px #AAAAAA solid;
margin: 5px 0px;
}
code{
border: 1px #DDDDDD dashed;
background: #FFFFFA;
padding: 1px 3px;
font-size: 1.1em;
}
th{
text-align: left;
}