blob: c1a5cd009c0a2453f2ae9888cd388aa8c274a13b [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-------------------------------------------------- */
Matteo Scandoloed9e3ec2016-06-13 15:20:11 -070025.btn + .btn {
26 margin-left: $form-group-margin-bottom;
27}
Matteo Scandolobe342fa2016-06-08 15:54:55 -070028xos-form{
Matteo Scandoloed9e3ec2016-06-13 15:20:11 -070029 .form-group:last-child {
30 text-align: right;
31 }
32}
33
34.row > .col-xs-12.text-right {
35 a.btn.btn-success{
36 margin: $form-group-margin-bottom 0;
Matteo Scandolobe342fa2016-06-08 15:54:55 -070037 }
38}
39
Matteo Scandolobf14f882016-06-02 10:01:34 -070040/* Navigation styles
41-------------------------------------------------- */
42nav {
43 .navbar-brand {
44 padding-top: 0;
45 img {
46 width: 130px;
47 }
48 }
49
50 @media (max-width: $screen-sm-min){
51 .navbar-nav.pull-right{
52 float: none !important;
53 }
54 }
55
56 li:hover,
57 li.active {
58 border-bottom: 2px solid $brand-primary;
59 }
60
61 li {
62 border-bottom: 2px solid transparent;
63
64 a {
65 padding-top: 10px !important;
66 padding-bottom: 10px !important;
67 margin-top: 5px;
68 }
69 }
70}
71
72body {
Matteo Scandoloa3844ec2016-06-02 15:45:19 -070073 padding-top: 51px;
74 padding-bottom: 30px;
Matteo Scandolobf14f882016-06-02 10:01:34 -070075}
76
77#icon-defs {
78 display: none;
79}
80
81/* Sticky footer styles
82-------------------------------------------------- */
83html {
84 margin: 0px;
85 padding: 0px;
86}
87
88html, body {
89 position: relative;
90 min-height: 100%;
91 height: 100%;
92}
93
94.app-wrapper {
95 position: relative;
96}
97
Matteo Scandolo8cb844e2016-06-02 11:39:02 -070098[ui-view] {
Matteo Scandolobf14f882016-06-02 10:01:34 -070099 position: absolute;
100 width: 100%;
101}
102
Matteo Scandolo8cb844e2016-06-02 11:39:02 -0700103[ui-view],
Matteo Scandolobf14f882016-06-02 10:01:34 -0700104.app-wrapper {
105 min-height: 100%;
106 height: 100%;
107}
108
Matteo Scandolo8cb844e2016-06-02 11:39:02 -0700109[ui-view] .container {
Matteo Scandolobf14f882016-06-02 10:01:34 -0700110 padding-bottom: 30px;
111}
112
113.footer {
114 position: fixed;
115 bottom: 0;
116 width: 100%;
117 /* Set the fixed height of the footer here */
118 height: 30px;
119 line-height: 30px;
120 background-color: #f5f5f5;
121 z-index: 100;
122 box-shadow: 0 10px 5px 10px gray;
123}
124
Matteo Scandolobf14f882016-06-02 10:01:34 -0700125/* Buttons addictional styles
126-------------------------------------------------- */
127.btn-primary-border {
128 @include button-variant($btn-primary-bg, $btn-primary-color, $btn-primary-border);
Matteo Scandolob2946032016-06-10 11:24:58 -0700129
130 &.active {
131 @include button-variant($btn-primary-color, $btn-primary-bg, $btn-primary-border);
132 }
Matteo Scandolobf14f882016-06-02 10:01:34 -0700133}
134
135/* Login page styles
136-------------------------------------------------- */
137.login {
138 background: url('../imgs/login.jpg');
139 background-size: contain;
140 min-height: 100%;
141 background-repeat: no-repeat ;
142 background-position: center ;
143
144 display: flex;
145 align-items: center;
146 justify-content: center;
147
148 .login-wrapper {
149 background: rgba(255, 255, 255, 0.7);
150 box-shadow: 5px 5px 15px #666;
151 width: 260px;
152 padding: 20px;
153 }
154
155 @media (max-width: $screen-sm-min){
156 .login-wrapper{
157 width: 100%;
158 }
159 }
160}
161
Matteo Scandoloa3844ec2016-06-02 15:45:19 -0700162/* Bundle page styles
Matteo Scandolobf14f882016-06-02 10:01:34 -0700163-------------------------------------------------- */
Matteo Scandoloa3844ec2016-06-02 15:45:19 -0700164[bundle-available] {
165 margin-top: 20px;
Matteo Scandolobf14f882016-06-02 10:01:34 -0700166}
167
Matteo Scandoloa3844ec2016-06-02 15:45:19 -0700168img {
169 animation: fadein 2s ease-in-out;
170}
Matteo Scandolobf14f882016-06-02 10:01:34 -0700171
Matteo Scandolo2c2c8af2016-06-03 15:36:02 -0700172ng-map img {
173 animation: none;
174}
175