blob: 9cb41b0efda7c719b5b659b6abc77e1bfdb4642c [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 Scandolobe342fa2016-06-08 15:54:55 -070023/* XOS Lib Fix
24-------------------------------------------------- */
25xos-form{
26 button + button {
27 margin-left: $form-group-margin-bottom;
28 }
29}
30
Matteo Scandolobf14f882016-06-02 10:01:34 -070031/* Navigation styles
32-------------------------------------------------- */
33nav {
34 .navbar-brand {
35 padding-top: 0;
36 img {
37 width: 130px;
38 }
39 }
40
41 @media (max-width: $screen-sm-min){
42 .navbar-nav.pull-right{
43 float: none !important;
44 }
45 }
46
47 li:hover,
48 li.active {
49 border-bottom: 2px solid $brand-primary;
50 }
51
52 li {
53 border-bottom: 2px solid transparent;
54
55 a {
56 padding-top: 10px !important;
57 padding-bottom: 10px !important;
58 margin-top: 5px;
59 }
60 }
61}
62
63body {
Matteo Scandoloa3844ec2016-06-02 15:45:19 -070064 padding-top: 51px;
65 padding-bottom: 30px;
Matteo Scandolobf14f882016-06-02 10:01:34 -070066}
67
68#icon-defs {
69 display: none;
70}
71
72/* Sticky footer styles
73-------------------------------------------------- */
74html {
75 margin: 0px;
76 padding: 0px;
77}
78
79html, body {
80 position: relative;
81 min-height: 100%;
82 height: 100%;
83}
84
85.app-wrapper {
86 position: relative;
87}
88
Matteo Scandolo8cb844e2016-06-02 11:39:02 -070089[ui-view] {
Matteo Scandolobf14f882016-06-02 10:01:34 -070090 position: absolute;
91 width: 100%;
92}
93
Matteo Scandolo8cb844e2016-06-02 11:39:02 -070094[ui-view],
Matteo Scandolobf14f882016-06-02 10:01:34 -070095.app-wrapper {
96 min-height: 100%;
97 height: 100%;
98}
99
Matteo Scandolo8cb844e2016-06-02 11:39:02 -0700100[ui-view] .container {
Matteo Scandolobf14f882016-06-02 10:01:34 -0700101 padding-bottom: 30px;
102}
103
104.footer {
105 position: fixed;
106 bottom: 0;
107 width: 100%;
108 /* Set the fixed height of the footer here */
109 height: 30px;
110 line-height: 30px;
111 background-color: #f5f5f5;
112 z-index: 100;
113 box-shadow: 0 10px 5px 10px gray;
114}
115
Matteo Scandolobf14f882016-06-02 10:01:34 -0700116/* Buttons addictional styles
117-------------------------------------------------- */
118.btn-primary-border {
119 @include button-variant($btn-primary-bg, $btn-primary-color, $btn-primary-border);
Matteo Scandolob2946032016-06-10 11:24:58 -0700120
121 &.active {
122 @include button-variant($btn-primary-color, $btn-primary-bg, $btn-primary-border);
123 }
Matteo Scandolobf14f882016-06-02 10:01:34 -0700124}
125
126/* Login page styles
127-------------------------------------------------- */
128.login {
129 background: url('../imgs/login.jpg');
130 background-size: contain;
131 min-height: 100%;
132 background-repeat: no-repeat ;
133 background-position: center ;
134
135 display: flex;
136 align-items: center;
137 justify-content: center;
138
139 .login-wrapper {
140 background: rgba(255, 255, 255, 0.7);
141 box-shadow: 5px 5px 15px #666;
142 width: 260px;
143 padding: 20px;
144 }
145
146 @media (max-width: $screen-sm-min){
147 .login-wrapper{
148 width: 100%;
149 }
150 }
151}
152
Matteo Scandoloa3844ec2016-06-02 15:45:19 -0700153/* Bundle page styles
Matteo Scandolobf14f882016-06-02 10:01:34 -0700154-------------------------------------------------- */
Matteo Scandoloa3844ec2016-06-02 15:45:19 -0700155[bundle-available] {
156 margin-top: 20px;
Matteo Scandolobf14f882016-06-02 10:01:34 -0700157}
158
Matteo Scandoloa3844ec2016-06-02 15:45:19 -0700159img {
160 animation: fadein 2s ease-in-out;
161}
Matteo Scandolobf14f882016-06-02 10:01:34 -0700162
Matteo Scandolo2c2c8af2016-06-03 15:36:02 -0700163ng-map img {
164 animation: none;
165}
166