@@ -202,13 +202,45 @@ form {
202202 width : calc (100% - 230px );
203203}
204204
205- # pageNav {
205+ # appBar {
206206 position : fixed;
207- top : 0 ;
207+ width : 100% ;
208+ z-index : 14 ;
209+ background-color : # 327EB8 ;
210+ padding : 7px 8px 6px ;
211+ box-sizing : border-box;
208212 -webkit-app-region : drag;
209- z-index : 13 ;
210213}
211214
215+ # appBar .windowControls {
216+ position : absolute;
217+ left : 8px ;
218+ top : 6px ;
219+ }
220+
221+ html : not (.platform-mac ) # appBar .windowControls {
222+ left : auto;
223+ right : 8px ;
224+ top : 5px ;
225+ }
226+
227+ # appBar .btn {
228+ -webkit-app-region : no-drag;
229+ }
230+
231+ # appBar .title {
232+ /* since the loading spinners are centered in a manner
233+ where chat is excluded from the width, we'll follow
234+ suit here so our title is centered with the spinners */
235+ width : calc (100% - 45px );
236+ }
237+
238+ # pageNav {
239+ position : fixed;
240+ top : 28px ;
241+ -webkit-app-region : no-drag;
242+ z-index : 13 ;
243+ }
212244
213245.pageNavContainer {
214246 width : 100% ;
@@ -220,7 +252,7 @@ form {
220252}
221253
222254# pageNav .navBar .bar {
223- padding : 10 px 8px ;
255+ padding : 0 8px 10 px ;
224256}
225257
226258# pageNav .modal-about .navBar .bar {
@@ -240,7 +272,7 @@ form {
240272# sideBar {
241273 position : fixed;
242274 right : -183px ;
243- top : 50 px ;
275+ top : 78 px ;
244276 width : 230px ;
245277 background-color : # 252525 ;
246278 border-left : 0 ;
@@ -1037,24 +1069,24 @@ label.fieldItem {
10371069 display : block;
10381070 width : 100% ;
10391071 height : 100% ;
1040- top : 0 ;
1072+ top : 28 px ;
10411073 left : 0 ;
10421074 transition : opacity .05s cubic-bezier (0 , 0 , 0.2 , 1 ),
10431075 width 0.5s ease;
10441076 padding-top : 25px ;
10451077 z-index : 1 ;
10461078}
10471079
1048- # ov1 . chatLoaded . modal : not (.modal-cover -fullscreen ) {
1080+ . modal : not (.modal-fullscreen ) {
10491081 width : calc (100% - 45px );
10501082}
10511083
1052- # ov1 .chatOpen .modal : not (.modal-cover- fullscreen ) {
1084+ # ov1 .chatOpen .modal : not (.modal-fullscreen ) {
10531085 width : calc (100% - 230px );
10541086}
10551087
10561088.modal .modal-navOffset {
1057- top : 50 px ;
1089+ top : 78 px ;
10581090}
10591091
10601092.modalHolder {
@@ -1455,31 +1487,27 @@ h5 {
14551487.modal-opaque {
14561488 background-color: rgba(6, 55, 83, 0.80);
14571489 box-shadow: inset 0px -70px 112px -62px rgba(37,37,37,.9);
1458- top: 50px ;
1490+ top: 78px; ;
14591491}
14601492
14611493.modal-opaqueDark {
14621494 background-color: rgba(25,25,25,0.9);
14631495 box-shadow: inset 0px -70px 112px -62px rgba(37,37,37,.9);
1464- top: 50px ;
1496+ top: 78px ;
14651497}
14661498
14671499.modal-opaque.modal-navBlock {
1468- background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.2) 50px , rgba(7,65,97,1) 51px );
1500+ background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.2) 78px , rgba(7,65,97,1) 79px );
14691501 top: 0;
1470- padding-top: 70px ;
1502+ padding-top: 100px ;
14711503}
14721504
1473- .modal-cover-fullscreen {
1474- top: 0;
1475- }
1476-
1477- .modal-cover-fullscreen .modal-childMain {
1478- top: 50px;
1479- }
1480-
1481- .modal-cover-fullscreen.modal.modal-navOffset .modal-childMain {
1482- top: 0;
1505+ /*
1506+ will cover entire screen aside from the #appBar,
1507+ which should never be covered.
1508+ */
1509+ .modal-fullscreen {
1510+ top: 28px;
14831511}
14841512
14851513.modal-childMain {
@@ -2013,7 +2041,40 @@ margin: auto;
20132041.btn .btn-win .btn-winMax {
20142042 background- color : # B8E986 ;
20152043 position: relative;
2044+ }
20162045
2046+ html: not (.platform-mac ) .btn .btn-win {
2047+ background- color : transparent;
2048+ bor der- radius: 0;
2049+ width: 19px;
2050+ height: 19px;
2051+ box- shadow: none;
2052+ }
2053+
2054+ html: not (.platform-mac ) .btn .btn-winClose {
2055+ float: right;
2056+ margin- left: 6px;
2057+ }
2058+
2059+ html: not (.platform-mac ) .btn .btn-win .btn-win-icon {
2060+ dis play: block;
2061+ to p: -3px;
2062+ font- size: 21px;
2063+ color : # fff ;
2064+ }
2065+
2066+ html: not (.platform-mac ) .btn .btn-winMax {
2067+ float: right;
2068+ margin- left: 6px;
2069+ bor der: 1px solid # fff ;
2070+ width: 13px;
2071+ height: 13px;
2072+ to p: 3px;
2073+ }
2074+
2075+ html: not (.platform-mac ) .btn .btn-winMax .btn-win-icon ,
2076+ html: not (.platform-mac ) .btn .btn-win .btn-winMax : hover .btn-win-icon {
2077+ dis play: none;
20172078}
20182079
20192080.btn .btn-bar {
@@ -4297,8 +4358,27 @@ input[type="checkbox"].fieldItem:checked + label .togLabelOff {
42974358 z-index: 9;
42984359}
42994360
4361+ #loadingModal {
4362+ padding-top: 0;
4363+ }
4364+
43004365#loadingModal, .page-connect-modal.server-connect {
4301- z-index: 14;
4366+ z-index: 13;
4367+ }
4368+
4369+ /*
4370+ Different types of modals (e.g. loading, page-connect-modal, server-connect...) have
4371+ different dimensions (e.g. some cover chat, some cover nav bar...). We'll be
4372+ fudging the position of loading spinners and content so that if these modals
4373+ are shown in succession, there is no "jump" of the spinner / content.
4374+ */
4375+ #loadingModal .spinner-with-logo, .page-connect-modal.server-connect .spinner-with-logo {
4376+ margin-top: 6px;
4377+ margin-left: -20px;
4378+ }
4379+
4380+ .page-connect-modal .spinner-with-logo {
4381+ margin-top: -45px;
43024382}
43034383
43044384#ov1 #loadingModal.hide {
@@ -4313,7 +4393,8 @@ input[type="checkbox"].fieldItem:checked + label .togLabelOff {
43134393 right: 0;
43144394 left: 0;
43154395 to p: 50%;
4316- margin- to p: 120px;
4396+ margin- to p: 117px;
4397+ margin- left: -40px;
43174398 opacity: 1;
43184399 transition: opacity 1s 5s ease;
43194400 box- sizing: bor der- box;
@@ -4344,7 +4425,7 @@ input[type="checkbox"].fieldItem:checked + label .togLabelOff {
43444425}
43454426
43464427# ov1 .server-connect-modal .message-bar {
4347- to p: 50px ;
4428+ to p: 59px ;
43484429 left: 25px;
43494430 right: 25px;
43504431 z- index: 1;
@@ -4575,7 +4656,7 @@ input[type="checkbox"].fieldItem:checked + label .togLabelOff {
45754656 padding- to p: 20px;
45764657 - webkit- app- region: no- drag;
45774658 position: relative;
4578- to p: 50px ;
4659+ to p: 78px ;
45794660 box- sizing: bor der- box;
45804661}
45814662
@@ -4625,15 +4706,6 @@ input[type="checkbox"].fieldItem:checked + label .togLabelOff {
46254706 height: 100%;
46264707}
46274708
4628- .page-connect-modal .spinner-with-logo {
4629- /*
4630- so it lines up with the loading modal,
4631- otherwise there's a jump when this guy loads
4632- right after the loading one.
4633- */
4634- margin- to p: -37px;
4635- }
4636-
46374709.page-connect-modal .spinner-with-logo .icon-no-connection {
46384710 to p: 18px;
46394711 left: 22px;
@@ -4645,13 +4717,17 @@ input[type="checkbox"].fieldItem:checked + label .togLabelOff {
46454717 left: 0;
46464718 to p: 50%;
46474719 max- width: 600px;
4648- margin- to p: 90px ;
4720+ margin- to p: 75px ;
46494721 margin- left: auto ;
46504722 margin- right: auto ;
46514723 text- align: center;
46524724 transition: transfor m 0.5s ease;
46534725}
46544726
4727+ .page-connect-modal .server-connect .content {
4728+ transfor m: translate(-20px, 51px);
4729+ }
4730+
46554731.page-connect-modal .content .btn {
46564732 float: none;
46574733}
@@ -6182,4 +6258,4 @@ input[type="checkbox"].fieldItem:checked + label .togLabelOff {
61826258.buyWizardMap .mapWrap {
61836259 background- color : # eeeae1 ;
61846260 height: 100%;
6185- }
6261+ }
0 commit comments