summaryrefslogtreecommitdiff
path: root/examples/webusb-serial/application.css
blob: 4ae0138bdc4d023b534a47de3ea6e0924cd33838 (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
.main-content {
  width: 1440px;
  margin: auto;
  font-size: 14px;
}

.connect-container {
  margin: 20px 0;
}

.container {
  display: flex;
}

.sender, .receiver {
  flex: 1;
}

.sender {
  margin-right: 8px;
}

.receiver {
  margin-left: 8px;
}

.lines-header {
  height: 30px;
  width: 100%;
  box-sizing: border-box;
  background-color: #444;
  line-height: 30px;
  color: white;
  padding-left: 10px;
}

.lines-body {
  width: 100%;
  background-color: #222;
  min-height: 300px;
  padding: 10px 0 20px 0;
}

.line, .command-line {
  box-sizing: border-box;
  width: 100%;
  color: #f1f1f1;
  background-color: #222;
  outline: none;
  border: none;
  padding: 5px 10px;
  font-size: 14px;
}

.line:hover {
   background-color: #444;
}

.button::before {
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-box-shadow: #959595 0 2px 5px;
    -moz-box-shadow: #959595 0 2px 5px;
    border-radius: 3px;
    box-shadow: #959595 0 2px 5px;
    content: "";
    display: block;
    left: 0;
    padding: 2px 0 0;
    position: absolute;
    top: 0;
}

.button:active::before { padding: 1px 0 0; }

.button.black {
    background: #656565;
    background: -webkit-gradient(linear, 0 0, 0 bottom, from(#656565), to(#444));
    background: -moz-linear-gradient(#656565, #444);
    background: linear-gradient(#656565, #444);
    border: solid 1px #535353;
    border-bottom: solid 3px #414141;
    box-shadow: inset 0 0 0 1px #939393;
    color: #fff;
    text-shadow: 0 1px 0 #2f2f2f;
    padding: 8px 16px;
    outline: none;
}

.button.black:hover {
    background: #4c4c4c;
    background: -webkit-gradient(linear, 0 0, 0 bottom, from(#4c4c4c), to(#565656));
    background: -moz-linear-gradient(#4c4c4c, #565656);
    background: linear-gradient(#4c4c4c, #565656);
    border: solid 1px #464646;
    border-bottom: solid 3px #414141;
    box-shadow: inset 0 0 0 1px #818181;
}

.button.black:active {
    background: #474747;
    background: -webkit-gradient(linear, 0 0, 0 bottom, from(#474747), to(#444));
    background: -moz-linear-gradient(#474747, #444);
    background: linear-gradient(#474747, #444);
    border: solid 1px #2f2f2f;
    box-shadow: inset 0 10px 15px 0 #3e3e3e;
}