blob: c532e49e9c103c62882f0ef37ebd966dcecf89cb [file] [log] [blame]
Matteo Scandolobf14f882016-06-02 10:01:34 -07001
2@import './vars.scss';
3@import '../bower_components/bootstrap-sass/assets/stylesheets/_bootstrap.scss';
4@import './bootstrap_overrides.scss';
5@import './loader.scss';
Matteo Scandoloa3844ec2016-06-02 15:45:19 -07006@import './home.scss';
Matteo Scandolobe342fa2016-06-08 15:54:55 -07007@import './enode-list.scss';
Matteo Scandolob2946032016-06-10 11:24:58 -07008@import './enode-details.scss';
Matteo Scandolo51365872016-06-03 10:00:05 -07009@import './animation.scss';
Matteo Scandolobf14f882016-06-02 10:01:34 -070010
11/* Global styles
12-------------------------------------------------- */
13
14body {
Matteo Scandolobf7c3662016-06-02 20:30:15 -070015 background-color: $background-color;
16 background-image: url($background-image);
17}
18
19.primary {
20 color: $brand-primary;
Matteo Scandolobf14f882016-06-02 10:01:34 -070021}
22
Matteo Scandoloe23060c2016-06-14 14:50:23 -070023[ui-view] {
24 padding-top: 0px;
25 display: block;
26
27 .container-fluid {
28 margin-bottom: $footer-height + 20;
29 }
30}
31
Matteo Scandolobe342fa2016-06-08 15:54:55 -070032/* XOS Lib Fix
33-------------------------------------------------- */
Matteo Scandoloed9e3ec2016-06-13 15:20:11 -070034.btn + .btn {
35 margin-left: $form-group-margin-bottom;
36}
Matteo Scandolobe342fa2016-06-08 15:54:55 -070037xos-form{
Matteo Scandoloed9e3ec2016-06-13 15:20:11 -070038 .form-group:last-child {
39 text-align: right;
40 }
41}
42
43.row > .col-xs-12.text-right {
44 a.btn.btn-success{
45 margin: $form-group-margin-bottom 0;
Matteo Scandolobe342fa2016-06-08 15:54:55 -070046 }
47}
48
Matteo Scandolobf14f882016-06-02 10:01:34 -070049/* Navigation styles
50-------------------------------------------------- */
51nav {
52 .navbar-brand {
53 padding-top: 0;
54 img {
55 width: 130px;
56 }
57 }
58
59 @media (max-width: $screen-sm-min){
60 .navbar-nav.pull-right{
61 float: none !important;
62 }
63 }
64
65 li:hover,
66 li.active {
67 border-bottom: 2px solid $brand-primary;
68 }
69
70 li {
71 border-bottom: 2px solid transparent;
72
73 a {
74 padding-top: 10px !important;
75 padding-bottom: 10px !important;
76 margin-top: 5px;
77 }
78 }
79}
80
81body {
Matteo Scandoloa3844ec2016-06-02 15:45:19 -070082 padding-top: 51px;
83 padding-bottom: 30px;
Matteo Scandolobf14f882016-06-02 10:01:34 -070084}
85
86#icon-defs {
87 display: none;
88}
89
90/* Sticky footer styles
91-------------------------------------------------- */
92html {
93 margin: 0px;
94 padding: 0px;
95}
96
97html, body {
98 position: relative;
99 min-height: 100%;
100 height: 100%;
101}
102
103.app-wrapper {
104 position: relative;
105}
106
Matteo Scandolo8cb844e2016-06-02 11:39:02 -0700107[ui-view] {
Matteo Scandolobf14f882016-06-02 10:01:34 -0700108 position: absolute;
109 width: 100%;
110}
111
Matteo Scandolo8cb844e2016-06-02 11:39:02 -0700112[ui-view],
Matteo Scandolobf14f882016-06-02 10:01:34 -0700113.app-wrapper {
114 min-height: 100%;
115 height: 100%;
116}
117
Matteo Scandolo8cb844e2016-06-02 11:39:02 -0700118[ui-view] .container {
Matteo Scandolobf14f882016-06-02 10:01:34 -0700119 padding-bottom: 30px;
120}
121
122.footer {
123 position: fixed;
124 bottom: 0;
125 width: 100%;
126 /* Set the fixed height of the footer here */
Matteo Scandoloe23060c2016-06-14 14:50:23 -0700127 height: $footer-height;
Matteo Scandolobf14f882016-06-02 10:01:34 -0700128 line-height: 30px;
129 background-color: #f5f5f5;
130 z-index: 100;
131 box-shadow: 0 10px 5px 10px gray;
132}
133
Matteo Scandolobf14f882016-06-02 10:01:34 -0700134/* Buttons addictional styles
135-------------------------------------------------- */
136.btn-primary-border {
137 @include button-variant($btn-primary-bg, $btn-primary-color, $btn-primary-border);
Matteo Scandolob2946032016-06-10 11:24:58 -0700138
139 &.active {
140 @include button-variant($btn-primary-color, $btn-primary-bg, $btn-primary-border);
141 }
Matteo Scandolobf14f882016-06-02 10:01:34 -0700142}
143
Matteo Scandoloe23060c2016-06-14 14:50:23 -0700144.btn-danger-border {
145 @include button-variant($btn-danger-bg, $btn-danger-color, $btn-danger-border);
146
147 &.active {
148 @include button-variant($btn-danger-color, $btn-danger-bg, $btn-danger-border);
149 }
150}
151
Matteo Scandolobf14f882016-06-02 10:01:34 -0700152/* Login page styles
153-------------------------------------------------- */
154.login {
155 background: url('../imgs/login.jpg');
156 background-size: contain;
157 min-height: 100%;
158 background-repeat: no-repeat ;
159 background-position: center ;
160
161 display: flex;
162 align-items: center;
163 justify-content: center;
164
165 .login-wrapper {
166 background: rgba(255, 255, 255, 0.7);
167 box-shadow: 5px 5px 15px #666;
168 width: 260px;
169 padding: 20px;
170 }
171
172 @media (max-width: $screen-sm-min){
173 .login-wrapper{
174 width: 100%;
175 }
176 }
177}
178
Matteo Scandoloa3844ec2016-06-02 15:45:19 -0700179/* Bundle page styles
Matteo Scandolobf14f882016-06-02 10:01:34 -0700180-------------------------------------------------- */
Matteo Scandoloa3844ec2016-06-02 15:45:19 -0700181[bundle-available] {
182 margin-top: 20px;
Matteo Scandolobf14f882016-06-02 10:01:34 -0700183}
184
Matteo Scandoloa3844ec2016-06-02 15:45:19 -0700185img {
186 animation: fadein 2s ease-in-out;
187}
Matteo Scandolobf14f882016-06-02 10:01:34 -0700188
Matteo Scandolo2c2c8af2016-06-03 15:36:02 -0700189ng-map img {
190 animation: none;
191}
192