blob: 548ca5766a42bfe7159453e904595e7b42ee9f5f [file] [log] [blame]
Simon Hunt0b05d4a2014-10-21 21:50:15 -07001/*
2 ONOS CSS file
3
4 @author Simon Hunt
5 */
6
7body, html {
8 height: 100%;
9}
10
11/*
12 * Classes
13 */
14
15span.title {
Simon Hunt3ab76a82014-10-22 13:07:32 -070016 color: darkblue;
Simon Hunt0b05d4a2014-10-21 21:50:15 -070017 font-size: 16pt;
18 font-style: italic;
19}
20
21span.radio {
22 color: darkslateblue;
23}
24
25span.right {
26 float: right;
27}
28
29/*
30 * === DEBUGGING ======
31 */
32svg {
Simon Hunt3ab76a82014-10-22 13:07:32 -070033 /*border: 1px dashed red;*/
Simon Hunt0b05d4a2014-10-21 21:50:15 -070034}
35
36
37/*
38 * Network Graph elements ======================================
39 */
40
41.link {
42 fill: none;
43 stroke: #666;
44 stroke-width: 1.5px;
45 opacity: .7;
46 /*marker-end: url(#end);*/
47
48 transition: opacity 250ms;
49 -webkit-transition: opacity 250ms;
50 -moz-transition: opacity 250ms;
51}
52
53marker#end {
54 fill: #666;
55 stroke: #666;
56 stroke-width: 1.5px;
57}
58
59.node rect {
60 stroke-width: 1.5px;
61
62 transition: opacity 250ms;
63 -webkit-transition: opacity 250ms;
64 -moz-transition: opacity 250ms;
65}
66
Simon Hunt3ab76a82014-10-22 13:07:32 -070067/*differentiate between packet and optical nodes*/
68svg .node.pkt rect {
69 fill: #77a;
70}
71
72svg .node.opt rect {
73 fill: #7a7;
74}
75
76svg .node text {
77 fill: white;
Simon Hunt0b05d4a2014-10-21 21:50:15 -070078 font: 10px sans-serif;
79 pointer-events: none;
80}
81
Simon Hunt3ab76a82014-10-22 13:07:32 -070082svg .node.selected rect {
Simon Hunt0b05d4a2014-10-21 21:50:15 -070083 filter: url(#blue-glow);
84}
85
Simon Hunt3ab76a82014-10-22 13:07:32 -070086svg .link.inactive,
87svg .node.inactive rect,
88svg .node.inactive text {
Simon Hunt0b05d4a2014-10-21 21:50:15 -070089 opacity: .2;
90}
91
Simon Hunt3ab76a82014-10-22 13:07:32 -070092svg .node.inactive.selected rect,
93svg .node.inactive.selected text {
Simon Hunt0b05d4a2014-10-21 21:50:15 -070094 opacity: .6;
95}
96
Simon Hunt3ab76a82014-10-22 13:07:32 -070097svg .legend {
Simon Hunt0b05d4a2014-10-21 21:50:15 -070098 position: fixed;
99}
100
Simon Hunt3ab76a82014-10-22 13:07:32 -0700101svg .legend .category rect {
Simon Hunt0b05d4a2014-10-21 21:50:15 -0700102 stroke-width: 1px;
103}
104
Simon Hunt3ab76a82014-10-22 13:07:32 -0700105svg .legend .category text {
Simon Hunt0b05d4a2014-10-21 21:50:15 -0700106 fill: #000;
107 font: 10px sans-serif;
108 pointer-events: none;
109}
110
111/*
112 * =============================================================
113 */
114
115/*
116 * Specific structural elements
117 */
118
119#frame {
120 width: 100%;
121 height: 100%;
Simon Hunt3ab76a82014-10-22 13:07:32 -0700122 background-color: #cdf;
Simon Hunt0b05d4a2014-10-21 21:50:15 -0700123}
124
125#mast {
126 height: 32px;
Simon Hunt3ab76a82014-10-22 13:07:32 -0700127 background-color: #abe;
Simon Hunt0b05d4a2014-10-21 21:50:15 -0700128 vertical-align: baseline;
129}
130
131#main {
Simon Hunt3ab76a82014-10-22 13:07:32 -0700132 background-color: #99c;
Simon Hunt0b05d4a2014-10-21 21:50:15 -0700133}