Permalink
Browse files

refactored user.less: moved to UserBundle

  • Loading branch information...
inmarelibero committed Nov 7, 2012
1 parent a4fb42d commit 9bc936424a9a3e47d828ca04cd6a51e6c8f906c0
Showing with 12 additions and 6 deletions.
  1. +2 −1 app/config/assetic.yml
  2. +10 −5 src/Bricks/{SiteBundle → UserBundle}/Resources/less/user.less
View
@@ -2,7 +2,7 @@
assetic:
debug: %kernel.debug%
use_controller: false
- bundles: [ BricksSiteBundle ]
+ bundles: [ BricksSiteBundle, BricksUserBundle ]
java: %java_path%
filters:
cssrewrite: ~
@@ -16,6 +16,7 @@ assetic:
inputs:
- %kernel.root_dir%/Resources/bootstrap/less/bootstrap.less
- @BricksSiteBundle/Resources/less/*.less
+ - @BricksUserBundle/Resources/less/*.less
filters: lessphp
stylesheets:
inputs:
@@ -1,17 +1,22 @@
/******************************************************************************************
-SECTION: USER
+USER.LESS
-every page regarding user reserved area
+general rules for user reserved area
-class .user is appended to the tag <body>
+class .user is appended to the tag <body> when UserBundle\Resources\view\layout.html.twig
+is loaded
******************************************************************************************/
+
body.user {
- /* navbars */
+
+ /* main navbar */
#main-navbar {
.navbar-inner {
border: 0px;
}
}
+
+ /* user navbar */
#user-navbar {
top: 40px;
.navbar-inner {
@@ -27,4 +32,4 @@ body.user {
}
}
}
-}
+}

0 comments on commit 9bc9364

Please sign in to comment.