Matteo Scandolo | 2500e39 | 2016-03-25 17:20:27 -0700 | [diff] [blame] | 1 | /************************* NAV *************************/ |
| 2 | |
Arpit Agarwal | 701d8dc | 2016-07-18 14:01:39 -0700 | [diff] [blame] | 3 | @import "../bootstrap/bootstrap/_variables.scss"; |
| 4 | |
Matteo Scandolo | 2500e39 | 2016-03-25 17:20:27 -0700 | [diff] [blame] | 5 | #sidebar-wrapper { |
| 6 | -webkit-box-shadow: 3px 0px 5px 0px rgba(50, 50, 50, 0.75); |
| 7 | -moz-box-shadow: 3px 0px 5px 0px rgba(50, 50, 50, 0.75); |
| 8 | box-shadow: 3px 0px 5px 0px rgba(50, 50, 50, 0.75); |
| 9 | |
| 10 | .logo{ |
| 11 | max-width: 100%; |
| 12 | } |
| 13 | |
| 14 | a { |
| 15 | font-weight: bold; |
| 16 | } |
| 17 | |
| 18 | // ICONS |
| 19 | .icon-app { |
| 20 | background-image: url("opencloudApp.png"); |
| 21 | } |
| 22 | .icon-home { |
| 23 | /* Going with darker standard color nav -- so using over png's background-image: url("Home.png"); */ |
| 24 | background-image: url("Home.png"); |
| 25 | } |
| 26 | .icon-deployment{ |
| 27 | background-image: url("Deployments.png"); |
| 28 | } |
| 29 | .icon-site{ |
| 30 | background-image: url("Sites.png"); |
| 31 | } |
| 32 | .icon-slice{ |
| 33 | background-image: url("Slices.png"); |
| 34 | } |
| 35 | .icon-user{ |
| 36 | background-image: url("Users.png"); |
| 37 | } |
| 38 | .icon-reservation{ |
| 39 | background-image: url("Reservations.png"); |
| 40 | } |
| 41 | .icon-cog{ |
| 42 | background-image: url("Services.png"); |
| 43 | } |
| 44 | |
| 45 | // ACTIVE ICONS |
| 46 | li.active a, |
| 47 | li.focus a { |
| 48 | .icon-home{ |
| 49 | background-image: url("Home_over.png"); |
| 50 | } |
| 51 | .icon-deployment{ |
| 52 | background-image: url("Deployments_over.png"); |
| 53 | } |
| 54 | .icon-site{ |
| 55 | background-image: url("Sites_over.png"); |
| 56 | } |
| 57 | .icon-slice{ |
| 58 | background-image: url("Slices_over.png"); |
| 59 | } |
| 60 | .icon-user{ |
| 61 | background-image: url("Users_over.png"); |
| 62 | } |
| 63 | .icon-reservation{ |
| 64 | background-image: url("Reservations_over.png"); |
| 65 | } |
| 66 | .icon-cog{ |
| 67 | background-image: url("Services_over.png"); |
| 68 | } |
| 69 | } |
| 70 | |
Arpit Agarwal | 701d8dc | 2016-07-18 14:01:39 -0700 | [diff] [blame] | 71 | li{ |
| 72 | ul.dashboard-list{ |
| 73 | |
| 74 | |
| 75 | li{ |
| 76 | |
| 77 | float: none; |
| 78 | position: relative; |
| 79 | |
| 80 | // Make the list-items overlay the bottom border |
| 81 | |
| 82 | // Actual tabs (as links) |
| 83 | > a { |
| 84 | position: relative; |
| 85 | display: block; |
| 86 | padding: $nav-link-padding; |
| 87 | margin-right: 2px; |
| 88 | line-height: $line-height-base; |
| 89 | border: 1px solid transparent; |
| 90 | border-radius: $border-radius-base $border-radius-base 0 0; |
| 91 | &:hover,&:focus { |
| 92 | text-decoration: none; |
| 93 | background-color: $nav-link-hover-bg; |
| 94 | } |
| 95 | cursor: pointer; |
| 96 | |
| 97 | } |
| 98 | |
| 99 | // Active state, and its :hover to override normal :hover |
| 100 | &.active > a { |
| 101 | &, |
| 102 | &:hover, |
| 103 | &:focus { |
| 104 | border-radius: $nav-pills-border-radius; |
| 105 | color: $nav-pills-active-link-hover-color; |
| 106 | background-color: $nav-pills-active-link-hover-bg; |
| 107 | cursor: pointer; |
| 108 | } |
| 109 | } |
| 110 | |
| 111 | } |
| 112 | } |
| 113 | } |
Matteo Scandolo | 2500e39 | 2016-03-25 17:20:27 -0700 | [diff] [blame] | 114 | [class^="icon-"]{ |
| 115 | background-position: left center; |
| 116 | width:22px; |
| 117 | height:22px; |
| 118 | display: inline-block; |
| 119 | margin-right: 10px; |
| 120 | position: relative; |
| 121 | top: 5px; |
| 122 | } |
| 123 | |
| 124 | } |
| 125 | |
| 126 | /************************* END NAV *************************/ |