Commit 5c2944b4ad237a641b01b843505d2a97d4278ef0
1 parent
17f6424a
add single style
Showing
6 changed files
with
22 additions
and
8 deletions
src/css/mobile.css
src/css/recording.css
src/js/gbreplayer.js
| ... | ... | @@ -28,8 +28,6 @@ $(function(){ |
| 28 | 28 | var title = getQuery('title'); |
| 29 | 29 | $('.m-title').html(title); |
| 30 | 30 | |
| 31 | - alert(title) | |
| 32 | - | |
| 33 | 31 | if (_role == 0) { |
| 34 | 32 | var apiUrl = gxb_api + "/programming/codeReplay/" + _codeReplayId + "/api"; |
| 35 | 33 | getLangid(apiUrl); |
| ... | ... | @@ -1243,7 +1241,7 @@ $(function(){ |
| 1243 | 1241 | }else{ |
| 1244 | 1242 | $("#recordpanel").height($(window).height() - $recordpanel.top - 16 - 34); |
| 1245 | 1243 | $("#resultpanel").height($(window).height() - $resultpanel.top - 16 - 34); |
| 1246 | - $(".CodeMirror").height($(window).height() - $recordpanel.top - 288); | |
| 1244 | + $(".CodeMirror").height($(window).height() - $recordpanel.top - 253); | |
| 1247 | 1245 | } |
| 1248 | 1246 | $('#resultoutput').find('.tab-content').height($(window).height() - $resultoutput.top - 40).css({'overflow': "auto"}) |
| 1249 | 1247 | ... | ... |
src/js/player.js
src/player.html
| ... | ... | @@ -168,7 +168,17 @@ |
| 168 | 168 | .m-label{ |
| 169 | 169 | display: none; |
| 170 | 170 | } |
| 171 | - | |
| 171 | + .m-title-wrap{ | |
| 172 | + /*display: none;*/ | |
| 173 | + width: 100%; | |
| 174 | + height: 36px; | |
| 175 | + line-height: 36px; | |
| 176 | + background-color: #FFF; | |
| 177 | + display: flex; | |
| 178 | + justify-content: space-between; | |
| 179 | + padding: 0 24px; | |
| 180 | + border-bottom: 1px solid #eee; | |
| 181 | + } | |
| 172 | 182 | @media screen and (max-device-width: 414px) { |
| 173 | 183 | p{ |
| 174 | 184 | margin: 0; |
| ... | ... | @@ -220,10 +230,14 @@ |
| 220 | 230 | display: none !important; |
| 221 | 231 | } |
| 222 | 232 | } |
| 233 | + | |
| 223 | 234 | </style> |
| 224 | 235 | </head> |
| 225 | 236 | <body> |
| 226 | 237 | <div id="player"> |
| 238 | + <div class="m-title-wrap"> | |
| 239 | + <div class="m-title"></div> | |
| 240 | + </div> | |
| 227 | 241 | <div class="play-editor"> |
| 228 | 242 | <div class=""> |
| 229 | 243 | <button type="button" class="btn btn-success" data-readonly="1" data-target="#saveModal" id="readonly" title="" style="display: none;"></button> | ... | ... |