Skip to content

Commit

Permalink
fix: dark skin for list view and custom actionbar
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanWalker committed Oct 23, 2016
1 parent 7c27856 commit 9ed6676
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 7 deletions.
2 changes: 1 addition & 1 deletion app/pages/modal.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
loaded="onLoaded"
shownModally="onShownModally">
<StackLayout>
<GridLayout rows="auto" columns="100,*,100" class="action-bar m-10">
<GridLayout rows="auto" columns="100,*,100" class="action-bar p-10">
<Button text="Close" tap="{{close}}" row="0" col="0" class="action-item text-left" />
<Label text="{{title}}" textWrap="true" col="1" class="action-title text-center" />
</GridLayout>
Expand Down
10 changes: 5 additions & 5 deletions app/theme-core-scss/_list-view.scss
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
.list-group{
.list-group {
.list-group-item {
color: $primary;
padding: 20;
font-size: 16;

.thumb{
.thumb {
stretch: fill;
width: 40;
height: 40;
margin-right: 10;
}

&.active{
&.active {
background-color: $grey;
}

.list-group-item-heading{
.list-group-item-heading {

}

.list-group-item-text{
.list-group-item-text {
color: $secondary;
font-size: 14;
}
Expand Down
3 changes: 2 additions & 1 deletion app/theme-core-scss/themes/core/_dark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@

// Custom Theme Overrides
@import 'action-bar.dark';
@import 'forms.dark';
@import 'forms.dark';
@import 'list-view.dark';
6 changes: 6 additions & 0 deletions app/theme-core-scss/themes/core/_list-view.dark.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.list-group {

.list-group-item {
background-color: $background;
}
}

0 comments on commit 9ed6676

Please sign in to comment.