cordova-plugin-nativeaudio
Version:
Cordova/PhoneGap Plugin for low latency Native Audio Playback, must have for HTML5 games
67 lines (63 loc) • 2.16 kB
CSS
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
* {
-webkit-tap-highlight-color: rgba(0,0,0,0); /* make transparent link selection, adjust last value opacity 0 to 1.0 */
}
html, body {
-webkit-touch-callout: none; /* prevent callout to copy image, etc when tap to hold */
-webkit-text-size-adjust: none; /* prevent webkit from resizing text to fit */
-webkit-user-select: none; /* prevent copy paste, to allow, change 'none' to 'text' */
background-color:#FFFFFF;
background-attachment:fixed;
font-family:'HelveticaNeue-Light', 'HelveticaNeue', Helvetica, Arial, sans-serif;
font-size:12px;
height:100%;
margin:0px;
padding:0px;
text-transform:uppercase;
width:100%;
}
/* Drum Styles */
.drum {
width: 50%;
height: 50%;
box-sizing: border-box;
float: left;
position: relative;
border-radius: 19px;
background: rgb(197, 197, 197);
font-size: 20px;
font-family: sans-serif;
text-align: center;
color: rgb(53, 53, 53);
box-shadow: inset 0px 0px 0px 6px rgb(255, 255, 255);
}
.touched {
background-color: #34495e;
}
.drum span {
border: 0px solid;
background: transparent;
text-align: center;
position: relative;
top: 50%;
-ms-transform: translateY(-50%);
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
}