summaryrefslogtreecommitdiffstats
path: root/addon-sdk/source/examples/actor-repl/data/main.css
blob: 03499944b0aad027c423de42b3c100908e051256 (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
112
113
114
115
116
117
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

body
{
  position: absolute;
  width: 100%;
  margin: 0;
  padding: 0;
  background: white;
}


pre
{
  margin: 0;
}

section
{
  border-top: 1px solid rgba(150, 150, 150, 0.5);
}

.CodeMirror {
  height: auto;
}
.CodeMirror-scroll {
  overflow-y: hidden;
  overflow-x: auto;
}

.request,
.response,
.input
{
  border-left: 5px solid;
  padding-left: 10px;
}

.request:not(:empty),
.response.pending
{
  padding: 5px;
}

.input
{
  padding-left: 6px;
  border-color: lightgreen;
}
.input.invalid
{
  border-color: orange;
}

.request
{
  border-color: lightgrey;
}

.response
{
  border-color: grey;
}
.response.error
{
  border-color: red;
}

.response.message
{
    border-color: lightblue;
}

.response .one,
.response .two,
.response .three
{
  width: 0;
  height: auto;
}



.response.pending .one,
.response.pending .two,
.response.pending .three
{
  width: 10px;
  height: 10px;
  background-color: rgba(150, 150, 150, 0.5);

  border-radius: 100%;
  display: inline-block;
  animation: bouncedelay 1.4s infinite ease-in-out;
  /* Prevent first frame from flickering when animation starts */
  animation-fill-mode: both;
}

.response.pending .one
{
  animation-delay: -0.32s;
}

.response.pending .two
{
  animation-delay: -0.16s;
}

@keyframes bouncedelay {
  0%, 80%, 100% {
    transform: scale(0.0);
  } 40% {
    transform: scale(1.0);
  }
}