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 | 5136587 | 2016-06-03 10:00:05 -0700 | [diff] [blame] | 8 | @import './animation.scss'; |
Matteo Scandolo | bf14f88 | 2016-06-02 10:01:34 -0700 | [diff] [blame] | 9 | |
| 10 | /* Global styles |
| 11 | -------------------------------------------------- */ |
| 12 | |
| 13 | body { |
Matteo Scandolo | bf7c366 | 2016-06-02 20:30:15 -0700 | [diff] [blame] | 14 | background-color: $background-color; |
| 15 | background-image: url($background-image); |
| 16 | } |
| 17 | |
| 18 | .primary { |
| 19 | color: $brand-primary; |
Matteo Scandolo | bf14f88 | 2016-06-02 10:01:34 -0700 | [diff] [blame] | 20 | } |
| 21 | |
Matteo Scandolo | be342fa | 2016-06-08 15:54:55 -0700 | [diff] [blame^] | 22 | /* XOS Lib Fix |
| 23 | -------------------------------------------------- */ |
| 24 | xos-form{ |
| 25 | button + button { |
| 26 | margin-left: $form-group-margin-bottom; |
| 27 | } |
| 28 | } |
| 29 | |
Matteo Scandolo | bf14f88 | 2016-06-02 10:01:34 -0700 | [diff] [blame] | 30 | /* Navigation styles |
| 31 | -------------------------------------------------- */ |
| 32 | nav { |
| 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 | |
| 62 | body { |
Matteo Scandolo | a3844ec | 2016-06-02 15:45:19 -0700 | [diff] [blame] | 63 | padding-top: 51px; |
| 64 | padding-bottom: 30px; |
Matteo Scandolo | bf14f88 | 2016-06-02 10:01:34 -0700 | [diff] [blame] | 65 | } |
| 66 | |
| 67 | #icon-defs { |
| 68 | display: none; |
| 69 | } |
| 70 | |
| 71 | /* Sticky footer styles |
| 72 | -------------------------------------------------- */ |
| 73 | html { |
| 74 | margin: 0px; |
| 75 | padding: 0px; |
| 76 | } |
| 77 | |
| 78 | html, body { |
| 79 | position: relative; |
| 80 | min-height: 100%; |
| 81 | height: 100%; |
| 82 | } |
| 83 | |
| 84 | .app-wrapper { |
| 85 | position: relative; |
| 86 | } |
| 87 | |
Matteo Scandolo | 8cb844e | 2016-06-02 11:39:02 -0700 | [diff] [blame] | 88 | [ui-view] { |
Matteo Scandolo | bf14f88 | 2016-06-02 10:01:34 -0700 | [diff] [blame] | 89 | position: absolute; |
| 90 | width: 100%; |
| 91 | } |
| 92 | |
Matteo Scandolo | 8cb844e | 2016-06-02 11:39:02 -0700 | [diff] [blame] | 93 | [ui-view], |
Matteo Scandolo | bf14f88 | 2016-06-02 10:01:34 -0700 | [diff] [blame] | 94 | .app-wrapper { |
| 95 | min-height: 100%; |
| 96 | height: 100%; |
| 97 | } |
| 98 | |
Matteo Scandolo | 8cb844e | 2016-06-02 11:39:02 -0700 | [diff] [blame] | 99 | [ui-view] .container { |
Matteo Scandolo | bf14f88 | 2016-06-02 10:01:34 -0700 | [diff] [blame] | 100 | 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 Scandolo | bf14f88 | 2016-06-02 10:01:34 -0700 | [diff] [blame] | 115 | /* 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 Scandolo | a3844ec | 2016-06-02 15:45:19 -0700 | [diff] [blame] | 148 | /* Bundle page styles |
Matteo Scandolo | bf14f88 | 2016-06-02 10:01:34 -0700 | [diff] [blame] | 149 | -------------------------------------------------- */ |
Matteo Scandolo | a3844ec | 2016-06-02 15:45:19 -0700 | [diff] [blame] | 150 | [bundle-available] { |
| 151 | margin-top: 20px; |
Matteo Scandolo | bf14f88 | 2016-06-02 10:01:34 -0700 | [diff] [blame] | 152 | } |
| 153 | |
Matteo Scandolo | a3844ec | 2016-06-02 15:45:19 -0700 | [diff] [blame] | 154 | img { |
| 155 | animation: fadein 2s ease-in-out; |
| 156 | } |
Matteo Scandolo | bf14f88 | 2016-06-02 10:01:34 -0700 | [diff] [blame] | 157 | |
Matteo Scandolo | 2c2c8af | 2016-06-03 15:36:02 -0700 | [diff] [blame] | 158 | ng-map img { |
| 159 | animation: none; |
| 160 | } |
| 161 | |