diff --git a/.jsbeautifyrc b/.jsbeautifyrc
index 222ca5f6..2bdd9abc 100644
--- a/.jsbeautifyrc
+++ b/.jsbeautifyrc
@@ -3,8 +3,9 @@
"indent_size": 4,
"indent_level": 0,
"indent_with_tabs": true,
- "allowed_file_extensions": ["css", "scss", "sass", "less"],
- "max_preserve_newlines": 2
+ "preserve_newlines": true,
+ "max_preserve_newlines": 2,
+ "newline_between_rules": true
},
"html": {
"indent_size": 4,
@@ -45,13 +46,5 @@
"indent_size": 4,
"indent_level": 0,
"indent_with_tabs": true
- },
- "_default": {
- "indent_size": 4,
- "indent_level": 0,
- "indent_with_tabs": true,
- "preserve_newlines": true,
- "max_preserve_newlines": 2,
- "wrap_line_length": 0
}
}
\ No newline at end of file
diff --git a/.tern-project b/.tern-project
deleted file mode 100644
index fa48932d..00000000
--- a/.tern-project
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "libs": [
- "browser",
- "jquery",
- "underscore",
- "is",
- "ember"
- ],
- "loadEagerly": [
- "app/app/*.js"
- ],
- "plugins": {
- "requirejs": {
- "baseURL": "./",
- "paths": {}
- }
- }
-}
diff --git a/app/app/styles/view/layout.scss b/app/app/styles/view/layout.scss
index 981e9611..074ff0a1 100644
--- a/app/app/styles/view/layout.scss
+++ b/app/app/styles/view/layout.scss
@@ -3,119 +3,103 @@
}
.zone-navigation {
- background-color: $color-primary;
- color: $color-white;
- padding: 0;
- margin: 0;
- width: 100%;
- font-size: 1rem;
+ background-color: $color-primary;
+ color: $color-white;
+ padding: 0;
+ margin: 0;
+ width: 100%;
+ font-size: 1rem;
padding: 15px 40px 15px 40px;
-
- .content {
- > .title {
- padding-left: 15px;
- font-size: 1rem;
- display: inline-block;
- vertical-align: middle;
+ .content {
+ > .title {
+ padding-left: 15px;
+ font-size: 1rem;
+ display: inline-block;
+ vertical-align: middle;
color: $color-white;
text-decoration: none;
- }
-
- > .name {
- padding-right: 15px;
- font-size: 1rem;
- display: inline-block;
- vertical-align: middle;
- }
-
+ }
+ > .name {
+ padding-right: 15px;
+ font-size: 1rem;
+ display: inline-block;
+ vertical-align: middle;
+ }
> .login {
padding: 15px 0 0 0;
- font-size: 1rem;
- display: inline-block;
-
+ font-size: 1rem;
+ display: inline-block;
> a {
color: $color-white;
text-decoration: none;
}
}
-
> .search {
padding-left: 15px;
- font-size: 1rem;
- display: inline-block;
+ font-size: 1rem;
+ display: inline-block;
vertical-align: middle;
margin-top: 5px;
-
> a {
color: $color-white;
text-decoration: none;
-
> .material-icons {
font-size: 1.5rem;
}
}
}
- }
-
- .header-button {
- display: inline-block;
- position: relative;
- overflow: hidden;
- width: 35px;
- height: 35px;
- line-height: 35px;
- padding: 0;
- border-radius: 50%;
- transition: .3s;
- cursor: pointer;
- vertical-align: middle;
- background-color: $color-white;
- text-align: center;
-
- &:hover {
- @extend .z-depth-1;
- }
-
- > .material-icons {
- color: $color-primary;
- text-align: center;
- font-size: 1.4em;
- }
-
- > .initials {
- color: $color-primary;
- text-align: center;
- font-size: 1rem;
- font-style: normal;
- line-height: 2.6rem;
- font-family: open_sansregular;
- }
-
- &:before {
- border-radius: 0;
- }
- }
+ }
+ .header-button {
+ display: inline-block;
+ position: relative;
+ overflow: hidden;
+ width: 35px;
+ height: 35px;
+ line-height: 35px;
+ padding: 0;
+ border-radius: 50%;
+ transition: .3s;
+ cursor: pointer;
+ vertical-align: middle;
+ background-color: $color-white;
+ text-align: center;
+ &:hover {
+ @extend .z-depth-1;
+ }
+ > .material-icons {
+ color: $color-primary;
+ text-align: center;
+ font-size: 1.4em;
+ }
+ > .initials {
+ color: $color-primary;
+ text-align: center;
+ font-size: 1rem;
+ font-style: normal;
+ line-height: 2.6rem;
+ font-family: open_sansregular;
+ }
+ &:before {
+ border-radius: 0;
+ }
+ }
}
.zone-header {
background-color: $color-header;
padding: 0 40px 0 40px;
-
> .info {
padding: 20px 0 20px 0;
-
> .title {
color: $color-off-black;
font-size: 1.2rem;
}
-
> .message {
color: $color-gray;
font-size: 1rem;
margin-top: 10px;
}
}
-
> .actions {
padding: 20px 0 20px 0;
}
@@ -123,7 +107,7 @@
.zone-sidebar {
height: 100%;
- min-height:100%;
+ min-height: 100%;
padding: 0 40px 0 40px;
border-right: 1px solid $color-border;
float: left;
@@ -137,9 +121,8 @@
.copyright {
margin-top: 50px;
text-align: center;
-
> a {
font-size: 0.8rem;
color: $color-gray;
}
-}
+}
\ No newline at end of file
diff --git a/app/app/templates/components/layout/zone-navigation.hbs b/app/app/templates/components/layout/zone-navigation.hbs
index d1f55b4c..bd36b350 100644
--- a/app/app/templates/components/layout/zone-navigation.hbs
+++ b/app/app/templates/components/layout/zone-navigation.hbs
@@ -1,40 +1,36 @@
-
-
- {{#if session.authenticated}}
-
-
-
- {{#if session.authenticated}}
-
{{session.user.fullname}}
-
- {{else}}
-
- {{#link-to 'auth.login'}}Login{{/link-to}}
-
- {{/if}}
-
- {{#link-to 'search'}}
- search
- {{/link-to}}
-
+
+ {{#if session.authenticated}}
+
{{session.user.fullname}}
+
+ {{else}}
+
+ {{#link-to 'auth.login'}}Login{{/link-to}}
+
+ {{/if}}
+
+ {{#link-to 'search'}}
+ search
+ {{/link-to}}