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 | -------------------------------------------------- */ |
| 25 | xos-form{ |
| 26 | button + button { |
| 27 | margin-left: $form-group-margin-bottom; |
| 28 | } |
| 29 | } |
| 30 | |
Matteo Scandolo | bf14f88 | 2016-06-02 10:01:34 -0700 | [diff] [blame] | 31 | /* Navigation styles |
| 32 | -------------------------------------------------- */ |
| 33 | nav { |
| 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 | |
| 63 | body { |
Matteo Scandolo | a3844ec | 2016-06-02 15:45:19 -0700 | [diff] [blame] | 64 | padding-top: 51px; |
| 65 | padding-bottom: 30px; |
Matteo Scandolo | bf14f88 | 2016-06-02 10:01:34 -0700 | [diff] [blame] | 66 | } |
| 67 | |
| 68 | #icon-defs { |
| 69 | display: none; |
| 70 | } |
| 71 | |
| 72 | /* Sticky footer styles |
| 73 | -------------------------------------------------- */ |
| 74 | html { |
| 75 | margin: 0px; |
| 76 | padding: 0px; |
| 77 | } |
| 78 | |
| 79 | html, body { |
| 80 | position: relative; |
| 81 | min-height: 100%; |
| 82 | height: 100%; |
| 83 | } |
| 84 | |
| 85 | .app-wrapper { |
| 86 | position: relative; |
| 87 | } |
| 88 | |
Matteo Scandolo | 8cb844e | 2016-06-02 11:39:02 -0700 | [diff] [blame] | 89 | [ui-view] { |
Matteo Scandolo | bf14f88 | 2016-06-02 10:01:34 -0700 | [diff] [blame] | 90 | position: absolute; |
| 91 | width: 100%; |
| 92 | } |
| 93 | |
Matteo Scandolo | 8cb844e | 2016-06-02 11:39:02 -0700 | [diff] [blame] | 94 | [ui-view], |
Matteo Scandolo | bf14f88 | 2016-06-02 10:01:34 -0700 | [diff] [blame] | 95 | .app-wrapper { |
| 96 | min-height: 100%; |
| 97 | height: 100%; |
| 98 | } |
| 99 | |
Matteo Scandolo | 8cb844e | 2016-06-02 11:39:02 -0700 | [diff] [blame] | 100 | [ui-view] .container { |
Matteo Scandolo | bf14f88 | 2016-06-02 10:01:34 -0700 | [diff] [blame] | 101 | 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 Scandolo | bf14f88 | 2016-06-02 10:01:34 -0700 | [diff] [blame] | 116 | /* Buttons addictional styles |
| 117 | -------------------------------------------------- */ |
| 118 | .btn-primary-border { |
| 119 | @include button-variant($btn-primary-bg, $btn-primary-color, $btn-primary-border); |
Matteo Scandolo | b294603 | 2016-06-10 11:24:58 -0700 | [diff] [blame] | 120 | |
| 121 | &.active { |
| 122 | @include button-variant($btn-primary-color, $btn-primary-bg, $btn-primary-border); |
| 123 | } |
Matteo Scandolo | bf14f88 | 2016-06-02 10:01:34 -0700 | [diff] [blame] | 124 | } |
| 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 Scandolo | a3844ec | 2016-06-02 15:45:19 -0700 | [diff] [blame] | 153 | /* Bundle page styles |
Matteo Scandolo | bf14f88 | 2016-06-02 10:01:34 -0700 | [diff] [blame] | 154 | -------------------------------------------------- */ |
Matteo Scandolo | a3844ec | 2016-06-02 15:45:19 -0700 | [diff] [blame] | 155 | [bundle-available] { |
| 156 | margin-top: 20px; |
Matteo Scandolo | bf14f88 | 2016-06-02 10:01:34 -0700 | [diff] [blame] | 157 | } |
| 158 | |
Matteo Scandolo | a3844ec | 2016-06-02 15:45:19 -0700 | [diff] [blame] | 159 | img { |
| 160 | animation: fadein 2s ease-in-out; |
| 161 | } |
Matteo Scandolo | bf14f88 | 2016-06-02 10:01:34 -0700 | [diff] [blame] | 162 | |
Matteo Scandolo | 2c2c8af | 2016-06-03 15:36:02 -0700 | [diff] [blame] | 163 | ng-map img { |
| 164 | animation: none; |
| 165 | } |
| 166 | |