Skip to content

Commit 7f07e47

Browse files
committed
Custom Stylesheet: Adjustments
- Main page adjustments (especially when the mobile version is shown) - Always show vertical scrollbar (except for mobile version) to prevent scrollbar flickering during load/notifications - Mobile version limit increased to width < 1000px (was <= 800px) - Class/Examination Assignment: more adjustments to available times and rooms when there is a room or time with a long label - Student details dialog in mobile version: make the tabs smaller to ensure they fit the page width
1 parent 09d8d8e commit 7f07e47

2 files changed

Lines changed: 23 additions & 10 deletions

File tree

WebContent/styles/unitime-mobile.css

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,11 +172,18 @@
172172
text-align: center;
173173
}
174174

175-
@media all and (max-width: 800px) {
175+
@media all and (max-width: 999px) {
176+
.unitime-Body {
177+
overflow-y: auto;
178+
}
179+
180+
.unitime-Page .body:has(span):has(.unitime-MainContent) {
181+
min-height: 700px;
182+
}
183+
176184
.unitime-MainContent {
177185
width: inherit;
178186
height: inherit;
179-
min-height: 70vh;
180187
}
181188

182189
.unitime-MainContent .messages {
@@ -506,6 +513,13 @@
506513
overflow: hidden;
507514
}
508515

516+
.unitime-StudentSchedule .gwt-TabBarItem .gwt-HTML {
517+
max-width: 16vw;
518+
white-space: nowrap;
519+
text-overflow: ellipsis;
520+
overflow: hidden;
521+
}
522+
509523
.unitime-EventResults .unitime-TabPanel {
510524
border-left: none;
511525
border-right: none;

WebContent/styles/unitime.css

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ input[type="button"] {
3737
.unitime-Body {
3838
font-family: sans-serif, verdana, arial;
3939
background-color: #FFFFFF;
40+
overflow-y: scroll;
4041
}
4142

4243
.unitime-Page {
@@ -4001,15 +4002,15 @@ div.gwt-MenuBarPopup {
40014002

40024003
.unitime-MainLogo {
40034004
background-repeat:no-repeat;
4004-
background-position: center;
4005+
background-position: top;
40054006
background-image: url('../images/logo.jpg');
40064007
margin: 10px;
40074008
}
40084009

40094010
.unitime-MainLogoFaded {
40104011
background-image: url('../images/logofaded.jpg');
40114012
background-repeat: no-repeat;
4012-
background-position: center;
4013+
background-position: top;
40134014
}
40144015

40154016
.unitime-MainContent .messages {
@@ -8376,13 +8377,12 @@ div.gwt-MenuBarPopup {
83768377

83778378
.unitime-ClassAssignmentPage .domain-item-label {
83788379
display: inline-block;
8379-
width: 80%;
8380+
width: calc(100% - 35px);
83808381
}
83818382

83828383
.unitime-ClassAssignmentPage .domain-item-extra {
83838384
display: inline-block;
8384-
width: 20%;
8385-
min-width: 35px;
8385+
width: 35px;
83868386
text-align: right;
83878387
padding-right: 3px;
83888388
}
@@ -8932,13 +8932,12 @@ div.gwt-MenuBarPopup {
89328932

89338933
.unitime-ExamAssignmentPage .domain-item-label {
89348934
display: inline-block;
8935-
width: 80%;
8935+
width: calc(100% - 35px);
89368936
}
89378937

89388938
.unitime-ExamAssignmentPage .domain-item-extra {
89398939
display: inline-block;
8940-
width: 20%;
8941-
min-width: 35px;
8940+
width: 35px;
89428941
text-align: right;
89438942
padding-right: 3px;
89448943
}

0 commit comments

Comments
 (0)