@lucario/cordova-plugin-browsertab
Version:
In-app browser tabs for Android and iOS
69 lines (61 loc) • 2 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 {
background-color:#E4E4E4;
}
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' */
font-family: sans-serif;
font-size:12px;
padding: 24px;
}
#app {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: center;
}
#app h1 {
font-size:24px;
font-weight:normal;
margin:16px;
overflow:visible;
padding:0px;
text-align:center;
}
button {
margin: 8px;
background-color: #3F51B5;
color: rgba(255, 255, 255, 0.87);
padding: 8px 16px;
border-radius: 2px;
border: 1px solid #C5CAE9;
width: 300px;
}
button:active {
background-color: #303F9F;
}