blob: 02d062a06ee297059a91952516b33c61dd8ecfaa [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 Scandolo51365872016-06-03 10:00:05 -07008@import './animation.scss';
Matteo Scandolobf14f882016-06-02 10:01:34 -07009
10/* Global styles
11-------------------------------------------------- */
12
13body {
Matteo Scandolobf7c3662016-06-02 20:30:15 -070014 background-color: $background-color;
15 background-image: url($background-image);
16}
17
18.primary {
19 color: $brand-primary;
Matteo Scandolobf14f882016-06-02 10:01:34 -070020}
21
Matteo Scandolobe342fa2016-06-08 15:54:55 -070022/* XOS Lib Fix
23-------------------------------------------------- */
24xos-form{
25 button + button {
26 margin-left: $form-group-margin-bottom;
27 }
28}
29
Matteo Scandolobf14f882016-06-02 10:01:34 -070030/* Navigation styles
31-------------------------------------------------- */
32nav {
33 .navbar-brand {
34 padding-top: 0;
35 img {
36 width: 130px;
37 }
38 }
39
40 @media (max-width: $screen-sm-min){
41 .navbar-nav.pull-right{
42 float: none !important;
43 }
44 }
45
46 li:hover,
47 li.active {
48 border-bottom: 2px solid $brand-primary;
49 }
50
51 li {
52 border-bottom: 2px solid transparent;
53
54 a {
55 padding-top: 10px !important;
56 padding-bottom: 10px !important;
57 margin-top: 5px;
58 }
59 }
60}
61
62body {
Matteo Scandoloa3844ec2016-06-02 15:45:19 -070063 padding-top: 51px;
64 padding-bottom: 30px;
Matteo Scandolobf14f882016-06-02 10:01:34 -070065}
66
67#icon-defs {
68 display: none;
69}
70
71/* Sticky footer styles
72-------------------------------------------------- */
73html {
74 margin: 0px;
75 padding: 0px;
76}
77
78html, body {
79 position: relative;
80 min-height: 100%;
81 height: 100%;
82}
83
84.app-wrapper {
85 position: relative;
86}
87
Matteo Scandolo8cb844e2016-06-02 11:39:02 -070088[ui-view] {
Matteo Scandolobf14f882016-06-02 10:01:34 -070089 position: absolute;
90 width: 100%;
91}
92
Matteo Scandolo8cb844e2016-06-02 11:39:02 -070093[ui-view],
Matteo Scandolobf14f882016-06-02 10:01:34 -070094.app-wrapper {
95 min-height: 100%;
96 height: 100%;
97}
98
Matteo Scandolo8cb844e2016-06-02 11:39:02 -070099[ui-view] .container {
Matteo Scandolobf14f882016-06-02 10:01:34 -0700100 padding-bottom: 30px;
101}
102
103.footer {
104 position: fixed;
105 bottom: 0;
106 width: 100%;
107 /* Set the fixed height of the footer here */
108 height: 30px;
109 line-height: 30px;
110 background-color: #f5f5f5;
111 z-index: 100;
112 box-shadow: 0 10px 5px 10px gray;
113}
114
Matteo Scandolobf14f882016-06-02 10:01:34 -0700115/* Buttons addictional styles
116-------------------------------------------------- */
117.btn-primary-border {
118 @include button-variant($btn-primary-bg, $btn-primary-color, $btn-primary-border);
119}
120
121/* Login page styles
122-------------------------------------------------- */
123.login {
124 background: url('../imgs/login.jpg');
125 background-size: contain;
126 min-height: 100%;
127 background-repeat: no-repeat ;
128 background-position: center ;
129
130 display: flex;
131 align-items: center;
132 justify-content: center;
133
134 .login-wrapper {
135 background: rgba(255, 255, 255, 0.7);
136 box-shadow: 5px 5px 15px #666;
137 width: 260px;
138 padding: 20px;
139 }
140
141 @media (max-width: $screen-sm-min){
142 .login-wrapper{
143 width: 100%;
144 }
145 }
146}
147
Matteo Scandoloa3844ec2016-06-02 15:45:19 -0700148/* Bundle page styles
Matteo Scandolobf14f882016-06-02 10:01:34 -0700149-------------------------------------------------- */
Matteo Scandoloa3844ec2016-06-02 15:45:19 -0700150[bundle-available] {
151 margin-top: 20px;
Matteo Scandolobf14f882016-06-02 10:01:34 -0700152}
153
Matteo Scandoloa3844ec2016-06-02 15:45:19 -0700154img {
155 animation: fadein 2s ease-in-out;
156}
Matteo Scandolobf14f882016-06-02 10:01:34 -0700157
Matteo Scandolo2c2c8af2016-06-03 15:36:02 -0700158ng-map img {
159 animation: none;
160}
161