@esrf/daiquiri-lib 0.0.1-alpha.1 → 0.0.1-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +4 -2
- package/src/scss/_hardware.scss +110 -0
- package/src/scss/_lib.scss +9 -0
- package/src/scss/main.scss +2 -0
- package/src/styles.scss +1 -0
package/package.json
CHANGED
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
.row .hw-component {
|
|
2
|
+
padding-right: 0;
|
|
3
|
+
padding-left: 0;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.hw-component {
|
|
7
|
+
border: 1px solid #eee;
|
|
8
|
+
margin-top: 3px;
|
|
9
|
+
background: lighten(map-get($custom-colors, 't-cyan'), 30%);
|
|
10
|
+
border-radius: 5px;
|
|
11
|
+
font-size: 12px;
|
|
12
|
+
|
|
13
|
+
&:not(first-child) {
|
|
14
|
+
margin-left: 3px;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.form-control {
|
|
18
|
+
width: 70px;
|
|
19
|
+
// no longer applied in bootstrap5?
|
|
20
|
+
height: calc(1.5em + 0.75rem + 2px);
|
|
21
|
+
padding: 3px 5px;
|
|
22
|
+
font-size: 0.8rem;
|
|
23
|
+
line-height: 1;
|
|
24
|
+
|
|
25
|
+
&[type='range'] {
|
|
26
|
+
width: 100%;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.btn {
|
|
31
|
+
padding: 0.22rem 0.75rem;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.icon,
|
|
35
|
+
.name,
|
|
36
|
+
.form-control {
|
|
37
|
+
display: inline-block;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.name {
|
|
41
|
+
padding: 0 3px;
|
|
42
|
+
white-space: nowrap;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.icon {
|
|
46
|
+
position: relative;
|
|
47
|
+
padding: 3px 8px;
|
|
48
|
+
background: #ccc;
|
|
49
|
+
border-radius: 5px;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.hw-head,
|
|
53
|
+
.hw-content {
|
|
54
|
+
white-space: nowrap;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.hw-head {
|
|
58
|
+
padding: 5px;
|
|
59
|
+
margin-bottom: 5px;
|
|
60
|
+
background: #fff;
|
|
61
|
+
|
|
62
|
+
label {
|
|
63
|
+
margin-bottom: 0;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.hw-content {
|
|
68
|
+
padding: 0 5px 5px;
|
|
69
|
+
|
|
70
|
+
/* stylelint-disable-next-line selector-max-compound-selectors */
|
|
71
|
+
form legend {
|
|
72
|
+
display: none;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/* stylelint-disable-next-line selector-no-qualifying-type */
|
|
76
|
+
input[type='range'].form-control {
|
|
77
|
+
height: 0.7em;
|
|
78
|
+
margin: 3px 0;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.range-view {
|
|
82
|
+
bottom: -16px;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.hw-single {
|
|
87
|
+
padding: 3px 5px;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.hw-content,
|
|
91
|
+
.hw-single {
|
|
92
|
+
.input-group-text {
|
|
93
|
+
padding: 5px;
|
|
94
|
+
font-size: 0.6rem;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.hw-extra {
|
|
100
|
+
padding: 10px;
|
|
101
|
+
border: 1px solid map-get($custom-colors, 't-grey');
|
|
102
|
+
margin-left: 5px;
|
|
103
|
+
background: #fff;
|
|
104
|
+
border-radius: 3px;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.hw-moving {
|
|
108
|
+
color: #00f;
|
|
109
|
+
font-weight: bold;
|
|
110
|
+
}
|
package/src/styles.scss
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import './scss/main';
|