File tree Expand file tree Collapse file tree
stubbornjava-examples/src/main/resources
stubbornjava-webapp/ui/src/widgets/nav Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11app = "StubbornJava Examples"
2+ assets.root = "ui/assets"
Original file line number Diff line number Diff line change 1- <nav class =" navbar navbar-inverse navbar-toggleable-md fixed-top" role =" navigation" >
2- <!-- Brand and toggle get grouped for better mobile display -->
3- <button class =" navbar-toggler navbar-toggler-right" type =" button" data-toggle =" collapse" data-target =" #navbarSupportedContent" aria-controls =" navbarSupportedContent" aria-expanded =" false" aria-label =" Toggle navigation" >
4- <span class =" navbar-toggler-icon" ></span >
5- </button >
1+ <nav class =" navbar navbar-inverse fixed-top" role =" navigation" >
62 <a class =" navbar-brand logo" href =" /" >
73 <span class =" align-middle" ><img src =" /images/PenguinHQ.png" height =" 40px" > Stubborn<span class =" java" >Java</span ></span >
84 {{!-- Add this SVG instead later. I can't get CSS to work --}}
95 {{!-- <span>{{> templates/src/widgets/nav/logo }} Stubborn<span class="java">Java</span></span> --}}
106 </a >
11- <div class =" collapse navbar-collapse" id =" navbarNavDropdown" >
7+ <div class =" navbar-collapse filler " id =" navbarNavDropdown" >
128 <ul class =" navbar-nav" >
139 <li class =" nav-item dropdown" >
1410 <a class =" nav-link dropdown-toggle" href =" #" id =" navbarDropdownMenuLink" data-toggle =" dropdown" aria-haspopup =" true" aria-expanded =" false" >
2319 </ul >
2420 </div >
2521
26- <!-- Collect the nav links, forms, and other content for toggling -->
22+ <!-- Collect the nav links, forms, and other content for toggling -->
2723 <div class =" header-social" >
24+ <div class =" followus" >Follow</div >
2825 <a href =" https://twitter.com/StubbornJava" ><i class =" fa fa-twitter" aria-hidden =" true" ></i ></a >
2926 <a href =" https://github.com/StubbornJava/StubbornJava" ><i class =" fa fa-github" aria-hidden =" true" ></i ></a >
3027 </div >
Original file line number Diff line number Diff line change 33
44.navbar-inverse {
55 background-color : $theme ;
6+ flex-direction : row ;
67
78 .navbar-brand {
89 padding : 0 ;
1213 color : $gold ;
1314 }
1415
16+ .filler {
17+ display : flex ;
18+ width : 100% ;
19+ }
20+
1521 .navbar-nav {
1622 .nav-link {
1723 color : $white ;
2026
2127 .header-social {
2228 display : flex ;
29+ align-items : center ;
2330 margin-right : 1rem ;
2431 a {
2532 font-size : 2rem ;
26- margin-left : 0.5 rem ;
27- color : $theme-dark ;
33+ margin-left : 0.7 rem ;
34+ color : $gold ;
2835 :hover {
29- color : darken ($theme , 20% );
36+ color : darken ($gold , 20% );
3037 }
3138 }
3239 }
3340
41+ .followus {
42+ color : $white ;
43+ white-space : nowrap ;
44+ padding : 3px 8px ;
45+ text-align : center ;
46+ background-color : $black ;
47+ border-radius : .25rem ;
48+
49+ & :after {
50+ position : absolute ;
51+ width : 0 ;
52+ height : 0 ;
53+ border-color : transparent ;
54+ border-style : solid ;
55+ top : 50% ;
56+ margin-top : -5px ;
57+ margin-left : 8px ;
58+ content : " " ;
59+ border-width : 5px 0 5px 5px ;
60+ border-left-color : $black ;
61+ }
62+ }
63+
3464 @extend .z-depth-1 ;
3565 // a {
3666 // padding: 10px 15px;
You can’t perform that action at this time.
0 commit comments