/** * Copyright 2015 IBM Corp. * * Licensed 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. **/ ul.red-ui-tabs { list-style-type: none; padding:5px 2px 0px 5px; margin: 0; display: block; height: 24px; border-bottom: 1px solid #999; background: #e3e3e3; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } ul.red-ui-tabs li { border-top-left-radius: 5px; border-top-right-radius: 5px; display: inline-block; border-left: 1px solid #999; border-top: 1px solid #999; border-right: 1px solid #999; border-bottom: 1px solid #999; background: #e3e3e3; margin: 0 5px 0 0; height: 23px; line-height: 17px; max-width: 200px; width: 14%; overflow: hidden; white-space: nowrap; } ul.red-ui-tabs li a.red-ui-tab-label { display: block; padding: 3px 16px; color: #666; } ul.red-ui-tabs li { position: relative; } ul.red-ui-tabs li a.red-ui-tab-close { background: rgba(227,227,227,0.8); position: absolute; right: 2px; top: 2px; display: block; width: 20px; height: 20px; line-height: 20px; text-align: center; padding: 0px; border-radius: 5px; color: #666; } ul.red-ui-tabs li a.red-ui-tab-close:hover { background: #bbb !important; } ul.red-ui-tabs li a:hover { text-decoration: none; background: #f0f0f0; } ul.red-ui-tabs li.active { background: #fff; border-bottom: 1px solid #fff; } ul.red-ui-tabs li.active a { color: #333; } ul.red-ui-tabs li.active a.red-ui-tab-close { background: rgba(255,255,255,0.8); } ul.red-ui-tabs li.active a.red-ui-tab-label:hover { background: #fff; } ul.red-ui-tabs li.red-ui-add-tab { width: 25px; border-top-right-radius: 15px; line-height: 22px; } ul.red-ui-tabs li.red-ui-add-tab a { padding: 2px 4px; }