[Notice] Announcing the End of Demo Server [Read me]
ProjectHeader: Change background color to Translucent and position property to absolute
@6c45efd2da7722ca79c3a82d89e7edc92becef92
--- app/assets/stylesheets/less/_page.less
+++ app/assets/stylesheets/less/_page.less
... | ... | @@ -33,6 +33,21 @@ |
33 | 33 |
.gnb-outer { |
34 | 34 |
height:40px; |
35 | 35 |
background-color:#1d2d46; |
36 |
+ |
|
37 |
+ &.project-header { |
|
38 |
+ background-color: rgba(0, 0, 0, 0.35); |
|
39 |
+ position: absolute; |
|
40 |
+ width: 100%; |
|
41 |
+ z-index: 10000; |
|
42 |
+ |
|
43 |
+ .gnb-inner { |
|
44 |
+ .logo { |
|
45 |
+ &:before, &:after { |
|
46 |
+ display: none; |
|
47 |
+ } |
|
48 |
+ } |
|
49 |
+ } |
|
50 |
+ } |
|
36 | 51 |
} |
37 | 52 |
|
38 | 53 |
.gnb-inner { |
... | ... | @@ -229,9 +244,8 @@ |
229 | 244 |
|
230 | 245 |
.project-header-outer { |
231 | 246 |
background-color: #565656; |
232 |
- height:80px; |
|
233 |
- background-clip: padding-box; |
|
234 |
- background-position: bottom; |
|
247 |
+ height:120px; |
|
248 |
+ background-position: center bottom; |
|
235 | 249 |
background-repeat: no-repeat; |
236 | 250 |
background-size: cover; |
237 | 251 |
|
--- app/views/projectLayout.scala.html
+++ app/views/projectLayout.scala.html
... | ... | @@ -23,7 +23,7 @@ |
23 | 23 |
@import utils._ |
24 | 24 |
|
25 | 25 |
@layout(Messages(title) + " (" + project.name + ")")("prj") { |
26 |
- @common.navbar(menuType) |
|
26 |
+ @common.navbar(menuType, true) |
|
27 | 27 |
|
28 | 28 |
@views.html.project.header(project) |
29 | 29 |
|
--- app/views/siteLayout.scala.html
+++ app/views/siteLayout.scala.html
... | ... | @@ -23,7 +23,7 @@ |
23 | 23 |
@import utils._ |
24 | 24 |
|
25 | 25 |
@layout(Messages(title))(""){ |
26 |
- @common.navbar(menuType) |
|
26 |
+ @common.navbar(menuType, false) |
|
27 | 27 |
|
28 | 28 |
@if(menuType == utils.MenuType.SITE_HOME && UserApp.currentUser.isAnonymous){ |
29 | 29 |
@index.partial_intro() |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?