forked from driverdan/cssess
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cssess.css
144 lines (128 loc) · 2.95 KB
/
cssess.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
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
/**
* Styles for CSSess
*
* @see https://github.com/driverdan/cssess
* @author Dan DeFelippi <[email protected]>
* @license MIT
*/
/* ---------- CSSess Reset ----------- */
#cssess, #cssess-overlay, #cssess div, #cssess a, #cssess ul, #cssess li, #cssess h2, #cssess button.cssess-run {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
vertical-align: baseline;
background: transparent;
}
#cssess input {
vertical-align: middle;
}
/* ------------------------------------ */
#cssess-overlay {
background: rgba(0,0,0,.5);
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 9998;
}
#cssess {
-moz-border-radius: 15px;
border-radius: 15px;
-webkit-box-shadow: 0 0 25px rgba(0,0,0,.5);
-moz-box-shadow: 0 0 25px rgba(0,0,0,.5);
box-shadow: 0 0 25px rgba(0,0,0,.5);
background: #fff;
border: 1px solid #000;
width: 700px;
height: 492px;
position: absolute;
top: 50%;
left: 50%;
margin-top: -250px;
margin-left: -350px;
overflow: hidden;
z-index: 9999;
color: #222;
text-align: left;
font-size: 14px;
}
#cssess .cssess-body {
overflow: auto;
height: 400px;
}
#cssess h2 {
text-align: center;
padding: 10px 0;
font-size: 25px;
font-family: serif;
font-weight: 700;
text-shadow: 1px 1px 0 rgba(255,255,255,.8);
border-bottom: 1px solid #aaa;
line-height: 25px;
-moz-border-radius-topleft: 15px;
-moz-border-radius-topright: 15px;
border-top-left-radius: 15px;
border-top-right-radius: 15px;
background: #eee;
background: -moz-linear-gradient(top, #eee 0%, #ccc 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#eee), color-stop(100%,#ccc));
color: rgba(0,0,0,.75);
}
#cssess ul {
list-style-type: none;
margin: 15px 15px 0;
}
#cssess li {
display: list-item;
}
#cssess a.cssess-close {
position: absolute;
top: 9px;
right: 15px;
font-weight: bold;
-moz-border-radius: 15px;
border-radius: 15px;
background: #d00;
border: 1px solid rgba(0,0,0,.5);
color: #fff;
padding: 6px 10px;
text-decoration: none;
font-family: sans-serif;
text-shadow: 1px 1px 1px #000;
filter: dropshadow(color=#000, offx=1, offy=1);
}
#cssess a.cssess-close:hover {
background: #AF0000;
}
#cssess button.cssess-run {
display: block;
width: 100%;
margin: 0 auto;
padding: 10px 0;
border-top: 1px solid #aaa;
position: absolute;
bottom: 0;
line-height: 25px;
font-size: 25px;
font-family: serif;
font-weight: 700;
text-shadow: 1px 1px 0 rgba(220,243,183,.9);
-moz-border-radius-bottomright: 15px;
-moz-border-radius-bottomleft: 15px;
border-bottom-right-radius: 15px;
border-bottom-left-radius: 15px;
background: #d2ff52;
background: -moz-linear-gradient(top, #d2ff52 0%, #91e842 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#d2ff52), color-stop(100%,#91e842));
color: rgba(0,0,0,.75);
cursor: pointer;
}
#cssess button.cssess-toggle, #cssess button.cssess-jdrop {
margin: 1em 10px 0;
}
#cssess button.cssess-jdrop {
float: right;
display: none;
}