blob: 1445836f800d6cb40559c1f768e8e1281382643f [file] [log] [blame]
Matteo Scandolod2044a42017-08-07 16:08:28 -07001
2/*
3 * Copyright 2017-present Open Networking Foundation
4
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8
9 * http://www.apache.org/licenses/LICENSE-2.0
10
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 */
17
18
Matteo Scandolo2500e392016-03-25 17:20:27 -070019@import './lib/_variables';
20@import "./bootstrap/_bootstrap";
21@import "lib/header";
22@import "lib/nav";
23@import "lib/footer";
Matteo Scandoloa6a3b532016-08-09 15:43:37 -070024@import "lib/table";
Matteo Scandolo2500e392016-03-25 17:20:27 -070025@import "lib/tabs";
26@import "lib/login";
Matteo Scandolo6942f262016-03-28 11:38:44 -070027@import 'lib/breadcrumb';
Matteo Scandoloaac5e002016-04-07 17:09:42 -070028@import 'lib/form';
arpiagariu2ce4e132016-05-19 16:20:05 -070029@import "lib/logout";
Matteo Scandolo56304cf2016-03-24 17:28:33 -070030/************************
31colors:
32 tab - active/focus color
33 background-color: #105E9E !important;
34
35ONLab darker blue select :: background-color: #004775;
36#0170BB
37 left-nav
38 background-color: #448CCA;
39 background-color // normal: #B4CADF
4091BFE4
41
42*************************/
43
44html, body, body.login {
45 height: 100%;
46 min-height: 100%;
47 margin: 0;
48}
49
50body{
51 max-width: 100%;
52 overflow-x: hidden;
53}
54
55#wrap {
Matteo Scandolo02c685a2016-03-28 10:21:48 -070056 height: 100%;
Matteo Scandolo56304cf2016-03-24 17:28:33 -070057 min-height: 100%;
Matteo Scandolo2500e392016-03-25 17:20:27 -070058 padding-bottom: 60px;
Matteo Scandolo56304cf2016-03-24 17:28:33 -070059}
60
Matteo Scandolo56304cf2016-03-24 17:28:33 -070061/* ************************* SIDENAV TOGGLE ************************* */
62
63#wrapper {
64 padding-left: 0;
Matteo Scandolo56304cf2016-03-24 17:28:33 -070065 transition: all 0.5s ease;
Matteo Scandolo02c685a2016-03-28 10:21:48 -070066 min-height: 100%;
67 height: 100%;
Matteo Scandolo56304cf2016-03-24 17:28:33 -070068}
69
70#wrapper.toggled {
71 padding-left: 250px;
72}
73
74#sidebar-wrapper {
Matteo Scandolo39f7a692016-03-28 12:06:16 -070075 z-index: 99;
Matteo Scandolo56304cf2016-03-24 17:28:33 -070076 position: fixed;
77 left: 250px;
78 width: 0;
79 height: 100%;
80 margin-left: -250px;
81 overflow-y: auto;
Matteo Scandolo56304cf2016-03-24 17:28:33 -070082 transition: all 0.5s ease;
83 background: white;
84}
85
86#wrapper.toggled #sidebar-wrapper {
87 width: 250px;
88 padding: 10px;
89}
90
91#page-content-wrapper {
Matteo Scandolo02c685a2016-03-28 10:21:48 -070092 width: 100%;
93 position: absolute;
94 padding: 15px;
95 min-height: 100%;
96 height: 100%;
97 .container-fluid,
98 .content-wrapper,
99 .content-wrapper .col-lg-12,
100 .suit-columns,
101 #content {
102 min-height: 100%;
103 height: 100%;
104 }
Matteo Scandolo6942f262016-03-28 11:38:44 -0700105
106 #content {
107 padding-left: ($grid-gutter-width / 2);
108 padding-right: ($grid-gutter-width / 2);
109 }
110
111 #content-main {
Matteo Scandoloa6a3b532016-08-09 15:43:37 -0700112 /*padding: ($grid-gutter-width / 2);*/
Matteo Scandolo6942f262016-03-28 11:38:44 -0700113 padding-bottom: 60px;
114 }
Matteo Scandolo56304cf2016-03-24 17:28:33 -0700115}
116
Matteo Scandolo56304cf2016-03-24 17:28:33 -0700117
118.ui-tabs-panel {
119 min-height: 700px;
120}
121
122#wrapper.toggled #page-content-wrapper {
123 position: absolute;
124 margin-right: -250px;
125}
126
127@media(min-width:768px) {
128 #wrapper {
129 padding-left: 250px;
130 }
131
132 #wrapper.toggled {
133 padding-left: 0;
134 }
135
136 #sidebar-wrapper {
137 width: 250px;
138 padding: 10px;
139 }
140
141 #wrapper.toggled #sidebar-wrapper {
142 width: 0;
143 }
144
145 #page-content-wrapper {
146 padding: 20px;
147 position: relative;
148 }
149
150 #wrapper.toggled #page-content-wrapper {
151 position: relative;
152 margin-right: 0;
153 }
154}
155
156.navbar-toggle{
Matteo Scandolod7cba712016-07-08 14:41:00 -0700157 border: 1px solid $brand-primary;
Matteo Scandolo56304cf2016-03-24 17:28:33 -0700158}
159
160.navbar-toggle .icon-bar{
Matteo Scandolod7cba712016-07-08 14:41:00 -0700161 background: $brand-primary;
Matteo Scandolo56304cf2016-03-24 17:28:33 -0700162}
163/* ************************* END SIDENAV TOGGLE ************************* */
164
Matteo Scandoloa8ba7162016-11-27 11:30:55 -0800165[ui-view] {
166 margin-bottom: 100px;
167}
168
Matteo Scandolo56304cf2016-03-24 17:28:33 -0700169/************************* FORM TWEAKS *************************/
Matteo Scandolo2500e392016-03-25 17:20:27 -0700170@media (min-width: $screen-md){
Matteo Scandolo56304cf2016-03-24 17:28:33 -0700171 .form-column.col-lg-4 {
172 width: 66.66666667%;
173 }
174}
Matteo Scandolod7cba712016-07-08 14:41:00 -0700175/************************* END FORM TWEAKS *************************/
Matteo Scandolo56304cf2016-03-24 17:28:33 -0700176
177/* CSS for jquery Tabs */
Matteo Scandolo56304cf2016-03-24 17:28:33 -0700178
Matteo Scandolo56304cf2016-03-24 17:28:33 -0700179.alignCenter {
180 text-align: center !important;
181 align: center !important;
182}
Matteo Scandolo2500e392016-03-25 17:20:27 -0700183
Matteo Scandolo56304cf2016-03-24 17:28:33 -0700184.ui-widget-overlay {
185 background: black !important;
186}
187.ui-corner-all {
188border-bottom-left-radius: 0px !important;
189border-bottom-right-radius: 0px !important;
190}
191
Matteo Scandolo56304cf2016-03-24 17:28:33 -0700192#openCloudTopPage {
193 margin-top: -25px;
194 margin-right: -90;
195 float: right;
196}
197#minDashboard {
198 /*min-width:625px; */
199 display:inline;
200 float: right;
201 border: 2px darkGrey;
202}
Matteo Scandolof0e1c062016-03-25 17:52:42 -0700203
Matteo Scandolo56304cf2016-03-24 17:28:33 -0700204.save-box {
205 background-color: #ffffff;
206 margin: 2px;
207}
208.save-box .btn-info {
209 font-size: 14px;
210 padding: 10px 20px 10px 20px;
211}
Matteo Scandolof0e1c062016-03-25 17:52:42 -0700212
Matteo Scandolo56304cf2016-03-24 17:28:33 -0700213.required:after {
214 color: red !important;
215 font-size: 18px;
216}
217/*.btn-success {color:black}*/
218#suit-center {
219padding: 20px;
220width: 100%;
221/*min-width:650px;*/
222}
223.inner-two-columns .inner-center-column .tab-content {
224overflow-x: auto;
225margin-bottom: 15px;
226/*min-width: auto;*/
227width:100%;
228}
229/*.inner-two-columns .inner-center-column {
230 margin-right: 200px;
231 background-color: rgb(158, 163, 159);
232}*/
233label {
234display: block;
235font-weight: bold;
236margin-bottom: 5px;
237}
238
239/*For changing background color of suit center*/
240#suit-center {
241background-color: #ffffff;
242}
243
Matteo Scandolo56304cf2016-03-24 17:28:33 -0700244/** Leave room for scroll bar now that contents can be appropriately scrolled **/
245.form-horizontal .inline-group .add-row {
246 margin: -1px -1px 15px 0px;
247}
248
249/** Setting overflow and 1kpx to deal with inlines/forms overlapping on
250 browser resizes **/
251#content-main {
Matteo Scandoloa6a3b532016-08-09 15:43:37 -0700252 /*overflow-x:auto;*/
Matteo Scandolo56304cf2016-03-24 17:28:33 -0700253 /*min-width: 1000px;*/
254}
255
256.tab-content tab-content-main {
257 overflow-x: auto !important;
258}
259
260#wrap{
261background:none;
262}
263
264.noclearfix {
265 display:block; clear:left; width:0px; height:0px;
266}
267
268body{
269background-color:#ffffff;
270}
271
272.suit-column{
273background-color:#ffffff;
274}
Matteo Scandolo56304cf2016-03-24 17:28:33 -0700275
276
Matteo Scandolo56304cf2016-03-24 17:28:33 -0700277
278.nav-tabs > .active > a, .nav-tabs > .active > a:hover, .nav-tabs > .active > a:focus {
279 /*background-color: #448CCA;*/
280 background-color: #105E9E;
281 color: #FFF;
282 border: none;
283}
284
285/*Added by Beena for adding the three components in dashboard*/
286.breadcrumb{
287 display:inline-block;
288 background-color: #fff;
289
290}
291
292.nodetextbox{
293 /*background-color: #ededed;*/
294 line-height: 25px;
295 width: 150px;
296 text-align: center;
297 font-weight: bold;
298 margin-left:0px;
299 display:inline-block;
300 border:none;
301 font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
302 font-size: 8px;
303}
304
305.nodelabel{
306width: 20px;
307display: inline-block;
308border-radius: 0px;
309border:1px solid #000;
310/*line-height: 23px;*/
311text-align: center;
312font-weight: normal;
313}
314
315#user-tools {
316 font-weight: bold;
317}
318.header-content .header-column {
319 display: none;
320}
321.header .input-icon {
322 background-image: url("Search.png");
323 background-repeat: no-repeat;
324background-position:left center;
325opacity:1;
326 background-size: 100%;
327 vertical-align:middle;
328 margin-right: -30px;
329 /*margin-top: 5px;*/
330 position: relative;
331 height: 22px;
332 width: 22px;
333}
334
335.header .icon-search {
336 /*background-image: url("search.png") !important;
337 background-repeat: no-repeat !important;
338 background-size: 120% auto !important;
339 background-position: 0;*/
340}
341
342#dashboardHPC {
343 padding-bottom: 10px;
344}
345.summary-attr {
346 padding-right: 20px;
347}
348.summary-attr-util {
349 padding-right: 20px;
350 color: green;
351}
352.SiteDetail {
353color: darkBlue;
354 font-size: 1.5em;
355}
356#addInstances {
357 color: green;
358text-decoration: underline;
359 padding-right: 20px;
360}
361#remInstances {
362 color: red;
363 text-decoration: underline;
364}
365#map-us {
366 padding-top: 10px;
367 width: 700px;
368 height: 400px;
369}
370
371.minidashbutton {
372 -moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
373 -webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
374 box-shadow:inset 0px 1px 0px 0px #ffffff;
375 background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ffffff), color-stop(1, #f6f6f6));
376 background:-moz-linear-gradient(top, #ffffff 5%, #f6f6f6 100%);
377 background:-webkit-linear-gradient(top, #ffffff 5%, #f6f6f6 100%);
378 background:-o-linear-gradient(top, #ffffff 5%, #f6f6f6 100%);
379 background:-ms-linear-gradient(top, #ffffff 5%, #f6f6f6 100%);
380 background:linear-gradient(to bottom, #ffffff 5%, #f6f6f6 100%);
381 filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f6f6f6',GradientType=0);
382 background-color:#ffffff;
383 -moz-border-radius:6px;
384 -webkit-border-radius:6px;
385 border-radius:6px;
386 border:1px solid #dcdcdc;
387 display:inline-block;
388 cursor:pointer;
389 color:#666666;
390 font-family:arial;
391 font-size:15px;
392 font-weight:bold;
393 padding:6px 24px;
394 text-decoration:none;
395 text-shadow:0px 1px 0px #ffffff;
396}
397.minidashbutton:hover {
398 background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #f6f6f6), color-stop(1, #ffffff));
399 background:-moz-linear-gradient(top, #f6f6f6 5%, #ffffff 100%);
400 background:-webkit-linear-gradient(top, #f6f6f6 5%, #ffffff 100%);
401 background:-o-linear-gradient(top, #f6f6f6 5%, #ffffff 100%);
402 background:-ms-linear-gradient(top, #f6f6f6 5%, #ffffff 100%);
403 background:linear-gradient(to bottom, #f6f6f6 5%, #ffffff 100%);
404 filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f6f6f6', endColorstr='#ffffff',GradientType=0);
405 background-color:#f6f6f6;
406}
407
408.newMiniDashboard {
409 border: 1px solid green;
410 width: auto;
411}
412
413.endDashPair {
414 clear: left;
415}
416.miniDashPair {
417 float: left;
418 width: auto;
419 margin-left: 20px;
420}
421
422.miniDashPair label {
423 text-align: center;
424}
425/* Charts CSS */
426p.numeral
427{
428 font-size:32pt;
429 color:#ffffff;
430 opacity: 0.7;
431 font-family:Helvetica Neue;
432 font-weight:100;
433 text-align:center;
434 line-height:75%;
435}
436
437.helper-text
438{
439 border: 1px solid #fff;
440 padding: 7px;
441 border-radius: 18px;
442 font-size:13pt;
443 color:#ffffff;
444 opacity: 0.7;
445 font-family:Helvetica Neue;
446 font-weight:200;
447 text-align:center;
448 line-height:100%;
449}
450p.osobject
451{
452 font-size:12pt;
453 color:#ffffff;
454 opacity: 0.7;
455 font-family:Helvetica Neue;
456 font-weight:200;
457 text-align:center;
458 line-height:100%;
459}
460
461p.heading
462{
463 font-size:20px;
464 letter-spacing: 1px;
465 color: black;
466 font-family:Arial;
467 font-weight:bold;
468 text-align:center;
469}
470
471/*p.heading
472{
473 font-size:32pt;
474 color:#ffffff;
475 opacity: 0.7;
476 font-family:Helvetica Neue;
477 font-weight:200;
478 text-align:center;
479}*/
480
481div.graph
482{
483 height:340px;
484}
485
486div.numeral
487{
488 height:120px;
489}
490
491div.heading
492{
493 height:10px;
494}
495
496div.padding
497{
498 height:20px;
499}
500
501div.chartContainer
502{
503 /*background-image:url('chartsBg.jpg');*/
504 width:527px;
505 height:400px;
506 border:1px;
507}
508
509/* D3 */
510
511.axis path,
512.axis line {
513 fill: none;
514 stroke: #ffffff;
515 opacity: 0.7;
516 shape-rendering: crispEdges;
517}
518
519
520.x.axis path {
521 display: none;
522}
523
524.x.axis text {
525 fill: white;
526 opacity: 0.5;
527}
528
529.y.axis text {
530 opacity: 0.5;
531 fill: white;
532}
533
534.y.axis text.legend {
535 opacity: 1.0;
536 fill: white;
537 font-size:8pt;
538}
539
540.line {
541 fill: none;
542 stroke: white;
543 stroke-width: 3px;
544 opacity: 0.6;
545}
546
547
548/****** Added in so that we can have a loader show as charts get ready to render ***/
549.loading {
550 //background-color: orange;
551 background-image: url(spinner.gif) no-repeat center middle;
552 text-align: center;
553 font-size: 20px;
554 height: 100%;
555/* width: auto;*/
556 float: left;
557 padding: 10px;
558}
559/* Charts CSS */
560
561#tabs-4 {
562 margin: 40px;
563 font-size: 24px;
564 font-weight: bold;
565}
566
567.tenant-row{
568 padding-bottom: 0.7%;
569}
570
571/***********TENANT VIEW*************/
572
573#image-dropdown,#slice-image-value,#adv-slice-image-value{
574 margin-left: 5%;
575}
576
577
578#adv-slice-image-value{
579margin-right: 0.5%;
580}
581
582#adv-network-value {
583margin-right: 0.3%;
584}
585
586#network-dropdown,#adv-network-dropdown,#adv-network-value{
587 margin-left: 3.7%;
588}
589
590#service-level-dropdown,#service-level-value,#adv-service-level-dropdown,#adv-service-level-value{
591 margin-left: 0.2% !important;
592}
593
594#slice-name-value,#adv-slice-name-value{
595 margin-left: 2%;
596}
597#adv-dataset-dropdown{
598margin-left: 3.7%;
599}
600#advanced-tenant,#basic-tenant,#instance-btn,#save-btn{
601 float:right;
602}
603 #delete-slice-btn,#download-details,#add-user-btn{
604 margin-left:1%;
605}
606
607#instance-btn,#save-btn,#create-slice-btn,#delete-slice-btn,#add-user-btn,#download-details{
608 margin-top:1%;
609}
610
611.tenantDialog.ui-widget input{
612 border-radius: 0px !important;
613 height: 12px !important;
614 width: 180px !important;
615 margin-right: 10% !important;
616 float: right;
617}
618
619.tenantDialog .ui-dialog-buttonset .ui-button{
620border-radius: 0 !important;
621background-color: grey !important;
622font-weight: bold !important;
623font-size: 0.9em !important;
624}
625
626.tenantDialog .ui-dialog-titlebar{
627border-radius: 0 !important;
628background-color: grey !important;
629}
630
631.create-slice-row{
632 margin-bottom: 4%;
633 clear: both;
634 height: 25px;
635}
636
637.create-slice-row label, .tenantDialog label{
638 margin-right:1%;
639 float:left;
640}
641
642.create-slice-row select{
643 height:24px;
644 width: 196px;
645 font-size: 0.9em !important;
646}
647
648.tenant-create-slice{
649 float:right;
650 margin-right: 10% !important;
651}
652
653#delete-slice{
654float: right;
655}
656
657#tooltip,#adv-tooltip,#basic-tooltip{
658font-size:0.7em;
659color:red;
660display:none;
661}
662
663#tenantSliceDataWrapper {
664 padding: 1% 0;
665}
666
667#advancedTenantSliceDataWrapper .help-inline{
668 font-size: 11px;
669 color: #999;
670 padding-bottom: 1%;
671}
672
673.create-slice-row label{
674 clear:both;
675 margin-right: 1%;
676}
677
678#advNumOfInstances{
679 margin-right: 1% !important;
680}
681
682#private-vol-checkbox{
683margin: 0 0 1% 1%;
684}
685
686.public-key-warning{
687text-align: center;
688display:none;
689}
690
691#private-vol{
692margin-right: 15% !important;
693}
694.customize_row {
695 display: table;
696}
697.customize_column {
698 display: table-cell;
699 padding: 10px;
700}
701
702.request-form-row{
703padding:1% 8%;
704}
705
706.requestDialog{
707background-color: white;
708border-radius: 8px;
709width: 30% !important;
710height: 40% !important;
711margin-top: -16%;
712top: -103.703125px !important;
713}
714
715.request-form-row label{
716 float: left;
717}
718
719
720.requestDialog .ui-dialog-buttonset .ui-button{
721border-radius: 0 !important;
722background-color: grey !important;
723font-weight: bold !important;
724font-size: 0.9em !important;
725}
726
727.requestDialog .ui-dialog-titlebar-close{
728float:right;
729}
730
731#request-signup{
732height: 40px !important;
733margin: 0 14%;
734float: left;
735background-color: #448CCA;
736background-image: none;
737width: 70% !important;
738}
739
740.requestDialog .ui-dialog-titlebar{
741border-radius: 0 !important;
742height: 25px;
743padding-top: 2%;
744}
745
746.requestDialog #ui-id-1{
747padding-left: 28%;
748font-size: medium;
749}
750
751#request-site-name{
752 width: 98%;
753}
754
755/* SUIT CHANGES */
756
757.form-buttons {
758 margin-top: 20px;
759 padding: 10px;
760 border-top: 1px solid #cccccc;
761}
762
Matteo Scandolof0e1c062016-03-25 17:52:42 -0700763.form-horizontal .selector .selector-chooser li .selector-remove,
764.form-horizontal .selector .selector-chooser li .selector-remove:hover{
765 @include button-size($padding-base-vertical, $padding-base-horizontal, $font-size-base, $line-height-base, $btn-border-radius-base);
766 @include button-variant($btn-danger-color, $btn-danger-bg, $btn-danger-border);
767}
Matteo Scandolo56304cf2016-03-24 17:28:33 -0700768
Matteo Scandolof0e1c062016-03-25 17:52:42 -0700769.form-horizontal .selector .selector-chooser li .selector-add,
770.form-horizontal .selector .selector-chooser li .selector-add:hover{
771 margin-bottom: $form-group-margin-bottom;
772 @include button-size($padding-base-vertical, $padding-base-horizontal, $font-size-base, $line-height-base, $btn-border-radius-base);
773 @include button-variant($btn-success-color, $btn-success-bg, $btn-success-border);
Matteo Scandolo56304cf2016-03-24 17:28:33 -0700774}
775
776/* MODAL */
777.ui-dialog{
778 z-index: 4000 !important;
779}
780
781button.ui-dialog-titlebar-close{
782 font-family: 'Glyphicons Halflings' !important;
783 display: inline-block;
784}
785
786button.ui-dialog-titlebar-close:after {
787 content: "\e014";
788}
789/* VCPe ADMIN FIX
790form#vcpeservice_form ul li {
791 display: inline-block;
792 background: red;
793 margin-top: 10px;
794 width: auto;
795 padding: 10px;
796 border-radius: 5px;
797}
798*/