Skip to content

Commit abd2861

Browse files
committed
Updated toolbar expansion
1 parent 1023019 commit abd2861

File tree

1 file changed

+49
-62
lines changed

1 file changed

+49
-62
lines changed

css/main.css

Lines changed: 49 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -73,105 +73,91 @@ a.disabled {
7373

7474
/* With video */
7575

76-
@media (max-width: 950px) {
77-
/* hidden when width is 1200px or less */
78-
html.has-video .view-buttons-expanded
79-
{ display: none!important;}
76+
@media (max-width: 969px) {
77+
html.has-video .view-buttons-expanded {
78+
display: none!important;
79+
}
8080
}
8181

82-
@media (min-width: 951px) {
83-
/* hidden when width is 1200px or less */
84-
html.has-video .view-buttons
85-
{ display: none!important;}
82+
@media (min-width: 970px) {
83+
html.has-video .view-buttons {
84+
display: none!important;
85+
}
8686
}
8787

88-
@media (max-width: 1150px) {
89-
/* Hide if smaller than 1150px */
88+
@media (max-width: 1223px) {
9089
html.has-video .playback-rate-expanded,
9190
html.has-video .graph-zoom-expanded,
9291
html.has-video .log-sync-expanded {
9392
display: none !important;
9493
}
9594
}
96-
@media (min-width: 1151px) {
97-
/* Hide if larger than 1150px */
95+
96+
@media (min-width: 1224px) {
9897
html.has-video .playback-rate,
9998
html.has-video .zoom-menu,
100-
html.has-video .sync-menu
101-
{display: none!important;}
102-
}
103-
104-
@media (max-width: 1285px) {
105-
/* Hide if smaller than 1285px */
106-
html.has-video .log-chart-time-panel
107-
{ display: none!important;}
99+
html.has-video .sync-menu {
100+
display: none!important;
101+
}
108102
}
109103

110-
@media (max-width: 1420px) {
111-
/* Hide if smaller than 1500px */
112-
html.has-video .playback-rate-expanded,
113-
html.has-video .graph-zoom-expanded
114-
{ display: none!important;}
104+
@media (max-width: 1370px) {
105+
html.has-video .log-chart-time-panel {
106+
display: none!important;
107+
}
115108
}
116109

117110
/* Without video */
118111

119-
@media (max-width: 750px) {
112+
@media (max-width: 827px) {
120113
/* hide titles when width is 500px or less */
121114
.video-top-controls * h4 {
122115
display: none!important;
123116
}
117+
124118
.video-top-controls {
125119
height: 50px;
126120
padding-top: 10px;
127121
}
122+
128123
.graph-row,
129-
.log-field-values {
124+
.log-field-values {
130125
top: 30px!important;
131126
}
132127
}
133128

134-
135-
@media (max-width: 650px) {
136-
/* hidden when width is 1200px or less */
137-
html:not(.has-video) .view-buttons-expanded
138-
{ display: none!important;}
129+
@media (max-width: 706px) {
130+
html:not(.has-video) .view-buttons-expanded {
131+
display: none!important;
132+
}
139133
}
140134

141-
@media (min-width: 651px) {
142-
/* hidden when width is 1200px or less */
143-
html:not(.has-video) .view-buttons
144-
{ display: none!important;}
135+
@media (min-width: 707px) {
136+
html:not(.has-video) .view-buttons {
137+
display: none!important;
138+
}
145139
}
146140

147-
@media (max-width: 750px) {
148-
/* Hide if smaller than 750px */
141+
@media (max-width: 827px) {
149142
html:not(.has-video) .playback-rate-expanded,
150143
html:not(.has-video) .graph-zoom-expanded,
151144
html:not(.has-video) .log-sync-expanded {
152145
display: none !important;
153146
}
154147
}
155148

156-
@media (min-width: 751px) {
157-
/* Hide if larger than 750px */
149+
@media (min-width: 828px) {
158150
html:not(.has-video) .playback-rate,
159151
html:not(.has-video) .zoom-menu,
160-
html:not(.has-video) .sync-menu
161-
{display: none!important;}
162-
}
163-
164-
@media (max-width: 900px) {
165-
/* Hide if smaller than 900px */
166-
html:not(.has-video) .log-chart-time-panel
167-
{ display: none!important;}
152+
html:not(.has-video) .sync-menu {
153+
display: none!important;
154+
}
168155
}
169156

170-
@media (max-width: 1050px) {
171-
/* Hide if smaller than 1050px */
172-
html:not(.has-video) .playback-rate-expanded,
173-
html:not(.has-video) .graph-zoom-expanded
174-
{ display: none!important;}
157+
@media (max-width: 971px) {
158+
html:not(.has-video) .log-chart-time-panel {
159+
display: none!important;
160+
}
175161
}
176162

177163
/*** end toolbar expansion ***/
@@ -716,15 +702,6 @@ html:not(.has-analyser) .view-analyser-fullscreen {
716702
visibility:hidden;
717703
}
718704

719-
.noUi-handle{
720-
text-align: center;
721-
padding: 5px;
722-
}
723-
724-
.noUi-handle:after,.noUi-handle:before {
725-
visibility: hidden;
726-
}
727-
728705
.video-top-controls > li {
729706
display:inline-block;
730707
margin-right: 17px;
@@ -833,6 +810,16 @@ html.has-log:not(.has-table-overlay) .log-field-values {
833810
margin-top: 6px;
834811
}
835812

813+
.noUi-horizontal .noUi-handle{
814+
text-align: center;
815+
padding: 3px;
816+
width: fit-content;
817+
}
818+
819+
.noUi-handle:after,.noUi-handle:before {
820+
visibility: hidden;
821+
}
822+
836823
.override-button-group button {
837824
width: 33%;
838825
padding-bottom: 8px;

0 commit comments

Comments
 (0)