Tue, 07 May 2019 22:03:38 +0200
Finished websockets screens.
0 | 1 | |
2 | body { | |
42 | 3 | background: #555; |
0 | 4 | font-family: Verdana, Arial, sans-serif; |
5 | margin: 0px; | |
6 | } | |
7 | ||
40
71e06f6d80fd
Work on web interface using websockets.
Michiel Broek <mbroek@mbse.eu>
parents:
11
diff
changeset
|
8 | #webui_win { |
0 | 9 | width: 360px; |
10 | height: 270px; | |
11 | background: #353536; | |
12 | border: 2px solid; | |
13 | border-color: #59b4d4; | |
14 | } | |
15 | ||
40
71e06f6d80fd
Work on web interface using websockets.
Michiel Broek <mbroek@mbse.eu>
parents:
11
diff
changeset
|
16 | #topline { |
71e06f6d80fd
Work on web interface using websockets.
Michiel Broek <mbroek@mbse.eu>
parents:
11
diff
changeset
|
17 | width: 100%; |
71e06f6d80fd
Work on web interface using websockets.
Michiel Broek <mbroek@mbse.eu>
parents:
11
diff
changeset
|
18 | height: 24px; |
71e06f6d80fd
Work on web interface using websockets.
Michiel Broek <mbroek@mbse.eu>
parents:
11
diff
changeset
|
19 | background: blue; |
71e06f6d80fd
Work on web interface using websockets.
Michiel Broek <mbroek@mbse.eu>
parents:
11
diff
changeset
|
20 | color: yellow; |
71e06f6d80fd
Work on web interface using websockets.
Michiel Broek <mbroek@mbse.eu>
parents:
11
diff
changeset
|
21 | text-align: center; |
71e06f6d80fd
Work on web interface using websockets.
Michiel Broek <mbroek@mbse.eu>
parents:
11
diff
changeset
|
22 | font-size: 18px; |
71e06f6d80fd
Work on web interface using websockets.
Michiel Broek <mbroek@mbse.eu>
parents:
11
diff
changeset
|
23 | } |
71e06f6d80fd
Work on web interface using websockets.
Michiel Broek <mbroek@mbse.eu>
parents:
11
diff
changeset
|
24 | |
71e06f6d80fd
Work on web interface using websockets.
Michiel Broek <mbroek@mbse.eu>
parents:
11
diff
changeset
|
25 | #mltline, |
71e06f6d80fd
Work on web interface using websockets.
Michiel Broek <mbroek@mbse.eu>
parents:
11
diff
changeset
|
26 | #hltline { |
71e06f6d80fd
Work on web interface using websockets.
Michiel Broek <mbroek@mbse.eu>
parents:
11
diff
changeset
|
27 | width: 100%; |
71e06f6d80fd
Work on web interface using websockets.
Michiel Broek <mbroek@mbse.eu>
parents:
11
diff
changeset
|
28 | height: 100px; |
71e06f6d80fd
Work on web interface using websockets.
Michiel Broek <mbroek@mbse.eu>
parents:
11
diff
changeset
|
29 | } |
71e06f6d80fd
Work on web interface using websockets.
Michiel Broek <mbroek@mbse.eu>
parents:
11
diff
changeset
|
30 | |
71e06f6d80fd
Work on web interface using websockets.
Michiel Broek <mbroek@mbse.eu>
parents:
11
diff
changeset
|
31 | #midline { |
71e06f6d80fd
Work on web interface using websockets.
Michiel Broek <mbroek@mbse.eu>
parents:
11
diff
changeset
|
32 | width: 100%; |
71e06f6d80fd
Work on web interface using websockets.
Michiel Broek <mbroek@mbse.eu>
parents:
11
diff
changeset
|
33 | height: 45px; |
71e06f6d80fd
Work on web interface using websockets.
Michiel Broek <mbroek@mbse.eu>
parents:
11
diff
changeset
|
34 | } |
0 | 35 | |
36 | #mlt_table { | |
37 | width: 178px; | |
38 | height: 90px; | |
39 | margin: auto; | |
40 | background: #303030; | |
41 | border: 1px solid; | |
42 | border-collapse: collapse; | |
43 | color: white; | |
44 | border-color: white; | |
45 | } | |
46 | ||
47 | #hlt_table { | |
48 | width: 178px; | |
49 | height: 90px; | |
50 | margin: auto; | |
51 | background: #3f3f40; | |
52 | border: 1px solid; | |
53 | border-collapse: collapse; | |
54 | color: yellow; | |
55 | border-color: yellow; | |
56 | } | |
57 | ||
41
7639cfa6aec0
Websocket interface is working for the main screen and manual mode.
Michiel Broek <mbroek@mbse.eu>
parents:
40
diff
changeset
|
58 | #prompt { |
7639cfa6aec0
Websocket interface is working for the main screen and manual mode.
Michiel Broek <mbroek@mbse.eu>
parents:
40
diff
changeset
|
59 | width: 100%; |
7639cfa6aec0
Websocket interface is working for the main screen and manual mode.
Michiel Broek <mbroek@mbse.eu>
parents:
40
diff
changeset
|
60 | float: left; |
7639cfa6aec0
Websocket interface is working for the main screen and manual mode.
Michiel Broek <mbroek@mbse.eu>
parents:
40
diff
changeset
|
61 | text-align: center; |
7639cfa6aec0
Websocket interface is working for the main screen and manual mode.
Michiel Broek <mbroek@mbse.eu>
parents:
40
diff
changeset
|
62 | } |
7639cfa6aec0
Websocket interface is working for the main screen and manual mode.
Michiel Broek <mbroek@mbse.eu>
parents:
40
diff
changeset
|
63 | |
0 | 64 | .appbutton { |
65 | width: 60px; | |
66 | height: 36px; | |
67 | border-radius: 4px; | |
68 | background-color: #e7e7e7; color: black; | |
69 | } | |
70 | ||
40
71e06f6d80fd
Work on web interface using websockets.
Michiel Broek <mbroek@mbse.eu>
parents:
11
diff
changeset
|
71 | .okbutton { |
71e06f6d80fd
Work on web interface using websockets.
Michiel Broek <mbroek@mbse.eu>
parents:
11
diff
changeset
|
72 | width: 60px; |
71e06f6d80fd
Work on web interface using websockets.
Michiel Broek <mbroek@mbse.eu>
parents:
11
diff
changeset
|
73 | height: 36px; |
71e06f6d80fd
Work on web interface using websockets.
Michiel Broek <mbroek@mbse.eu>
parents:
11
diff
changeset
|
74 | border-radius: 4px; |
71e06f6d80fd
Work on web interface using websockets.
Michiel Broek <mbroek@mbse.eu>
parents:
11
diff
changeset
|
75 | background-color: #575757; color: white; |
42 | 76 | position: absolute; |
77 | left: 150px; | |
78 | top: 230px; | |
40
71e06f6d80fd
Work on web interface using websockets.
Michiel Broek <mbroek@mbse.eu>
parents:
11
diff
changeset
|
79 | } |
71e06f6d80fd
Work on web interface using websockets.
Michiel Broek <mbroek@mbse.eu>
parents:
11
diff
changeset
|
80 | |
41
7639cfa6aec0
Websocket interface is working for the main screen and manual mode.
Michiel Broek <mbroek@mbse.eu>
parents:
40
diff
changeset
|
81 | .promptbutton { |
7639cfa6aec0
Websocket interface is working for the main screen and manual mode.
Michiel Broek <mbroek@mbse.eu>
parents:
40
diff
changeset
|
82 | width: 80px; |
7639cfa6aec0
Websocket interface is working for the main screen and manual mode.
Michiel Broek <mbroek@mbse.eu>
parents:
40
diff
changeset
|
83 | height: 40px; |
7639cfa6aec0
Websocket interface is working for the main screen and manual mode.
Michiel Broek <mbroek@mbse.eu>
parents:
40
diff
changeset
|
84 | border-radius: 4px; |
7639cfa6aec0
Websocket interface is working for the main screen and manual mode.
Michiel Broek <mbroek@mbse.eu>
parents:
40
diff
changeset
|
85 | background-color: #e7e7e7; color: black; |
7639cfa6aec0
Websocket interface is working for the main screen and manual mode.
Michiel Broek <mbroek@mbse.eu>
parents:
40
diff
changeset
|
86 | } |
7639cfa6aec0
Websocket interface is working for the main screen and manual mode.
Michiel Broek <mbroek@mbse.eu>
parents:
40
diff
changeset
|
87 | |
0 | 88 | #timer { |
42 | 89 | color: white; |
90 | text-align: center; | |
91 | font-family: "Courier New", "Lucida Console"; | |
92 | font-size: 34px; | |
0 | 93 | } |
94 | ||
95 | /* LED */ | |
96 | .LEDred { | |
42 | 97 | margin: 5px auto; |
98 | width: 12px; | |
99 | height: 12px; | |
100 | background-color: #820; /* On = #F40 */ | |
101 | border-radius: 50%; | |
0 | 102 | } |
103 | ||
104 | .LEDgreen { | |
42 | 105 | margin: 5px auto; |
106 | width: 12px; | |
107 | height: 12px; | |
108 | background-color: #270; /* On = #5E0 */ | |
109 | border-radius: 50%; | |
0 | 110 | } |
111 | ||
42 | 112 | .menu input[type=submit] { |
113 | background-color: #33b5e5; | |
114 | border: none; | |
115 | color: white; | |
116 | font-weight: bold; | |
117 | width: 250px; | |
118 | padding: 15px 32px; | |
119 | text-decoration: none; | |
120 | font-size: 16px; | |
121 | cursor: pointer; | |
122 | margin: 8px; | |
123 | text-align: center; | |
124 | border-radius: 10px; | |
125 | } | |
0 | 126 | |
42 | 127 | .menu input[type=submit]:hover { |
128 | background-color: #0099cc; | |
129 | } | |
130 |