forked from CDOrtona/MQTT_WebSocket_Javascript_Client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex-style.css
86 lines (77 loc) · 1.55 KB
/
index-style.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
body {
font-family: 'Courier New', Courier, monospace;
color: white;
background-color: rgb(65, 62, 62)}
.wrapper {
margin-left: auto;
margin-right: auto;
width: 70%;
padding-right: 10px;
padding-left: 10px;
}
input {
width : 150px;
margin: 0;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
input[type=text] {
width: 100%;
padding: 12px 20px;
margin: 8px 0;
}
input[type=password] {
width: 100%;
padding: 12px 20px;
margin: 8px 0;
}
input[type=button] {
background-color: orange;
border: none;
color: white;
padding: 16px 32px;
text-decoration: none;
font-weight: bold;
margin: 4px 2px;
cursor: pointer;
}
input[type=text]:focus {
background-color: lightblue;
}
input[type=password]:focus {
background-color: lightblue;
}
input[type=button]:hover {
background-color: rgb(214, 146, 20);
}
#messages {
margin-top: 12px;
margin-bottom: 12px;
padding: 12px;
width:100%;
display: inline-block;
border:1px solid white;
background-color: black;
max-height: 150px;
min-height: 150px;
overflow: scroll;
}
#messages span {
overflow-y: scroll;
overflow: scroll;
}
.copyright {
margin-top:15px;
text-align:center;
font-size:13px;
color:rgb(0, 0, 0);
margin-bottom:0;
}
/*hr style*/
hr {
border: 0;
height: 1px;
background-color: oranges;
background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
}