blob: 66b8f3bf83cc034a8fd4a027e808b8d8d85e7c63 [file] [log] [blame]
Sean Condon83775682018-05-27 18:59:59 +01001/*
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 Condon2aa86092018-07-16 09:04:05 +010018 ONOS GUI -- Flash Component (layout) -- CSS file
Sean Condon83775682018-05-27 18:59:59 +010019 */
20
21#flash {
Sean Condon83775682018-05-27 18:59:59 +010022 position: fixed;
23 top: 50%;
24 left: 50%;
Sean Condon83775682018-05-27 18:59:59 +010025 transform: translate(-50%, -50%);
Sean Condon2aa86092018-07-16 09:04:05 +010026 z-index: 1400;
27}
28
29#flash.warning div#flashBox {
30 border: 2px solid #222222;
31 border-radius: 10px;
32 background: #FFFFFF;
Sean Condon83775682018-05-27 18:59:59 +010033 padding: 10px;
34}
Sean Condon2aa86092018-07-16 09:04:05 +010035
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}