summaryrefslogtreecommitdiff
path: root/blockly/demos/plane/style.css
blob: 16e2c6f412a2ed56eb81b37065d74072cede2519 (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
body {
  background-color: #fff;
  font-family: sans-serif;
  margin-top: 0;
}
h1 {
  font-weight: normal;
  font-size: 140%;
}
.farSide {
  text-align: right;
}
html[dir="RTL"] .farSide {
  text-align: left;
}
.tab {
  padding: 6px 12px;
  text-decoration: none;
  color: #000;
}
#selected {
  font-weight: bold;
  background-color: #ddd;
  border-radius: 20px;
}

/* Pulse the language menu once to draw attention to it. */
#languageBorder {
  border-radius: 4px;
  animation: pulse 2s ease-in-out forwards;
  animation-delay: 2s;
}
@keyframes pulse {
    0% { background-color: #fff }
    50% { background-color: #f00 }
    100% { background-color: #fff }
}

#blockly {
  height: 300px;
  width: 100%;
  border-style: solid;
  border-color: #ddd;
  border-width: 0 1px 1px 0;
}

/* SVG Plane. */
#plane {
  overflow: hidden;
}
#fuselage {
  fill: #fff;
  stroke: #000;
}
#wing, #tail {
  fill: #ddd;
  stroke: #444;
}
.crew {
  fill: #f44;
  stroke: #000;
}
.seat1st {
  fill: #88f;
  stroke: #000;
}
.seat2nd {
  fill: #8b8;
  stroke: #000;
}
#seatYes, #seatNo {
  font-size: 40pt;
}
text {
  font-family: sans-serif;
  font-size: 20pt;
  fill: #444;
}
html[dir="RTL"] #plane text {
  text-anchor: end;
}

/* Slider. */
.sliderTrack {
  stroke: #aaa;
  stroke-width: 6px;
  stroke-linecap: round;
}
.sliderKnob {
  fill: #ddd;
  stroke: #bbc;
  stroke-width: 1px;
  stroke-linejoin: round;
}
.sliderKnob:hover {
  fill: #eee;
}