Skip to content

Commit 34bd8d6

Browse files
authored
Refactor cron pages for mobile (hestiacp#3166)
1 parent 52d978f commit 34bd8d6

35 files changed

+877
-904
lines changed

web/css/src/base.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,12 @@ textarea {
106106
min-height: 60px;
107107
}
108108

109+
fieldset {
110+
border: 0;
111+
margin: 0;
112+
padding: 0;
113+
}
114+
109115
dialog {
110116
position: fixed;
111117
padding: 0;

web/css/src/themes/dark.css

Lines changed: 23 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,6 @@ strong {
224224
.toolbar-sorting-menu {
225225
background-color: rgb(40 40 40 / 95%);
226226
box-shadow: 0 2px 16px 0 rgb(20 20 20 / 65%);
227-
border-radius: 4px;
228227
border-color: rgb(90 90 90 / 100%);
229228

230229
& li {
@@ -388,21 +387,6 @@ strong {
388387
background-color: #353535;
389388
}
390389

391-
.units.active .l-unit.focus .l-unit__name {
392-
}
393-
394-
.units.active .l-unit.focus .l-unit-toolbar__col--right {
395-
}
396-
397-
.units > div:last-child {
398-
}
399-
400-
.l-unit:hover .l-unit-toolbar__col--right {
401-
}
402-
403-
.l-unit--blue {
404-
}
405-
406390
.l-unit--suspended {
407391
background: #252525 !important;
408392
color: #606060 !important;
@@ -734,7 +718,7 @@ strong {
734718
color: #dadada;
735719
}
736720

737-
form#vstobjects.suspended {
721+
#vstobjects.suspended {
738722
background-color: #282828;
739723
}
740724

@@ -803,7 +787,7 @@ form#vstobjects.suspended {
803787
}
804788

805789
.ui-widget-header a {
806-
color: #cacaca !important;
790+
color: #cacaca;
807791
}
808792

809793
/* Shortcuts panel
@@ -819,43 +803,32 @@ form#vstobjects.suspended {
819803
border-bottom: 1px solid #353535;
820804
}
821805

822-
.cron-helper-container {
806+
.cron-helper-panel {
823807
box-shadow: 0 1px 4px rgb(0 0 0 / 25%);
824-
border: 1px solid #606060;
808+
border-color: #606060;
825809
background-color: #454545;
826-
}
827-
828-
.cron-helper-tabs a {
829-
color: #cacaca;
830-
}
831810

832-
.cron-helper-tabs a:hover {
833-
color: #ff3478 !important;
834-
}
811+
& .ui-tabs-tab a {
812+
color: #cacaca;
835813

836-
.cron-helper-tabs a:active {
837-
color: #3b9de8 !important;
838-
}
814+
&:hover {
815+
color: #ff3478;
816+
}
839817

840-
.cron-helper-tabs .ui-tabs-selected a,
841-
.ui-tabs-tab[aria-expanded="true"] a {
842-
color: #ff3478 !important;
843-
}
818+
&:active {
819+
color: #3b9de8;
820+
}
821+
}
844822

845-
.cron-helper-tabs p {
846-
color: #dadada;
823+
& .ui-tabs-tab[aria-expanded="true"] a {
824+
color: #ff3478;
825+
}
847826
}
848827

849828
.server-console-output {
850829
background: #282828;
851830
}
852831

853-
.body-rrd .units .l-unit {
854-
background-color: #282828 !important;
855-
border-left: 1px solid transparent !important;
856-
border-right: 1px solid transparent !important;
857-
}
858-
859832
.l-percent {
860833
border-bottom: 2px solid #585858 !important;
861834
}
@@ -870,10 +843,10 @@ form#vstobjects.suspended {
870843
}
871844

872845
.body-stats .units .l-unit {
873-
background-color: #282828 !important;
874-
border-bottom: 1px solid #404040 !important;
875-
border-left: 1px solid #282828 !important;
876-
border-right: 1px solid #282828 !important;
846+
background-color: #282828;
847+
border-bottom: 1px solid #404040;
848+
border-left: 1px solid #282828;
849+
border-right: 1px solid #282828;
877850
}
878851

879852
.body-stats .units:hover .l-unit:hover {
@@ -886,6 +859,9 @@ form#vstobjects.suspended {
886859
color: #fff !important;
887860
}
888861

862+
/* App footer
863+
========================================================================== */
864+
889865
.app-footer {
890866
color: #cdcdcd;
891867
border-color: #454545;

0 commit comments

Comments
 (0)