| /*! |
| * 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. |
| */ |
| |
| /* |
| * Component: Callout |
| * ------------------ |
| */ |
| |
| // Base styles (regardless of theme) |
| .callout { |
| .border-radius(3px); |
| margin: 0 0 10px 0; |
| padding: 15px 30px 15px 15px; |
| border-left: 5px solid #eee; |
| a { |
| color: #fff; |
| text-decoration: underline; |
| &:hover { |
| color: #eee; |
| } |
| } |
| h4 { |
| margin-top: 0; |
| font-weight: 600; |
| } |
| p:last-child { |
| margin-bottom: 0; |
| } |
| code, |
| .highlight { |
| background-color: #fff; |
| } |
| |
| // Themes for different contexts |
| &.callout-danger { |
| &:extend(.bg-red); |
| border-color: darken(@red, 10%); |
| } |
| &.callout-warning { |
| &:extend(.bg-yellow); |
| border-color: darken(@yellow, 10%); |
| } |
| &.callout-info { |
| &:extend(.bg-aqua); |
| border-color: darken(@aqua, 10%); |
| } |
| &.callout-success { |
| &:extend(.bg-green); |
| border-color: darken(@green, 10%); |
| } |
| +.table{margin-top:10px;} |
| } |