Skip to content

Commit 46523d9

Browse files
committed
removed 2px gap between menus and controls
1 parent a7f2964 commit 46523d9

File tree

6 files changed

+56
-23
lines changed

6 files changed

+56
-23
lines changed

www/css/sepiaFW-skin-grid.css

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,13 @@ html {
3232
margin-top: 1px;
3333
}
3434
#sepiaFW-chat-controls {
35-
background: linear-gradient(rgba(5,25,45,0), #051525, #051525);
35+
background: linear-gradient(rgba(5,25,45,0), #051525, #051525) !important;
3636
border-bottom: 1px solid #051525;
3737
overflow: visible;
3838
}
39+
#sepiaFW-chat-controls.chat-menu {
40+
background: #051525;
41+
}
3942

4043
#sepiaFW-main-window {
4144
color: #fff;
@@ -46,7 +49,7 @@ html {
4649

4750
#sepiaFW-main-window button,
4851
.sepiaFW-touch-device #sepiaFW-main-window button:hover {
49-
background: rgba(16, 32, 48, 0.75);;
52+
background: transparent;
5053
color: #15abc3;
5154
}
5255
.sepiaFW-notouch-device #sepiaFW-main-window button:hover {
@@ -57,7 +60,7 @@ html {
5760
.sepiaFW-notouch-device #sepiaFW-chat-controls button:hover,
5861
.sepiaFW-notouch-device #sepiaFW-nav-bar button:hover {
5962
background: transparent;
60-
text-shadow: 0px 0px 2px #fff
63+
text-shadow: 0px 0px 2px #fff;
6164
}
6265
#sepiaFW-login-form button {
6366
background: rgba(20, 163, 187, 0.66);
@@ -101,6 +104,11 @@ html {
101104
#sepiaFW-chat-menu {
102105
background: rgba(21, 171, 195, 1.00);
103106
color: #fff;
107+
box-shadow: inset 0 0 5px 1px #fff;
108+
height: calc(100% - 106px);
109+
}
110+
#sepiaFW-chat-menu:not(.full-screen) {
111+
padding-bottom: 4px;
104112
}
105113
#sepiaFW-chat-menu-head-border {
106114
background: linear-gradient(to right, rgba(0,0,0,0) 0%,rgba(255,255,255,0.5) 40%,rgba(255,255,255,0.5) 60%,rgba(0,0,0,0) 100%);
@@ -122,6 +130,11 @@ html {
122130
background: #102030;
123131
color: #fff;
124132
}
133+
#sepiaFW-chat-controls-more-menu {
134+
box-shadow: inset 0 0 5px 1px #fff;
135+
bottom: 56px;
136+
padding-bottom: 4px;
137+
}
125138
#sepiaFW-chat-controls-more-menu button {
126139
background: #102030;
127140
color: #ECEBE7;
@@ -141,20 +154,23 @@ html {
141154
border: 1px solid #15abc3;
142155
box-shadow: 0 0 5px #15abc3;
143156
color: #fff;
157+
background: rgba(16, 32, 48, 0.75);
144158
}
145159

160+
/*
146161
#sepiaFW-myEvents-buttons button,
147162
#sepiaFW-myEvents-buttons-replaced button,
148163
.sepiaFW-touch-device #sepiaFW-myEvents-buttons button {
149-
background: #102030;
164+
background: rgba(16, 32, 48, 0.75);
150165
color: #fff;
151-
border: 1px solid #fff !important;
166+
border: 1px solid #15abc3 !important;
152167
box-shadow: 0 0 5px #fff !important;
153168
}
154169
#sepiaFW-myEvents-buttons button:hover {
155170
background: #fff;
156171
color: #102030;
157172
}
173+
*/
158174
/*
159175
#sepiaFW-main-window .chat-buttons-area button,
160176
.sepiaFW-touch-device #sepiaFW-main-window .chat-buttons-area button {

www/css/sepiaFW-skin-neo-sepia-dark.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,12 +135,12 @@ html {
135135
}
136136

137137
.sepiaFW-notouch-device #sepiaFW-main-window .chat-buttons-area button:hover {
138-
background-color: #b4df18 !important;
138+
background-color: #ceff1a !important;
139139
color: #101418 !important;
140140
}
141141
#sepiaFW-main-window .chat-buttons-area button {
142-
background: #ceff1a !important;
143-
color: #101418 !important
142+
background: #2d3034 !important;
143+
color: #fff !important
144144
}
145145
#sepiaFW-main-window .chat-buttons-area .my-view-custom-button {
146146
background-color: #08a0c8 !important;

www/css/sepiaFW-skin-study.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ html {
7272
border-color: #23292e;
7373
}
7474
#sepiaFW-assist-btn {
75-
background: linear-gradient(to right, #999 0%, #222 100%) !important;
75+
background: linear-gradient(to right, #999 0%, #405365 100%) !important;
7676
/*background: linear-gradient(to right, #CEFF1A 0%, #16ABC3 100%) !important;*/
7777
}
7878
.sepiaFW-notouch-device #sepiaFW-assist-btn:hover {

www/css/sepiaFW-style.css

