UNPKG

2.79 kBCSSView Raw
1.show-js-error {
2 font-family: Arial, sans-serif;
3 font-size: 13px;
4
5 position: fixed;
6 z-index: 10000000;
7 bottom: 15px;
8 left: 15px;
9
10 visibility: visible;
11
12 min-width: 15em;
13 max-width: 90vw;
14
15 transition: opacity .2s ease-out;
16 transition-delay: 0s;
17
18 opacity: 1;
19 color: #000;
20 background: #ffc1cc;
21}
22
23.show-js-error_hidden {
24 transition: opacity 0.3s, visibility 0s linear 0.3s;
25
26 visibility: hidden;
27
28 opacity: 0;
29}
30
31.show-js-error__title {
32 font-weight: bold;
33
34 padding: 4px 30px 4px 7px;
35
36 color: #fff;
37 background: #f66;
38}
39
40.show-js-error__title_no-errors {
41 background: #6b6;
42}
43
44.show-js-error__message {
45 display: inline;
46
47 cursor: pointer;
48}
49
50.show-js-error__message::before {
51 display: inline-block;
52 width: 10px;
53 height: 10px;
54
55 font-size: 10px;
56 line-height: 10px;
57 border-radius: 10px;
58 content: '+';
59
60 margin-right: 5px;
61 margin-bottom: 2px;
62
63 text-align: center;
64 vertical-align: middle;
65
66 background-color: #eee;
67}
68
69.show-js-error__body_detailed .show-js-error__message::before {
70 content: '-';
71}
72
73.show-js-error__body_no-stack .show-js-error__message::before {
74 display: none;
75}
76
77.show-js-error__body_detailed .show-js-error__filename {
78 display: block;
79}
80
81.show-js-error__body_no-stack .show-js-error__filename {
82 display: none;
83}
84
85.show-js-error__close {
86 position: absolute;
87 top: 0;
88 right: 2px;
89
90 padding: 3px;
91
92 font-size: 20px;
93 line-height: 20px;
94
95 cursor: pointer;
96
97 color: #fff;
98}
99
100.show-js-error__body {
101 padding: 5px 8px 5px 8px;
102
103 line-height: 19px;
104}
105
106.show-js-error__body_hidden {
107 display: none;
108}
109
110.show-js-error__filename {
111 display: none;
112
113 overflow-y: auto;
114
115 max-height: 15em;
116 margin: 3px 0 3px -2px;
117 padding: 5px;
118
119 white-space: pre-wrap;
120
121 border: 1px solid #faa;
122 background: #ffe1ec;
123}
124
125.show-js-error__actions {
126 padding: 5px 0 3px 0;
127 margin-top: 5px;
128
129 border-top: 1px solid #faa;
130}
131
132.show-js-error__actions_hidden {
133 display: none;
134}
135
136.show-js-error__arrows {
137 white-space: nowrap;
138 margin-left: 8px;
139}
140
141.show-js-error__arrows_hidden {
142 display: none;
143}
144
145.show-js-error__copy,
146.show-js-error__report,
147.show-js-error__prev,
148.show-js-error__next,
149.show-js-error__num {
150 font-size: 12px;
151}
152
153.show-js-error__report_hidden {
154 display: none;
155}
156
157.show-js-error__next {
158 margin-left: 1px;
159}
160
161.show-js-error__num {
162 margin-right: 5px;
163 margin-left: 5px;
164}
165
166.show-js-error__copy,
167.show-js-error__report {
168 margin-right: 3px;
169}
170
171.show-js-error input {
172 padding: 1px 2px;
173}
174
175.show-js-error a,
176.show-js-error a:visited {
177 text-decoration: underline;
178
179 color: #000;
180}
181
182.show-js-error a:hover {
183 text-decoration: underline;
184}