UNPKG

@apache-royale/royale-js

Version:

Apache Royale (formerly FlexJS)

74 lines (63 loc) 1.62 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. * */ @namespace "library://ns.apache.org/royale/mx"; global { font-size: 12px; font-family: Arial; border-width: 1px; } Button { IBeadModel: ClassReference("org.apache.royale.html.beads.models.ImageAndTextModel"); border: 0.5px solid black; border-radius: 2px; background-color: #EEEEEE; text-decoration: none; } Button:hover { background-color: #CCCCCC; } Button:active { background-color: #999999; color: white; } Container { align-items: flex-start; } Image { vertical-align: top; } LinkButton { border: none; background-color: transparent; text-decoration: underline; } LinkButton:hover { color: black; } TextInput { border: 1px solid #808080; border-radius: 2px; padding: 4px; margin: 0px; }