File tree Expand file tree Collapse file tree 3 files changed +96
-13
lines changed
Expand file tree Collapse file tree 3 files changed +96
-13
lines changed Original file line number Diff line number Diff line change 11<nav class =" navbar-default" >
22 <div class =" row toolbar" >
33 <div >
4+ <div class =" title" >
5+ {{ title-input value =model.description titleChanged = (action " titleChanged" )}}
6+ {{ saved-state-indicator model =model unsaved =unsaved }}
7+ </div >
8+
49 <button type =" button" class =" navbar-toggle collapsed" data-toggle =" collapse" data-target =" #collapsed-menu" aria-expanded =" false" >
510 <span class =" icon-bar" ></span >
611 <span class =" icon-bar" ></span >
712 <span class =" icon-bar" ></span >
813 </button >
914 </div >
1015 </div >
16+
1117 <div id =" collapsed-menu" class =" collapse navbar-collapse row toolbar" >
1218 <ul class =" nav-pills main-menu" >
1319 {{ file-menu model =model
3440 }}
3541 </ul >
3642
37- <div class =" title" >
38- {{ title-input value =model.description titleChanged = (action " titleChanged" )}}
39- {{ saved-state-indicator model =model unsaved =unsaved }}
40- </div >
43+ <hr >
4144
4245 {{ user-menu session =session
4346 signInViaGithub =" signInViaGithub"
Original file line number Diff line number Diff line change 11.toolbar {
22
3+ hr {
4+ display : none ;
5+ }
6+
7+ .nav-pills > li > a {
8+ display : block ;
9+ text-decoration : none ;
10+ }
11+
12+
313 @media (min-width : $screen-md-min ) {
414 height : $topbar-height ;
515 }
1020 opacity : 1 ;
1121
1222 >div , >ul {
13- height : $topbar-height ;
1423 margin-top : 0 ;
1524 margin-bottom : 0 ;
1625 }
26+
27+ .nav-pills > li {
28+ float : none ;
29+ }
30+
31+ .nav-pills > li + li {
32+ margin-left : 0 ;
33+ }
34+
35+ .dropdown-toggle {
36+ display : block ;
37+ border-radius : 0 ;
38+ }
39+
40+ .dropdown-menu {
41+ position : static ;
42+ float : none ;
43+ border : 0 ;
44+ border-radius : 0 ;
45+ background-color : #E1563F ;
46+ box-shadow : none ;
47+
48+ .dropdown-submenu > .dropdown-menu {
49+ margin-left : 1em ;
50+ margin-top : 0 ;
51+ }
52+
53+ .divider {
54+ background-color : lighten ($burnt-orange , 10% );
55+ }
56+
57+ a {
58+ color : #fff ;
59+
60+ & :hover {
61+ background-color : lighten ($burnt-orange , 10% );
62+ }
63+ }
64+ }
65+
66+ hr {
67+ display : block ;
68+ border-color : $burnt-orange ;
69+ margin : 1em 0 ;
70+ }
1771 }
1872
1973 font-size : $font-size ;
2579 box-shadow : rgba (0 ,0 ,0 ,0.3 ) 0 0 3px ;
2680
2781 button .navbar-toggle {
82+ margin-top : 13px ;
83+ margin-bottom : 13px ;
84+ border-color : $burnt-orange ;
85+
86+ @media (max-width : $screen-md-min ) {
87+ display : inline-block ;
88+ }
89+
2890 & :hover , & :active , & :focus {
2991 background : $pale-orange ;
3092 outline : none ;
3193 opacity : 0.5 ;
3294 }
95+
96+ .icon-bar {
97+ background-color : $burnt-orange ;
98+ }
3399 }
34100
35101 ul {
48114 }
49115
50116 @media (max-width : $screen-md-min ) {
51- float : right ;
117+ float : none ;
118+ text-align : left ;
119+
120+ .user-dropdown > .dropdown-toggle {
121+ padding-left : 1em ;
122+ }
52123 }
53124
54125 .user-avatar {
73144 }
74145
75146 .main-menu {
147+ text-align : left ;
148+ height : 60px ;
76149
77150 @media (min-width : $screen-md-min ) {
78151 position : absolute ;
79152 left : ($topbar-height - $topbar-control-height ) / 2 ;
80153 top : ($topbar-height - $topbar-control-height ) / 2 ;
81154 }
82155
83- text-align : left ;
84- height : 60px ;
156+ @media (max-width : $screen-md-min ) {
157+ height : auto ;
158+ }
85159 }
86160
87161 .title {
88162 padding : 13px 0 ;
89163 text-align : center ;
90- width : 100 % ;
164+ display : inline-block ;
91165
92166 @media (min-width : $screen-md-min ) {
93167 position : absolute ;
97171 width : 800px ;
98172 }
99173
174+ @media (max-width : $screen-md-min ) {
175+ margin-left : 15px ;
176+ }
177+
100178 h1 {
101179 margin : 10px ;
102180 }
217295 & .navbar-collapse {
218296 @media (max-width : $screen-md-min ) {
219297 background : $ember-orange ;
298+ padding : 0 ;
299+ border : 0 ;
220300 }
221301 }
222302
Original file line number Diff line number Diff line change 22 File <b class =" caret" ></b >
33</a >
44
5- <ul class =" dropdown dropdown -menu" >
5+ <ul class =" dropdown-menu" >
66 <li >{{ #link-to ' gist.new' class =" test-new-twiddle" }} New Twiddle{{ /link-to }} </li >
77 {{ #if model }}
88 <li role =" presentation" class =" divider" ></li >
9- <li class =" dropdown-submenu" >
9+ <li class =" dropdown dropdown -submenu" >
1010 <a tabindex =" -1" href =" #" >Add...</a >
1111 <ul class =" dropdown-menu" >
1212 <li ><a {{ action ' addFile' ' ' }} >Other (empty file)</a ></li >
13- <li class =" dropdown-submenu" >
13+ <li class =" dropdown dropdown -submenu" >
1414 <a {{ action ' addComponent' }} class =" add-component-link" >Component (js and hbs)</a >
15- <ul class =" 'dropdown dropdown-menu" >
15+ <ul class =" dropdown-menu" >
1616 <li ><a {{ action ' addFile' ' component-hbs' }} >hbs only</a ></li >
1717 <li ><a {{ action ' addFile' ' component-js' }} >js only</a ></li >
1818 </ul >
You can’t perform that action at this time.
0 commit comments