@plutonhq/core-frontend 0.1.2 → 0.1.3
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 +16 -4
- package/dist-lib/components/App/App/App.module.scss +0 -14
- package/dist-lib/components/App/AppContent/AppContent.module.scss +0 -12
- package/dist-lib/components/App/Footer/Footer.module.scss +0 -23
- package/dist-lib/components/App/SideNav/SideNav.module.scss +0 -58
- package/dist-lib/components/Device/DeviceBackups/DeviceBackups.module.scss +0 -142
- package/dist-lib/components/Device/DeviceInfo/DeviceInfo.module.scss +0 -214
- package/dist-lib/components/Device/DeviceItem/DeviceItem.module.scss +0 -216
- package/dist-lib/components/Device/EditDevice/EditDevice.module.scss +0 -110
- package/dist-lib/components/Plan/AddPlan/AddPlan.module.scss +0 -191
- package/dist-lib/components/Plan/BackupEvents/BackupEvents.module.scss +0 -189
- package/dist-lib/components/Plan/BackupProgress/BackupProgress.module.scss +0 -120
- package/dist-lib/components/Plan/Backups/Backups.module.scss +0 -244
- package/dist-lib/components/Plan/EditPlan/EditPlan.module.scss +0 -41
- package/dist-lib/components/Plan/PlanBackups/PlanBackups.module.scss +0 -58
- package/dist-lib/components/Plan/PlanForm/PlanForm.module.scss +0 -103
- package/dist-lib/components/Plan/PlanHistory/PlanHistory.module.scss +0 -44
- package/dist-lib/components/Plan/PlanItems/PlanItem.module.scss +0 -332
- package/dist-lib/components/Plan/PlanLogs/PlanLogs.module.scss +0 -0
- package/dist-lib/components/Plan/PlanPendingBackup/PlanPendingBackup.module.scss +0 -42
- package/dist-lib/components/Plan/PlanProgress/PlanProgress.module.scss +0 -19
- package/dist-lib/components/Plan/PlanRemoveModal/PlanRemoveModal.module.scss +0 -9
- package/dist-lib/components/Plan/PlanSettings/PlanSettings.module.scss +0 -464
- package/dist-lib/components/Plan/PlanStats/PlanStats.module.scss +0 -125
- package/dist-lib/components/Restore/RestoreChangeViewer/RestoreChangeViewer.module.scss +0 -71
- package/dist-lib/components/Restore/RestoreFileSelector/RestoreFileSelector.module.scss +0 -328
- package/dist-lib/components/Restore/RestoreWizard/RestoreWizard.module.scss +0 -390
- package/dist-lib/components/Restore/RestoredFileBrowser/RestoredFileBrowser.module.scss +0 -300
- package/dist-lib/components/Settings/GeneralSettings/GeneralSettings.module.scss +0 -3
- package/dist-lib/components/Settings/IntegrationSettings/IntegrationSettings.module.scss +0 -38
- package/dist-lib/components/Skeleton/SkeletonItems.module.scss +0 -162
- package/dist-lib/components/Storage/AddStorage/AddStorage.module.scss +0 -168
- package/dist-lib/components/Storage/EditStorage/EditStorage.module.scss +0 -0
- package/dist-lib/components/Storage/StorageItem/StorageItem.module.scss +0 -231
- package/dist-lib/components/Storage/StorageSettings/StorageSettings.module.scss +0 -29
- package/dist-lib/components/common/ActionModal/ActionModal.module.scss +0 -60
- package/dist-lib/components/common/AnimatedWrapper/AnimatedWrapper.module.scss +0 -88
- package/dist-lib/components/common/Button/Button.module.scss +0 -56
- package/dist-lib/components/common/FileManager/FileManager.module.scss +0 -207
- package/dist-lib/components/common/FolderPicker/FolderPicker.module.scss +0 -77
- package/dist-lib/components/common/ItemsLayout/ItemsLayout.module.scss +0 -51
- package/dist-lib/components/common/LogViewer/LogViewer.module.scss +0 -188
- package/dist-lib/components/common/Modal/Modal.module.scss +0 -81
- package/dist-lib/components/common/NotFound/NotFound.module.scss +0 -36
- package/dist-lib/components/common/PageHeader/PageHeader.module.scss +0 -62
- package/dist-lib/components/common/PathPicker/PathPicker.module.scss +0 -278
- package/dist-lib/components/common/SearchItems/SearchItems.module.scss +0 -48
- package/dist-lib/components/common/SidePanel/SidePanel.module.scss +0 -237
- package/dist-lib/components/common/SortItems/SortItems.module.scss +0 -53
- package/dist-lib/components/common/StatusLabel/StatusLabel.module.scss +0 -0
- package/dist-lib/components/common/Tabs/Tabs.module.scss +0 -43
- package/dist-lib/components/common/TagsFilter/TagsFilter.module.scss +0 -59
- package/dist-lib/components/common/form/FormField/FormField.module.scss +0 -37
- package/dist-lib/components/common/form/Input/Input.module.scss +0 -71
- package/dist-lib/components/common/form/IntervalField/IntervalField.module.scss +0 -49
- package/dist-lib/components/common/form/MultiSelect/MultiSelect.module.scss +0 -157
- package/dist-lib/components/common/form/NumberInput/NumberInput.module.scss +0 -102
- package/dist-lib/components/common/form/PasswordField/PasswordField.module.scss +0 -78
- package/dist-lib/components/common/form/RadioIconSelect/RadioIconSelect.module.scss +0 -104
- package/dist-lib/components/common/form/Select/Select.module.scss +0 -193
- package/dist-lib/components/common/form/SizePicker/SizePicker.module.scss +0 -82
- package/dist-lib/components/common/form/StoragePicker/StoragePicker.module.scss +0 -114
- package/dist-lib/components/common/form/TagsInput/TagsInput.module.scss +0 -54
- package/dist-lib/components/common/form/TimePicker/TimePicker.module.scss +0 -73
- package/dist-lib/components/common/form/Toggle/Toggle.module.scss +0 -68
- package/dist-lib/components/common/form/Tristate/Tristate.module.scss +0 -67
- package/dist-lib/routes/DeviceSingle/DeviceSingle.module.scss +0 -105
- package/dist-lib/routes/Login/Login.module.scss +0 -94
- package/dist-lib/routes/NotFoundRoute/NotFoundRoute.module.scss +0 -0
- package/dist-lib/routes/PlanSingle/PlanSingle.module.scss +0 -85
- package/dist-lib/routes/Plans/Plans.module.scss +0 -29
- package/dist-lib/routes/Settings/Settings.module.scss +0 -112
- package/dist-lib/routes/Setup/Setup.module.scss +0 -174
- package/dist-lib/routes/Sources/Sources.module.scss +0 -29
- package/dist-lib/routes/Storages/Storages.module.scss +0 -30
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plutonhq/core-frontend",
|
|
3
3
|
"description": "Pluton Core Frontend Library",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.3",
|
|
5
5
|
"author": "Plutonhq",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"publishConfig": {
|
|
@@ -82,8 +82,18 @@
|
|
|
82
82
|
"types": "./dist-lib/routes/*/*.d.ts",
|
|
83
83
|
"import": "./dist-lib/routes/*/*.js"
|
|
84
84
|
},
|
|
85
|
-
"./routes/*/*.module.scss":
|
|
86
|
-
|
|
85
|
+
"./routes/*/*.module.scss": {
|
|
86
|
+
"import": "./dist-lib/routes/*/*.module.scss.js",
|
|
87
|
+
"default": "./dist-lib/routes/*/*.module.scss.js"
|
|
88
|
+
},
|
|
89
|
+
"./components/*/*.module.scss": {
|
|
90
|
+
"import": "./dist-lib/components/*/*.module.scss.js",
|
|
91
|
+
"default": "./dist-lib/components/*/*.module.scss.js"
|
|
92
|
+
},
|
|
93
|
+
"./components/*/*/*.module.scss": {
|
|
94
|
+
"import": "./dist-lib/components/*/*/*.module.scss.js",
|
|
95
|
+
"default": "./dist-lib/components/*/*/*.module.scss.js"
|
|
96
|
+
},
|
|
87
97
|
"./routes/*/*": "./dist-lib/routes/*/*",
|
|
88
98
|
"./components/*/*": "./dist-lib/components/*/*",
|
|
89
99
|
"./services": {
|
|
@@ -113,7 +123,9 @@
|
|
|
113
123
|
"types": "./dist-lib/config/*.d.ts",
|
|
114
124
|
"import": "./dist-lib/config/*.js"
|
|
115
125
|
},
|
|
116
|
-
"./styles
|
|
126
|
+
"./styles/*.scss": "./dist-lib/styles/*.scss",
|
|
127
|
+
"./styles/*.css": "./dist-lib/styles/*.css",
|
|
128
|
+
"./styles/core-frontend.css": "./dist-lib/styles/core-frontend.css",
|
|
117
129
|
"./router": {
|
|
118
130
|
"types": "./dist-lib/router.d.ts",
|
|
119
131
|
"import": "./dist-lib/router.js"
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
.footer {
|
|
2
|
-
width: 100%;
|
|
3
|
-
bottom: 0px;
|
|
4
|
-
padding: 20px 0;
|
|
5
|
-
left: 0;
|
|
6
|
-
right: 0;
|
|
7
|
-
margin: 0 auto;
|
|
8
|
-
text-align: center;
|
|
9
|
-
color: var(--icon-color);
|
|
10
|
-
font-size: 0.9em;
|
|
11
|
-
a {
|
|
12
|
-
color: inherit;
|
|
13
|
-
&:hover {
|
|
14
|
-
color: var(--background-text-color-dark);
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
button {
|
|
18
|
-
color: inherit;
|
|
19
|
-
&:hover {
|
|
20
|
-
color: var(--background-text-color);
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
.sideNav {
|
|
2
|
-
position: absolute;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.logo {
|
|
6
|
-
position: relative;
|
|
7
|
-
background-color: var(--primary-color);
|
|
8
|
-
padding: 10px;
|
|
9
|
-
border-radius: 50%;
|
|
10
|
-
box-sizing: border-box;
|
|
11
|
-
display: flex;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.navMenu {
|
|
15
|
-
display: flex;
|
|
16
|
-
flex-direction: column;
|
|
17
|
-
gap: 10px;
|
|
18
|
-
align-items: center;
|
|
19
|
-
margin-top: 10px;
|
|
20
|
-
& > a {
|
|
21
|
-
width: 50px;
|
|
22
|
-
height: 50px;
|
|
23
|
-
background: transparent;
|
|
24
|
-
border-radius: 50%;
|
|
25
|
-
color: var(--nav-color);
|
|
26
|
-
cursor: pointer;
|
|
27
|
-
|
|
28
|
-
&:global(.active) {
|
|
29
|
-
background-color: var(--content-background-color);
|
|
30
|
-
color: var(--primary-color);
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.navMenuLabel {
|
|
36
|
-
padding: 10px;
|
|
37
|
-
display: block;
|
|
38
|
-
text-align: center;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
@media only screen and (max-width: 768px) {
|
|
42
|
-
.logo {
|
|
43
|
-
display: none;
|
|
44
|
-
}
|
|
45
|
-
.navMenu {
|
|
46
|
-
position: fixed;
|
|
47
|
-
width: 100%;
|
|
48
|
-
left: 0;
|
|
49
|
-
bottom: 0;
|
|
50
|
-
z-index: 999;
|
|
51
|
-
flex-direction: row-reverse;
|
|
52
|
-
background: var(--content-background-color);
|
|
53
|
-
box-shadow: 0 0 15px var(--content-shadow-color);
|
|
54
|
-
margin-top: 0;
|
|
55
|
-
gap: 0;
|
|
56
|
-
justify-content: space-around;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
@@ -1,142 +0,0 @@
|
|
|
1
|
-
.devicePlans {
|
|
2
|
-
display: flex;
|
|
3
|
-
gap: 20px;
|
|
4
|
-
margin-bottom: 30px;
|
|
5
|
-
|
|
6
|
-
.widget {
|
|
7
|
-
border: 1px solid var(--line-color);
|
|
8
|
-
padding: 20px;
|
|
9
|
-
border-radius: 6px;
|
|
10
|
-
box-sizing: border-box;
|
|
11
|
-
width: calc(33.33% - 15px);
|
|
12
|
-
.widgetTitle {
|
|
13
|
-
padding: 2px 6px;
|
|
14
|
-
background-color: var(--content-background-color);
|
|
15
|
-
border: 1px solid var(--line-color);
|
|
16
|
-
color: var(--content-title-color);
|
|
17
|
-
border-radius: 4px;
|
|
18
|
-
font-size: 0.6875rem;
|
|
19
|
-
font-weight: 600;
|
|
20
|
-
width: max-content;
|
|
21
|
-
position: relative;
|
|
22
|
-
margin-top: -30px;
|
|
23
|
-
span {
|
|
24
|
-
color: var(--icon-color);
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
.widgetContent {
|
|
28
|
-
width: 100%;
|
|
29
|
-
display: flex;
|
|
30
|
-
flex-direction: column;
|
|
31
|
-
gap: 20px;
|
|
32
|
-
padding-top: 20px;
|
|
33
|
-
padding-bottom: 10px;
|
|
34
|
-
|
|
35
|
-
.noData {
|
|
36
|
-
width: 100%;
|
|
37
|
-
text-align: center;
|
|
38
|
-
font-size: 0.9em;
|
|
39
|
-
padding-top: 20px;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.plans,
|
|
45
|
-
.storages {
|
|
46
|
-
width: 40%;
|
|
47
|
-
.planItem {
|
|
48
|
-
display: flex;
|
|
49
|
-
.status {
|
|
50
|
-
display: flex;
|
|
51
|
-
align-items: center;
|
|
52
|
-
margin-right: 10px;
|
|
53
|
-
position: relative;
|
|
54
|
-
color: var(--success-label);
|
|
55
|
-
&.paused {
|
|
56
|
-
color: var(--icon-color);
|
|
57
|
-
}
|
|
58
|
-
.iconBlock {
|
|
59
|
-
width: 40px;
|
|
60
|
-
height: 40px;
|
|
61
|
-
flex: 0 0 40px;
|
|
62
|
-
display: flex;
|
|
63
|
-
align-items: center;
|
|
64
|
-
justify-content: center;
|
|
65
|
-
border-radius: 50%;
|
|
66
|
-
background-color: var(--background-color);
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
.planContent {
|
|
70
|
-
display: flex;
|
|
71
|
-
flex-direction: column;
|
|
72
|
-
font-size: 0.9em;
|
|
73
|
-
h4 {
|
|
74
|
-
margin: 0;
|
|
75
|
-
margin-bottom: 4px;
|
|
76
|
-
color: var(--content-title-color);
|
|
77
|
-
a {
|
|
78
|
-
color: inherit;
|
|
79
|
-
&:hover {
|
|
80
|
-
color: var(--primary-color);
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
.planStats {
|
|
85
|
-
display: flex;
|
|
86
|
-
flex-direction: row;
|
|
87
|
-
gap: 10px;
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.paths {
|
|
94
|
-
.pathItem {
|
|
95
|
-
display: flex;
|
|
96
|
-
flex-direction: column;
|
|
97
|
-
font-size: 0.9em;
|
|
98
|
-
.pathPlanTitle {
|
|
99
|
-
color: var(--content-title-color);
|
|
100
|
-
margin-bottom: 4px;
|
|
101
|
-
:global(.icon) {
|
|
102
|
-
color: var(--icon-color);
|
|
103
|
-
}
|
|
104
|
-
a {
|
|
105
|
-
color: inherit;
|
|
106
|
-
&:hover {
|
|
107
|
-
color: var(--primary-color);
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
.planPaths {
|
|
112
|
-
display: flex;
|
|
113
|
-
flex-direction: column;
|
|
114
|
-
gap: 3px;
|
|
115
|
-
padding-left: 20px;
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
.storages {
|
|
121
|
-
width: 25%;
|
|
122
|
-
.planItem {
|
|
123
|
-
.iconBlock {
|
|
124
|
-
img {
|
|
125
|
-
max-width: 16px;
|
|
126
|
-
height: auto;
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
@media only screen and (max-width: 768px) {
|
|
134
|
-
.devicePlans {
|
|
135
|
-
flex-direction: column;
|
|
136
|
-
.plans,
|
|
137
|
-
.storages,
|
|
138
|
-
.widget {
|
|
139
|
-
width: 100%;
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
}
|
|
@@ -1,214 +0,0 @@
|
|
|
1
|
-
.deviceContent {
|
|
2
|
-
width: 100%;
|
|
3
|
-
position: relative;
|
|
4
|
-
padding: 30px;
|
|
5
|
-
border-radius: 7px;
|
|
6
|
-
box-sizing: border-box;
|
|
7
|
-
background-color: var(--content-background-color);
|
|
8
|
-
color: var(--content-text-color-light);
|
|
9
|
-
box-shadow: 0 0 15px var(--content-shadow-color);
|
|
10
|
-
min-height: 200px;
|
|
11
|
-
margin-top: 20px;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.iconBlock {
|
|
15
|
-
width: 40px;
|
|
16
|
-
height: 40px;
|
|
17
|
-
flex: 0 0 40px;
|
|
18
|
-
display: flex;
|
|
19
|
-
align-items: center;
|
|
20
|
-
justify-content: center;
|
|
21
|
-
border-radius: 50%;
|
|
22
|
-
background-color: var(--background-color);
|
|
23
|
-
color: var(--primary-color);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.deviceInfo {
|
|
27
|
-
width: 100%;
|
|
28
|
-
&.reloading {
|
|
29
|
-
opacity: 0.6;
|
|
30
|
-
user-select: none;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.topComponents {
|
|
35
|
-
display: flex;
|
|
36
|
-
gap: 20px;
|
|
37
|
-
margin-bottom: 30px;
|
|
38
|
-
|
|
39
|
-
.widget {
|
|
40
|
-
border: 1px solid var(--line-color);
|
|
41
|
-
padding: 20px;
|
|
42
|
-
border-radius: 6px;
|
|
43
|
-
box-sizing: border-box;
|
|
44
|
-
width: calc(33.33% - 15px);
|
|
45
|
-
.widgetTitle {
|
|
46
|
-
padding: 2px 6px;
|
|
47
|
-
background-color: var(--content-background-color);
|
|
48
|
-
border: 1px solid var(--line-color);
|
|
49
|
-
color: var(--content-title-color);
|
|
50
|
-
border-radius: 4px;
|
|
51
|
-
font-size: 0.6875rem;
|
|
52
|
-
font-weight: 600;
|
|
53
|
-
width: max-content;
|
|
54
|
-
position: relative;
|
|
55
|
-
margin-top: -30px;
|
|
56
|
-
span {
|
|
57
|
-
color: var(--icon-color);
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
.widgetContent {
|
|
61
|
-
width: 100%;
|
|
62
|
-
display: flex;
|
|
63
|
-
flex-direction: column;
|
|
64
|
-
gap: 15px;
|
|
65
|
-
padding-top: 10px;
|
|
66
|
-
}
|
|
67
|
-
.infoBlock {
|
|
68
|
-
width: 100%;
|
|
69
|
-
display: flex;
|
|
70
|
-
gap: 15px;
|
|
71
|
-
align-items: center;
|
|
72
|
-
.infoBlockRight {
|
|
73
|
-
width: 100%;
|
|
74
|
-
display: flex;
|
|
75
|
-
flex-direction: column;
|
|
76
|
-
gap: 2px;
|
|
77
|
-
color: var(--content-text-color);
|
|
78
|
-
font-weight: 600;
|
|
79
|
-
font-size: 0.625rem;
|
|
80
|
-
span:nth-child(1) {
|
|
81
|
-
font-size: 0.625rem;
|
|
82
|
-
color: var(--icon-color);
|
|
83
|
-
}
|
|
84
|
-
span:nth-child(2) {
|
|
85
|
-
display: block;
|
|
86
|
-
width: 90%;
|
|
87
|
-
white-space: nowrap;
|
|
88
|
-
overflow: hidden;
|
|
89
|
-
text-overflow: ellipsis;
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.additionalMemory {
|
|
97
|
-
color: var(--icon-color);
|
|
98
|
-
background-color: var(--line-color);
|
|
99
|
-
font-style: normal;
|
|
100
|
-
font-size: 0.6rem;
|
|
101
|
-
padding: 2px 6px;
|
|
102
|
-
border-radius: 6px;
|
|
103
|
-
margin-left: 2px;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
.progressBarWrap {
|
|
107
|
-
display: flex;
|
|
108
|
-
align-items: center;
|
|
109
|
-
gap: 7px;
|
|
110
|
-
}
|
|
111
|
-
.progressBar {
|
|
112
|
-
width: 100%;
|
|
113
|
-
height: 10px;
|
|
114
|
-
border-radius: 4px;
|
|
115
|
-
margin-top: 3px;
|
|
116
|
-
background-color: var(--line-color);
|
|
117
|
-
display: inline-block;
|
|
118
|
-
.progressBarFill {
|
|
119
|
-
height: 100%;
|
|
120
|
-
border-radius: 4px;
|
|
121
|
-
background-color: turquoise;
|
|
122
|
-
position: relative;
|
|
123
|
-
transition: all 0.2s linear;
|
|
124
|
-
min-width: 12%;
|
|
125
|
-
span {
|
|
126
|
-
font-weight: 600;
|
|
127
|
-
font-size: 0.625rem;
|
|
128
|
-
line-height: 1.1em;
|
|
129
|
-
position: absolute;
|
|
130
|
-
color: #fff !important;
|
|
131
|
-
right: 5px;
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
.component {
|
|
137
|
-
border: 1px solid var(--line-color);
|
|
138
|
-
padding: 20px;
|
|
139
|
-
margin-bottom: 30px;
|
|
140
|
-
border-radius: 6px;
|
|
141
|
-
box-sizing: border-box;
|
|
142
|
-
width: 100%;
|
|
143
|
-
.componentTitle {
|
|
144
|
-
padding: 2px 10px 2px 8px;
|
|
145
|
-
background-color: var(--content-background-color);
|
|
146
|
-
border: 1px solid var(--line-color);
|
|
147
|
-
color: var(--content-title-color);
|
|
148
|
-
border-radius: 4px;
|
|
149
|
-
font-size: 0.6875rem;
|
|
150
|
-
font-weight: 600;
|
|
151
|
-
width: max-content;
|
|
152
|
-
position: relative;
|
|
153
|
-
margin-top: -30px;
|
|
154
|
-
span {
|
|
155
|
-
color: var(--icon-color);
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
.contentBlock {
|
|
159
|
-
width: calc(100% - 50px);
|
|
160
|
-
}
|
|
161
|
-
.componentContent {
|
|
162
|
-
width: 100%;
|
|
163
|
-
padding-top: 15px;
|
|
164
|
-
display: grid;
|
|
165
|
-
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
166
|
-
gap: 20px;
|
|
167
|
-
align-items: center;
|
|
168
|
-
}
|
|
169
|
-
.item {
|
|
170
|
-
display: flex;
|
|
171
|
-
gap: 10px;
|
|
172
|
-
border: 1px solid var(--line-color);
|
|
173
|
-
padding: 20px;
|
|
174
|
-
border-radius: 6px;
|
|
175
|
-
box-sizing: border-box;
|
|
176
|
-
font-size: 0.7rem;
|
|
177
|
-
align-items: center;
|
|
178
|
-
position: relative;
|
|
179
|
-
h4 {
|
|
180
|
-
margin: 0;
|
|
181
|
-
color: var(--content-title-color);
|
|
182
|
-
white-space: nowrap;
|
|
183
|
-
overflow: hidden;
|
|
184
|
-
text-overflow: ellipsis;
|
|
185
|
-
}
|
|
186
|
-
.blockLabel {
|
|
187
|
-
position: absolute;
|
|
188
|
-
top: -8px;
|
|
189
|
-
right: 8px;
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
@media only screen and (max-width: 768px) {
|
|
195
|
-
.topComponents {
|
|
196
|
-
flex-direction: column;
|
|
197
|
-
.widget {
|
|
198
|
-
width: 100%;
|
|
199
|
-
.infoBlock .infoBlockRight {
|
|
200
|
-
width: 190px;
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
.component {
|
|
205
|
-
.componentContent {
|
|
206
|
-
display: flex;
|
|
207
|
-
flex-direction: column;
|
|
208
|
-
align-items: flex-start;
|
|
209
|
-
.item {
|
|
210
|
-
width: 100%;
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
}
|
|
@@ -1,216 +0,0 @@
|
|
|
1
|
-
.device {
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: row;
|
|
4
|
-
align-items: center;
|
|
5
|
-
position: relative;
|
|
6
|
-
padding: 10px;
|
|
7
|
-
margin-bottom: 20px;
|
|
8
|
-
gap: 10px;
|
|
9
|
-
border-radius: 7px;
|
|
10
|
-
background-color: var(--content-background-color);
|
|
11
|
-
color: var(--content-text-color-light);
|
|
12
|
-
box-shadow: 0 0 15px var(--content-shadow-color);
|
|
13
|
-
transition: all 0.2s linear;
|
|
14
|
-
&:hover {
|
|
15
|
-
box-shadow: 0 0 20px var(--content-shadow-color);
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.leftContent {
|
|
20
|
-
flex-basis: 40%;
|
|
21
|
-
display: flex;
|
|
22
|
-
flex-direction: row;
|
|
23
|
-
align-items: center;
|
|
24
|
-
}
|
|
25
|
-
.rightContent {
|
|
26
|
-
display: flex;
|
|
27
|
-
flex-direction: row;
|
|
28
|
-
align-items: center;
|
|
29
|
-
flex-basis: 60%;
|
|
30
|
-
justify-content: right;
|
|
31
|
-
gap: 10px;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.deviceType {
|
|
35
|
-
display: flex;
|
|
36
|
-
align-items: center;
|
|
37
|
-
margin-right: 10px;
|
|
38
|
-
margin-left: 5px;
|
|
39
|
-
position: relative;
|
|
40
|
-
color: var(--icon-color);
|
|
41
|
-
.deviceOS {
|
|
42
|
-
position: absolute;
|
|
43
|
-
bottom: 13px;
|
|
44
|
-
left: 10px;
|
|
45
|
-
}
|
|
46
|
-
.connectionStatus {
|
|
47
|
-
width: 12px;
|
|
48
|
-
height: 12px;
|
|
49
|
-
border-radius: 50%;
|
|
50
|
-
background-color: var(--line-active-color);
|
|
51
|
-
position: absolute;
|
|
52
|
-
top: 3px;
|
|
53
|
-
right: 0px;
|
|
54
|
-
z-index: 9;
|
|
55
|
-
|
|
56
|
-
&.connected {
|
|
57
|
-
background-color: turquoise;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.content {
|
|
63
|
-
display: flex;
|
|
64
|
-
flex-direction: column;
|
|
65
|
-
color: var(--content-text-color-light);
|
|
66
|
-
a {
|
|
67
|
-
color: inherit;
|
|
68
|
-
&:hover {
|
|
69
|
-
color: inherit;
|
|
70
|
-
h4 {
|
|
71
|
-
color: var(--primary-color);
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.title {
|
|
78
|
-
display: flex;
|
|
79
|
-
flex-direction: row;
|
|
80
|
-
|
|
81
|
-
.mainLabel {
|
|
82
|
-
line-height: 0.9rem;
|
|
83
|
-
}
|
|
84
|
-
h4 {
|
|
85
|
-
margin: 0;
|
|
86
|
-
margin-bottom: 2px;
|
|
87
|
-
color: var(--content-text-color);
|
|
88
|
-
display: flex;
|
|
89
|
-
align-items: center;
|
|
90
|
-
}
|
|
91
|
-
:global(.icon) {
|
|
92
|
-
position: relative;
|
|
93
|
-
top: 2px;
|
|
94
|
-
margin-left: 5px;
|
|
95
|
-
opacity: 0.5;
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.type {
|
|
100
|
-
text-transform: capitalize;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.version {
|
|
104
|
-
margin-right: 30px;
|
|
105
|
-
display: flex;
|
|
106
|
-
align-items: center;
|
|
107
|
-
:global(.icon) {
|
|
108
|
-
position: relative;
|
|
109
|
-
top: 2px;
|
|
110
|
-
margin-right: 5px;
|
|
111
|
-
opacity: 0.5;
|
|
112
|
-
}
|
|
113
|
-
i {
|
|
114
|
-
font-style: normal;
|
|
115
|
-
}
|
|
116
|
-
b {
|
|
117
|
-
margin-left: 3px;
|
|
118
|
-
color: #06ba9f;
|
|
119
|
-
}
|
|
120
|
-
&.versionUpdate {
|
|
121
|
-
cursor: pointer;
|
|
122
|
-
&:hover {
|
|
123
|
-
color: var(--primary-color);
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
.moreBtn {
|
|
129
|
-
color: var(--content-text-color-light);
|
|
130
|
-
padding: 3px 6px;
|
|
131
|
-
border-radius: 4px;
|
|
132
|
-
&.moreBtnActive {
|
|
133
|
-
background-color: var(--primary-color-light);
|
|
134
|
-
color: var(--primary-color);
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
.settings {
|
|
139
|
-
position: absolute;
|
|
140
|
-
z-index: 99;
|
|
141
|
-
top: 45px;
|
|
142
|
-
right: 15px;
|
|
143
|
-
display: flex;
|
|
144
|
-
flex-direction: column;
|
|
145
|
-
justify-content: left;
|
|
146
|
-
width: 120px;
|
|
147
|
-
text-align: left;
|
|
148
|
-
align-items: center;
|
|
149
|
-
background: var(--content-background-color);
|
|
150
|
-
border: 1px solid var(--line-color);
|
|
151
|
-
border-radius: 6px;
|
|
152
|
-
button {
|
|
153
|
-
padding: 6px 10px;
|
|
154
|
-
width: 100%;
|
|
155
|
-
text-align: left;
|
|
156
|
-
color: var(--content-text-color-light);
|
|
157
|
-
&:hover {
|
|
158
|
-
background-color: var(--primary-color-light);
|
|
159
|
-
color: var(--primary-color);
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
.deviceGrid {
|
|
165
|
-
width: 100%;
|
|
166
|
-
margin: 0;
|
|
167
|
-
flex-direction: column;
|
|
168
|
-
align-items: baseline;
|
|
169
|
-
padding: 0;
|
|
170
|
-
padding-bottom: 12px;
|
|
171
|
-
.leftContent {
|
|
172
|
-
padding: 12px;
|
|
173
|
-
width: 100%;
|
|
174
|
-
box-sizing: border-box;
|
|
175
|
-
}
|
|
176
|
-
.rightContent {
|
|
177
|
-
width: 100%;
|
|
178
|
-
flex-basis: unset;
|
|
179
|
-
justify-content: flex-start;
|
|
180
|
-
padding: 6px 10px;
|
|
181
|
-
box-sizing: border-box;
|
|
182
|
-
background: var(--primary-color-lighter);
|
|
183
|
-
.moreBtn {
|
|
184
|
-
margin-left: auto;
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
.settings {
|
|
188
|
-
bottom: 10px;
|
|
189
|
-
top: auto;
|
|
190
|
-
right: 40px;
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
@media only screen and (max-width: 768px) {
|
|
195
|
-
.device {
|
|
196
|
-
flex-direction: column;
|
|
197
|
-
align-items: flex-start;
|
|
198
|
-
gap: 5px;
|
|
199
|
-
|
|
200
|
-
.rightContent {
|
|
201
|
-
width: 100%;
|
|
202
|
-
justify-content: flex-start;
|
|
203
|
-
border-top: 1px solid var(--line-color);
|
|
204
|
-
padding-top: 10px;
|
|
205
|
-
margin-top: 10px;
|
|
206
|
-
gap: 0;
|
|
207
|
-
button.moreBtn {
|
|
208
|
-
margin-left: auto;
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
.settings {
|
|
213
|
-
right: 35px;
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
}
|