Lines changed: 24 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -646,20 +646,20 @@ body {
646646
-ms-flex-direction: column;
647647
flex-direction: column;
648648
position: absolute;
649-
left: 2px;
650-
top: 52px;
651-
padding: 4px 8px 4px 8px;
652-
height: calc(100% - 109px);
653-
width: calc(100% - 4px);
649+
left: 0px;
650+
top: 50px;
651+
padding: 4px 8px 59px 8px;
652+
height: calc(100% - 50px);
653+
width: calc(100% - 0px);
654654
overflow: auto;
655655
-webkit-overflow-scrolling: touch;
656656
font-size: 21px;
657657
text-align: center;
658658
z-index: 5;
659659
}
660660
#sepiaFW-chat-menu.full-screen {
661-
top: 2px !important;
662-
height: calc(100% - 59px) !important;
661+
top: 0px !important;
662+
height: calc(100% - 0px) !important;
663663
}
664664
#sepiaFW-chat-menu button {
665665
background: rgba(255, 255, 255, 0.95);
@@ -885,15 +885,15 @@ body {
885885
#sepiaFW-chat-controls-more-menu {
886886
display: none;
887887
position: absolute;
888-
border-radius: 3px 3px 3px 0;
889-
bottom: 57px;
890-
left: 2px;
888+
border-radius: 3px 3px 0px 0px;
889+
bottom: 0px;
890+
left: 0px;
891891
/*width: auto;*/
892-
width: calc(100% - 4px);
893-
max-width: 372px;
892+
width: calc(100% - 0px);
893+
max-width: 375px;
894894
min-width: 100px;
895895
/*max-height: calc(100% - 59px);*/
896-
padding: 5px 5px 0 5px;
896+
padding: 5px 5px 55px 5px;
897897
overflow: auto;
898898
text-align: right;
899899
z-index: 3;
@@ -1186,6 +1186,8 @@ body {
11861186

11871187
#sepiaFW-chat-controls {
11881188
background: linear-gradient(rgba(255,255,255,0), #fff);
1189+
transition: background 275ms;
1190+
transition-timing-function: ease-in-out;
11891191
position: absolute;
11901192
bottom: 0px; /* note that 'sepiaFW-chat-controls-speech-box' depends on that as well */
11911193
z-index: 5;
@@ -1201,6 +1203,15 @@ body {
12011203
display: flex;
12021204
overflow: hidden; /* better dont use position fixed inside */
12031205
}
1206+
/*#sepiaFW-chat-controls.full-screen.chat-controls-more-menu {
1207+
max-width: 375px;
1208+
}*/
1209+
#sepiaFW-chat-controls.chat-menu {
1210+
background: transparent;
1211+
}
1212+
#sepiaFW-chat-controls.chat-controls-more-menu {
1213+
background: transparent;
1214+
}
12041215
#sepiaFW-chat-controls-more-btn {
12051216
padding-left: 0px !important;
12061217
padding-right: 0px !important;

www/scripts/sepiaFW.ui.build.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,15 +128,17 @@ function sepiaFW_build_ui_build(){
128128
}
129129
});
130130
}
131-
//kind'a clumsy way to catch the main menue close/open event
131+
//kind'a tricky way to catch the main menue close/open event
132132
$('#sepiaFW-main-window').on("sepiaFwOpen-sepiaFW-chat-menu", function(){
133133
//open
134134
SepiaFW.ui.switchSwipeBars('menu');
135+
$('#sepiaFW-chat-controls').addClass('chat-menu');
135136
SepiaFW.ui.isMenuOpen = true;
136137
if (SepiaFW.ui.soc) SepiaFW.ui.soc.refresh();
137138
}).on("sepiaFwClose-sepiaFW-chat-menu", function(){
138139
//close
139140
SepiaFW.ui.switchSwipeBars('chat');
141+
$('#sepiaFW-chat-controls').removeClass('chat-menu');
140142
SepiaFW.ui.isMenuOpen = false;
141143
});
142144

@@ -313,9 +315,11 @@ function sepiaFW_build_ui_build(){
313315
//catch the shortcuts menue close/open event
314316
$('#sepiaFW-main-window').on("sepiaFwOpen-sepiaFW-chat-controls-more-menu", function(){
315317
//open
318+
$('#sepiaFW-chat-controls').addClass('chat-controls-more-menu');
316319
SepiaFW.ui.isControlsMenuOpen = true;
317320
}).on("sepiaFwClose-sepiaFW-chat-controls-more-menu", function(){
318321
//close
322+
$('#sepiaFW-chat-controls').removeClass('chat-controls-more-menu');
319323
SepiaFW.ui.isControlsMenuOpen = false;
320324
});
321325

www/scripts/sepiaFW.ui.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1333,12 +1333,14 @@ function sepiaFW_build_ui(){
13331333
$inputBar.fadeIn(300);
13341334
$('.sepiaFW-carousel-pane').removeClass('full-screen');
13351335
$('#sepiaFW-chat-menu').removeClass('full-screen');
1336+
$('#sepiaFW-chat-controls').removeClass('full-screen');
13361337
UI.isInterfaceFullscreen = false;
13371338
}else{
13381339
$navBar.fadeOut(300);
13391340
$inputBar.fadeOut(300);
13401341
$('.sepiaFW-carousel-pane').addClass('full-screen');
13411342
$('#sepiaFW-chat-menu').addClass('full-screen');
1343+
$('#sepiaFW-chat-controls').addClass('full-screen');
13421344
UI.isInterfaceFullscreen = true;
13431345
}
13441346
setTimeout(function(){

0 commit comments

Comments
 (0)