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 | be342fa | 2016-06-08 15:54:55 -0700 | [diff] [blame] | 23 | /* XOS Lib Fix |
| 24 | -------------------------------------------------- */ |
Matteo Scandolo | ed9e3ec | 2016-06-13 15:20:11 -0700 | [diff] [blame] | 25 | .btn + .btn { |
| 26 | margin-left: $form-group-margin-bottom; |
| 27 | } |
Matteo Scandolo | be342fa | 2016-06-08 15:54:55 -0700 | [diff] [blame] | 28 | xos-form{ |
Matteo Scandolo | ed9e3ec | 2016-06-13 15:20:11 -0700 | [diff] [blame] | 29 | .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 Scandolo | be342fa | 2016-06-08 15:54:55 -0700 | [diff] [blame] | 37 | } |
| 38 | } |
| 39 | |
Matteo Scandolo | bf14f88 | 2016-06-02 10:01:34 -0700 | [diff] [blame] | 40 | /* Navigation styles |
| 41 | -------------------------------------------------- */ |
| 42 | nav { |
| 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 | |
| 72 | body { |
Matteo Scandolo | a3844ec | 2016-06-02 15:45:19 -0700 | [diff] [blame] | 73 | padding-top: 51px; |
| 74 | padding-bottom: 30px; |
Matteo Scandolo | bf14f88 | 2016-06-02 10:01:34 -0700 | [diff] [blame] | 75 | } |
| 76 | |
| 77 | #icon-defs { |
| 78 | display: none; |
| 79 | } |
| 80 | |
| 81 | /* Sticky footer styles |
| 82 | -------------------------------------------------- */ |
| 83 | html { |
| 84 | margin: 0px; |
| 85 | padding: 0px; |
| 86 | } |
| 87 | |
| 88 | html, body { |
| 89 | position: relative; |
| 90 | min-height: 100%; |
| 91 | height: 100%; |
| 92 | } |
| 93 | |
| 94 | .app-wrapper { |
| 95 | position: relative; |
| 96 | } |
| 97 | |
Matteo Scandolo | 8cb844e | 2016-06-02 11:39:02 -0700 | [diff] [blame] | 98 | [ui-view] { |
Matteo Scandolo | bf14f88 | 2016-06-02 10:01:34 -0700 | [diff] [blame] | 99 | position: absolute; |
| 100 | width: 100%; |
| 101 | } |
| 102 | |
Matteo Scandolo | 8cb844e | 2016-06-02 11:39:02 -0700 | [diff] [blame] | 103 | [ui-view], |
Matteo Scandolo | bf14f88 | 2016-06-02 10:01:34 -0700 | [diff] [blame] | 104 | .app-wrapper { |
| 105 | min-height: 100%; |
| 106 | height: 100%; |
| 107 | } |
| 108 | |
Matteo Scandolo | 8cb844e | 2016-06-02 11:39:02 -0700 | [diff] [blame] | 109 | [ui-view] .container { |
Matteo Scandolo | bf14f88 | 2016-06-02 10:01:34 -0700 | [diff] [blame] | 110 | 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 Scandolo | bf14f88 | 2016-06-02 10:01:34 -0700 | [diff] [blame] | 125 | /* Buttons addictional styles |
| 126 | -------------------------------------------------- */ |
| 127 | .btn-primary-border { |
| 128 | @include button-variant($btn-primary-bg, $btn-primary-color, $btn-primary-border); |
Matteo Scandolo | b294603 | 2016-06-10 11:24:58 -0700 | [diff] [blame] | 129 | |
| 130 | &.active { |
| 131 | @include button-variant($btn-primary-color, $btn-primary-bg, $btn-primary-border); |
| 132 | } |
Matteo Scandolo | bf14f88 | 2016-06-02 10:01:34 -0700 | [diff] [blame] | 133 | } |
| 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 Scandolo | a3844ec | 2016-06-02 15:45:19 -0700 | [diff] [blame] | 162 | /* Bundle page styles |
Matteo Scandolo | bf14f88 | 2016-06-02 10:01:34 -0700 | [diff] [blame] | 163 | -------------------------------------------------- */ |
Matteo Scandolo | a3844ec | 2016-06-02 15:45:19 -0700 | [diff] [blame] | 164 | [bundle-available] { |
| 165 | margin-top: 20px; |
Matteo Scandolo | bf14f88 | 2016-06-02 10:01:34 -0700 | [diff] [blame] | 166 | } |
| 167 | |
Matteo Scandolo | a3844ec | 2016-06-02 15:45:19 -0700 | [diff] [blame] | 168 | img { |
| 169 | animation: fadein 2s ease-in-out; |
| 170 | } |
Matteo Scandolo | bf14f88 | 2016-06-02 10:01:34 -0700 | [diff] [blame] | 171 | |
Matteo Scandolo | 2c2c8af | 2016-06-03 15:36:02 -0700 | [diff] [blame] | 172 | ng-map img { |
| 173 | animation: none; |
| 174 | } |
| 175 | |