Sean Condon | 8377568 | 2018-05-27 18:59:59 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2018-present Open Networking Foundation |
| 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | */ |
| 16 | |
| 17 | /* |
Sean Condon | 2aa8609 | 2018-07-16 09:04:05 +0100 | [diff] [blame] | 18 | ONOS GUI -- Flash Component (layout) -- CSS file |
Sean Condon | 8377568 | 2018-05-27 18:59:59 +0100 | [diff] [blame] | 19 | */ |
| 20 | |
| 21 | #flash { |
Sean Condon | 8377568 | 2018-05-27 18:59:59 +0100 | [diff] [blame] | 22 | position: fixed; |
| 23 | top: 50%; |
| 24 | left: 50%; |
Sean Condon | 8377568 | 2018-05-27 18:59:59 +0100 | [diff] [blame] | 25 | transform: translate(-50%, -50%); |
Sean Condon | 2aa8609 | 2018-07-16 09:04:05 +0100 | [diff] [blame] | 26 | z-index: 1400; |
| 27 | } |
| 28 | |
| 29 | #flash.warning div#flashBox { |
| 30 | border: 2px solid #222222; |
| 31 | border-radius: 10px; |
| 32 | background: #FFFFFF; |
Sean Condon | 8377568 | 2018-05-27 18:59:59 +0100 | [diff] [blame] | 33 | padding: 10px; |
| 34 | } |
Sean Condon | 2aa8609 | 2018-07-16 09:04:05 +0100 | [diff] [blame] | 35 | |
| 36 | #flash div#flashBox { |
| 37 | background: #CCCCCC; |
| 38 | border-radius: 10px; |
| 39 | padding: 1px; |
| 40 | } |
| 41 | |
| 42 | #flash div#flashBox div.dialog-button { |
| 43 | transform :translateY(-32px); |
| 44 | } |
| 45 | |
| 46 | #flash.warning p#flashText { |
| 47 | stroke: #FF0000; |
| 48 | color: #FF0000; |
| 49 | text-anchor: middle; |
| 50 | alignment-baseline: middle; |
| 51 | text-align: center; |
| 52 | font-size: 16pt; |
| 53 | border-radius: 10px; |
| 54 | background: #FFFFFF; |
| 55 | padding: 10px; |
| 56 | } |
| 57 | |
| 58 | #flash p#flashText { |
| 59 | stroke: none; |
| 60 | color: #222222; |
| 61 | text-anchor: middle; |
| 62 | alignment-baseline: middle; |
| 63 | text-align: center; |
| 64 | font-size: 16pt; |
| 65 | border-radius: 10px; |
| 66 | background: #CCCCCC; |
| 67 | padding: 5px; |
| 68 | } |