Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Codecrew
/
Moya
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
30
Merge Requests
2
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 77f9a21b
authored
Mar 31, 2018
by
rubiesonthesky
Committed by
Linnea Samila
Apr 02, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
style rework
1 parent
2dd354b0
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
44 additions
and
35 deletions
code/moya-angular/src/app/app.component.scss
code/moya-angular/src/app/menu/left-menu/left-menu.component.scss
code/moya-angular/src/app/menu/top-menu/top-menu.component.scss
code/moya-angular/src/app/scss/main.scss
code/moya-angular/src/common.scss
code/moya-angular/src/mixins.scss
code/moya-angular/src/styles.scss
code/moya-angular/src/app/app.component.scss
View file @
77f9a21
@import
'../common'
;
#top-container
{
width
:
100%
;
display
:
flex
;
min-height
:
100%
;
}
<<<<<<<
HEAD
#left-menu
{
}
=======
>>>>>>>
refactoring
some
scss
#contentarea
{
flex-grow
:
1
;
display
:
flex
;
...
...
@@ -24,7 +29,7 @@
#content
{
display
:
flex
;
flex-direction
:
row
;
background-color
:
white
;
background-color
:
$color-bg-content
;
margin-left
:
30px
;
padding
:
20px
;
flex-grow
:
1
;
...
...
code/moya-angular/src/app/menu/left-menu/left-menu.component.scss
View file @
77f9a21
@import
"../../scss/main.scss"
;
@import
'../../../../common'
;
#leftNavTop
{
min-height
:
100vh
;
...
...
@@ -14,7 +14,6 @@
margin-bottom
:
20px
;
}
#leftNav
{
display
:
flex
;
flex-direction
:
column
;
...
...
@@ -22,7 +21,7 @@
}
.leftNavItem
{
font-family
:
Roboto
;
font-family
:
$font-menu
;
font-size
:
14px
;
color
:
#FFFFFF
;
text-align
:
center
;
...
...
@@ -32,23 +31,20 @@
left
:
0px
;
right
:
0px
;
width
:
auto
;
}
.leftNavItem.
active
{
&
.
:
active
{
background-image
:
linear-gradient
(
90deg
,
rgba
(
126
,
142
,
218
,
0
.13
)
0%
,
rgba
(
255
,
255
,
255
,
0
.00
)
92%
);
border-left
:
3px
solid
#69B1A1
;
text-decoration
:
none
;
}
}
.leftNavItem
:hover
{
&
:hover
{
//background-image: linear-gradient(90deg, rgba(126, 142, 218,0.13) 0%, rgba(255,255,255,0.00) 92%);
border-left
:
3px
solid
#69B1A1
;
text-decoration
:
none
;
}
}
.leftNavGroup
{
display
:
flex
;
flex-direction
:
column
;
...
...
@@ -64,25 +60,21 @@
text-align
:
center
;
padding-bottom
:
12px
;
padding-top
:
12px
;
}
.adminMenu
.leftNavGroup
{
color
:
$user-color
;
}
.userMenu
{
// background-color: $user-color;
// background-color: $user-color;
background-image
:
linear-gradient
(
0deg
,
#485173
0%
,
#141721
100%
);
}
.adminMenu
{
// background-color: $info-color;
// background-color: $info-color;
background-image
:
linear-gradient
(
0deg
,
#fad9b1
0%
,
#de821f
100%
);
}
.infoMenu
{
// background-color: $admin-color;
// background-color: $admin-color;
background-image
:
linear-gradient
(
0deg
,
#569f8e
0%
,
#11141b
100%
);
}
code/moya-angular/src/app/menu/top-menu/top-menu.component.scss
View file @
77f9a21
@import
"../../scss/main.scss"
;
@import
'../../../../common'
;
#topNav
{
padding
:
10px
10px
10px
30px
;
display
:
flex
;
background-color
:
white
;
background-color
:
$color-bg-nav
;
}
.topNavItem
{
...
...
@@ -11,7 +11,7 @@
padding
:
10px
20px
10px
20px
;
margin-right
:
10px
;
font-family
:
Roboto
;
font-family
:
$font-nav
;
font-size
:
14px
;
...
...
@@ -22,10 +22,9 @@
min-width
:
100px
;
text-align
:
center
;
}
.topNavItem.active
{
&
:active
{
opacity
:
1
.0
;
}
}
#userTopNav
{
...
...
code/moya-angular/src/app/scss/main.scss
deleted
100644 → 0
View file @
2dd354b
$user-color
:
#2b2c3a
;
$admin-color
:
#de821f
;
$info-color
:
#69B1A1
;
code/moya-angular/src/common.scss
0 → 100644
View file @
77f9a21
// Add common styling used by components here. E.g. variables.
// Import this file to component styles.
@import
'mixins'
;
// Colors
$color-bg
:
#f2f3f9
;
$color-bg-nav
:
#fff
;
$color-bg-content
:
#fff
;
// role colors
$user-color
:
#2b2c3a
;
$admin-color
:
#de821f
;
$info-color
:
#69b1a1
;
// fonts
$font-text
:
Roboto
,
sans-serif
;
$font-menu
:
Roboto
,
sans-serif
;
//$font-title: ;
code/moya-angular/src/mixins.scss
0 → 100644
View file @
77f9a21
File mode changed
code/moya-angular/src/styles.scss
View file @
77f9a21
...
...
@@ -3,13 +3,12 @@
@import
url('https://fonts.googleapis.com/css?family=Roboto')
;
@import
'~@angular/material/prebuilt-themes/indigo-pink.css'
;
body
{
background-color
:
#f2f3f9
;
}
@import
'common'
;
html
,
body
{
height
:
100%
;
}
body
{
background-color
:
$color-bg
;
}
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment