| /* |
| * Copyright 2018-present Open Networking Foundation |
| * |
| * 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. |
| */ |
| |
| /* |
| ONOS GUI -- Flash Component (layout) -- CSS file |
| */ |
| |
| #flash { |
| position: fixed; |
| top: 50%; |
| left: 50%; |
| transform: translate(-50%, -50%); |
| z-index: 1400; |
| } |
| |
| #flash.warning div#flashBox { |
| border: 2px solid #222222; |
| border-radius: 10px; |
| background: #FFFFFF; |
| padding: 10px; |
| } |
| |
| #flash div#flashBox { |
| background: #CCCCCC; |
| border-radius: 10px; |
| padding: 1px; |
| } |
| |
| #flash div#flashBox div.dialog-button { |
| transform :translateY(-32px); |
| } |
| |
| #flash.warning p#flashText { |
| stroke: #FF0000; |
| color: #FF0000; |
| text-anchor: middle; |
| alignment-baseline: middle; |
| text-align: center; |
| font-size: 16pt; |
| border-radius: 10px; |
| background: #FFFFFF; |
| padding: 10px; |
| } |
| |
| #flash p#flashText { |
| stroke: none; |
| color: #222222; |
| text-anchor: middle; |
| alignment-baseline: middle; |
| text-align: center; |
| font-size: 16pt; |
| border-radius: 10px; |
| background: #CCCCCC; |
| padding: 5px; |
| } |