Matteo Scandolo | bf14f88 | 2016-06-02 10:01:34 -0700 | [diff] [blame] | 1 | |
| 2 | @import './vars.scss'; |
| 3 | @import '../bower_components/bootstrap-sass/assets/stylesheets/_bootstrap.scss'; |
| 4 | @import './bootstrap_overrides.scss'; |
| 5 | @import './loader.scss'; |
Matteo Scandolo | a3844ec | 2016-06-02 15:45:19 -0700 | [diff] [blame] | 6 | @import './home.scss'; |
Matteo Scandolo | be342fa | 2016-06-08 15:54:55 -0700 | [diff] [blame] | 7 | @import './enode-list.scss'; |
Matteo Scandolo | b294603 | 2016-06-10 11:24:58 -0700 | [diff] [blame] | 8 | @import './enode-details.scss'; |
Matteo Scandolo | 5136587 | 2016-06-03 10:00:05 -0700 | [diff] [blame] | 9 | @import './animation.scss'; |
Matteo Scandolo | bf14f88 | 2016-06-02 10:01:34 -0700 | [diff] [blame] | 10 | |
| 11 | /* Global styles |
| 12 | -------------------------------------------------- */ |
| 13 | |
| 14 | body { |
Matteo Scandolo | bf7c366 | 2016-06-02 20:30:15 -0700 | [diff] [blame] | 15 | background-color: $background-color; |
| 16 | background-image: url($background-image); |
| 17 | } |
| 18 | |
| 19 | .primary { |
| 20 | color: $brand-primary; |
Matteo Scandolo | bf14f88 | 2016-06-02 10:01:34 -0700 | [diff] [blame] | 21 | } |
| 22 | |
Matteo Scandolo | e23060c | 2016-06-14 14:50:23 -0700 | [diff] [blame] | 23 | [ui-view] { |
| 24 | padding-top: 0px; |
| 25 | display: block; |
| 26 | |
| 27 | .container-fluid { |
| 28 | margin-bottom: $footer-height + 20; |
| 29 | } |
| 30 | } |
| 31 | |
Matteo Scandolo | be342fa | 2016-06-08 15:54:55 -0700 | [diff] [blame] | 32 | /* XOS Lib Fix |
| 33 | -------------------------------------------------- */ |
Matteo Scandolo | ed9e3ec | 2016-06-13 15:20:11 -0700 | [diff] [blame] | 34 | .btn + .btn { |
| 35 | margin-left: $form-group-margin-bottom; |
| 36 | } |
Matteo Scandolo | be342fa | 2016-06-08 15:54:55 -0700 | [diff] [blame] | 37 | xos-form{ |
Matteo Scandolo | ed9e3ec | 2016-06-13 15:20:11 -0700 | [diff] [blame] | 38 | .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 Scandolo | be342fa | 2016-06-08 15:54:55 -0700 | [diff] [blame] | 46 | } |
| 47 | } |
| 48 | |
Matteo Scandolo | bf14f88 | 2016-06-02 10:01:34 -0700 | [diff] [blame] | 49 | /* Navigation styles |
| 50 | -------------------------------------------------- */ |
| 51 | nav { |
| 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 | |
| 81 | body { |
Matteo Scandolo | a3844ec | 2016-06-02 15:45:19 -0700 | [diff] [blame] | 82 | padding-top: 51px; |
| 83 | padding-bottom: 30px; |
Matteo Scandolo | bf14f88 | 2016-06-02 10:01:34 -0700 | [diff] [blame] | 84 | } |
| 85 | |
| 86 | #icon-defs { |
| 87 | display: none; |
| 88 | } |
| 89 | |
| 90 | /* Sticky footer styles |
| 91 | -------------------------------------------------- */ |
| 92 | html { |
| 93 | margin: 0px; |
| 94 | padding: 0px; |
| 95 | } |
| 96 | |
| 97 | html, body { |
| 98 | position: relative; |
| 99 | min-height: 100%; |
| 100 | height: 100%; |
| 101 | } |
| 102 | |
| 103 | .app-wrapper { |
| 104 | position: relative; |
| 105 | } |
| 106 | |
Matteo Scandolo | 8cb844e | 2016-06-02 11:39:02 -0700 | [diff] [blame] | 107 | [ui-view] { |
Matteo Scandolo | bf14f88 | 2016-06-02 10:01:34 -0700 | [diff] [blame] | 108 | position: absolute; |
| 109 | width: 100%; |
| 110 | } |
| 111 | |
Matteo Scandolo | 8cb844e | 2016-06-02 11:39:02 -0700 | [diff] [blame] | 112 | [ui-view], |
Matteo Scandolo | bf14f88 | 2016-06-02 10:01:34 -0700 | [diff] [blame] | 113 | .app-wrapper { |
| 114 | min-height: 100%; |
| 115 | height: 100%; |
| 116 | } |
| 117 | |
Matteo Scandolo | 8cb844e | 2016-06-02 11:39:02 -0700 | [diff] [blame] | 118 | [ui-view] .container { |
Matteo Scandolo | bf14f88 | 2016-06-02 10:01:34 -0700 | [diff] [blame] | 119 | 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 Scandolo | e23060c | 2016-06-14 14:50:23 -0700 | [diff] [blame] | 127 | height: $footer-height; |
Matteo Scandolo | bf14f88 | 2016-06-02 10:01:34 -0700 | [diff] [blame] | 128 | line-height: 30px; |
| 129 | background-color: #f5f5f5; |
| 130 | z-index: 100; |
| 131 | box-shadow: 0 10px 5px 10px gray; |
| 132 | } |
| 133 | |
Matteo Scandolo | bf14f88 | 2016-06-02 10:01:34 -0700 | [diff] [blame] | 134 | /* Buttons addictional styles |
| 135 | -------------------------------------------------- */ |
| 136 | .btn-primary-border { |
| 137 | @include button-variant($btn-primary-bg, $btn-primary-color, $btn-primary-border); |
Matteo Scandolo | b294603 | 2016-06-10 11:24:58 -0700 | [diff] [blame] | 138 | |
| 139 | &.active { |
| 140 | @include button-variant($btn-primary-color, $btn-primary-bg, $btn-primary-border); |
| 141 | } |
Matteo Scandolo | bf14f88 | 2016-06-02 10:01:34 -0700 | [diff] [blame] | 142 | } |
| 143 | |
Matteo Scandolo | e23060c | 2016-06-14 14:50:23 -0700 | [diff] [blame] | 144 | .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 Scandolo | bf14f88 | 2016-06-02 10:01:34 -0700 | [diff] [blame] | 152 | /* 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 Scandolo | a3844ec | 2016-06-02 15:45:19 -0700 | [diff] [blame] | 179 | /* Bundle page styles |
Matteo Scandolo | bf14f88 | 2016-06-02 10:01:34 -0700 | [diff] [blame] | 180 | -------------------------------------------------- */ |
Matteo Scandolo | a3844ec | 2016-06-02 15:45:19 -0700 | [diff] [blame] | 181 | [bundle-available] { |
| 182 | margin-top: 20px; |
Matteo Scandolo | bf14f88 | 2016-06-02 10:01:34 -0700 | [diff] [blame] | 183 | } |
| 184 | |
Matteo Scandolo | a3844ec | 2016-06-02 15:45:19 -0700 | [diff] [blame] | 185 | img { |
| 186 | animation: fadein 2s ease-in-out; |
| 187 | } |
Matteo Scandolo | bf14f88 | 2016-06-02 10:01:34 -0700 | [diff] [blame] | 188 | |
Matteo Scandolo | 2c2c8af | 2016-06-03 15:36:02 -0700 | [diff] [blame] | 189 | ng-map img { |
| 190 | animation: none; |
| 191 | } |
| 192 | |