-
-
Notifications
You must be signed in to change notification settings - Fork 201
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27 from oslabs-beta/josh/actionstyle
applied style to action container
- Loading branch information
Showing
11 changed files
with
123 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/// fontFamily: 'monaco, Consolas, Lucida Console, monospace' | ||
/// @type List | ||
$text-font-stack: monaco, Consolas, 'Lucida Console', monospace, Arial, | ||
sans-serif !default; | ||
|
||
/// @type Color | ||
$text-color: rgb(231, 231, 231); | ||
|
||
/// @type Color | ||
$brand-color: #2a2f3a !default; | ||
|
||
/// Light grey | ||
/// @type Color | ||
$light-grey-one: #474c55 !default; | ||
|
||
/// @type Color | ||
$light-grey-two: #5f6369 !default; | ||
|
||
/// @type Color | ||
$border-color: rgba(190, 190, 190, 0.5) !default; | ||
|
||
/// @type Color | ||
$highlight-color: rgba(224, 224, 224, 0.5) !default; | ||
|
||
/// @type Font Size | ||
$button-text-size: 10px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
body { | ||
color: $text-color; | ||
font: normal 13px $text-font-stack; | ||
// font: normal 125% / 1.4 $text-font-stack; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
.action-component { | ||
padding: 5px 10px; | ||
display: flex; | ||
justify-content: space-around; | ||
align-items: center; | ||
height: 20px; | ||
background-color: $brand-color; | ||
border-bottom-style: solid; | ||
border-bottom-width: 1px; | ||
border-color: $border-color; | ||
cursor: pointer; | ||
text-overflow: ellipsis; | ||
} | ||
|
||
.action-component.selected { | ||
background-color: $light-grey-one; | ||
} | ||
|
||
.action-component button { | ||
position: relative; | ||
right: 0px; | ||
} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
.empty-button { | ||
@extend %button-shared; | ||
width: 120px; | ||
} | ||
|
||
.jump-button { | ||
@extend %button-shared; | ||
width: 50px; | ||
} | ||
|
||
.jump-button:hover { | ||
background-color: $highlight-color; | ||
} | ||
|
||
.empty-button:hover { | ||
background-color: $highlight-color; | ||
} | ||
|
||
%button-shared { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
height: 20px; | ||
border-style: solid; | ||
border-width: 1px; | ||
border-radius: 3px; | ||
cursor: pointer; | ||
font-size: $button-text-size; | ||
line-height: 1.5em; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
.action-container { | ||
flex: 3 auto; | ||
height: 100%; | ||
overflow: scroll; | ||
background-color: $brand-color; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,16 @@ | ||
@charset 'UTF-8'; | ||
|
||
// 1. Configuration and helpers | ||
@import 'abstracts/variables'; | ||
|
||
// 3. Base stuff | ||
@import 'base/base', 'base/fonts', 'base/helpers', 'base/typography'; | ||
|
||
// 4. Layout-related sections | ||
@import 'layout/actionContainer'; | ||
|
||
// 5. Components | ||
@import 'components/buttons', 'components/actionComponent'; | ||
|
||
// other styles that needs to be modularized | ||
@import 'styles'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters