-
Notifications
You must be signed in to change notification settings - Fork 9
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 #13 from srowhani/master
Feature request
- Loading branch information
Showing
20 changed files
with
328 additions
and
266 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import layout from '../templates/components/frost-details-pod' | ||
import FrostPods from './frost-pods' | ||
|
||
export default FrostPods.extend({ | ||
layout, | ||
classNames: [ | ||
'top', | ||
'right', | ||
'frost-details-pod' | ||
], | ||
pack: 'frost' | ||
}) |
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,90 @@ | ||
@import 'node_modules/ember-frost-core/addon/styles/frost-theme'; | ||
.frost-pods { | ||
&.frost-details-pod { | ||
.pod { | ||
&.context { | ||
display: (flex); | ||
|
||
.header { | ||
border-bottom: 1px solid $frost-color-lgrey-1; | ||
.session { | ||
.row { | ||
padding: 15px 15px 0 15px; | ||
display: flex; | ||
flex-direction: row; | ||
border-bottom: 1px solid $frost-color-lgrey-1; | ||
.property { | ||
color: #7D85B2; | ||
flex: 1; | ||
.title { | ||
font-size: $frost-font-s; | ||
font-weight: bold; | ||
color: $frost-color-grey-5; | ||
} | ||
.value { | ||
padding-top: 5px; | ||
font-size: $frost-font-s; | ||
color: $frost-color-grey-1; | ||
} | ||
.link { | ||
padding-top: 5px; | ||
flex-direction: row-reverse; | ||
font-size: $frost-font-s; | ||
color: $frost-color-grey-1; | ||
margin-left: auto; | ||
display: block; | ||
width: 65px; | ||
} | ||
} | ||
} | ||
padding: 10px 15px 10px 20px; | ||
display: flex; | ||
flex-direction: column; | ||
|
||
&.with-bottom { | ||
border-bottom: 1px solid $frost-color-lgrey-1; | ||
} | ||
} | ||
.close { | ||
border: none; | ||
position: relative; | ||
|
||
.icon { | ||
width: 70px; | ||
height: 70px; | ||
svg { | ||
position: absolute; | ||
top: 50%; | ||
left: 50%; | ||
transform: translate(-50%, -50%); | ||
width: 50px; | ||
height: 50px; | ||
} | ||
} | ||
.frost-test { | ||
margin: 10px 10px 10px 10px; | ||
padding: 5px 5px 5px 5px; | ||
border: 5px groove $frost-color-lgrey-1; | ||
} | ||
} | ||
} | ||
.content { | ||
display: flex; | ||
flex-direction: column; | ||
overflow: scroll; | ||
max-height: 70vh; | ||
max-width: 100vw; | ||
} | ||
.bottom { | ||
padding: 1px 15px 10px 15px; | ||
display: flex; | ||
flex-direction: row-reverse; | ||
.row { | ||
padding: 10px 15px 0 15px; | ||
display: flex; | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
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,44 @@ | ||
{{#liquid-if isPodVisible}} | ||
{{#liquid-if podLayer.root class='liquid-pods'}} | ||
<div class="pod context"> | ||
<div class="header"> | ||
{{#if icon}} | ||
<div class="close"> | ||
<div class='icon'> | ||
{{frost-icon icon=icon pack=pack}} | ||
</div> | ||
</div> | ||
{{/if}} | ||
|
||
<div class="title"> | ||
<div class="primary">{{title}} | ||
<div class="comment">{{subTitle}}</div> | ||
</div> | ||
<div class='secondary'> | ||
{{description}} | ||
</div> | ||
</div> | ||
</div> | ||
<div class='content'> | ||
{{yield this (hash | ||
openPod=(action 'openPod') | ||
closePod=(action 'closePod') | ||
changePod=(action 'changePod') | ||
)}} | ||
</div> | ||
<div class="bottom"> | ||
{{#each menuActions as |item|}} | ||
<div class="row"> | ||
{{#frost-button | ||
class='text small' | ||
priority=item.priority | ||
onClick=(action item.action) | ||
}} | ||
{{item.text}} | ||
{{/frost-button}} | ||
</div> | ||
{{/each}} | ||
</div> | ||
</div> | ||
{{/liquid-if}} | ||
{{/liquid-if}} |
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,2 +1 @@ | ||
ember-frost-pods component | ||
{{yield}} | ||
{{yield}} |
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 @@ | ||
export { default } from 'ember-frost-pods/components/frost-details-pod' |
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.