UNPKG

asia-weex-vue-render4light

Version:

Web renderer for weex project written in Vue DSL.

87 lines (78 loc) 2.11 kB
/* * 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. */ .weex-root, .weex-root * { color: initial; cursor: initial; direction: initial; /* In chrome, there's a chance that user set the miximum font-size to a abnormal smaller size. But actually the smaller size is never working if this font / font-size default value is set to initial. Perhaps a bug for chrome. */ font: initial; font-size: initial; font-family: initial; font-style: initial; font-variant: initial; font-weight: initial; line-height: initial; text-align: initial; text-indent: initial; visibility: initial; white-space: initial; word-spacing: initial; font-family: BlinkMacSystemFont, 'Source Sans Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif; } .weex-root, .weex-root *, .weex-root *::before, .weex-root *::after { box-sizing: border-box; text-size-adjust: none; } .weex-root a, .weex-root button, .weex-root [role="button"], .weex-root input, .weex-root label, .weex-root select, .weex-root textarea { touch-action: manipulation; } .weex-root p, .weex-root ol, .weex-root ul, .weex-root dl, .weex-root figure { margin: 0; padding: 0; } .weex-root li { list-style: none; } .weex-root figure { margin: 0; } .weex-root textarea { resize: none; } /* show no scroll bar. */ ::-webkit-scrollbar { display: none; }