-
Notifications
You must be signed in to change notification settings - Fork 5
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 robi-bobi/master
Implemented changes for #8, #9 and wip for #10 Gris styled black, desktop view has clues on right, some not-yet-complete changes to smartphone view
- Loading branch information
Showing
6 changed files
with
24 additions
and
10 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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<div style="width: 100%;"> | ||
<div style="width: 100%;" id="main-container"> | ||
<div class="o-crossword" data-o-component="o-crossword" data-o-crossword-data="https://cdn.rawgit.com/ftlabs/o-crossword/001d79ac8f4146c244e64760f60a42c788e12ddc/demos/examples/crossword_ft_daily_2016_03_03_15179_ADA_REFORMAT.json"> | ||
<ul class="o-crossword-clues"></ul> | ||
<table class="o-crossword-table"></table> | ||
<ul class="o-crossword-clues"></ul> | ||
</div> | ||
</div> |
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
@include oColorsSetUseCase(o-crossword, background, 'white'); | ||
@include oColorsSetUseCase(o-crossword-border, border, 'section-green'); | ||
@include oColorsSetUseCase(o-crossword-empty, background, 'section-green'); | ||
@include oColorsSetUseCase(o-crossword-hidden-across, background, 'section-light-green'); | ||
@include oColorsSetUseCase(o-crossword-hidden-down, background, 'section-light-blue'); | ||
@include oColorsSetUseCase(o-crossword-hidden-across, text, 'section-light-green'); | ||
@include oColorsSetUseCase(o-crossword-hidden-down, text, 'section-light-blue'); | ||
@include oColorsSetUseCase(o-crossword-border, border, 'black'); | ||
@include oColorsSetUseCase(o-crossword-empty, background, 'black'); | ||
@include oColorsSetUseCase(o-crossword-hidden-across, background, 'grey-tint1'); | ||
@include oColorsSetUseCase(o-crossword-hidden-down, background, 'grey-tint1'); | ||
@include oColorsSetUseCase(o-crossword-hidden-across, text, 'black'); | ||
@include oColorsSetUseCase(o-crossword-hidden-down, text, 'black'); |
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 @@ | ||
//below forces portrait mode on mobile phones | ||
//it uses "min-aspect-ratio" to detect landscape, | ||
//since keyboard popping will make "orientation" wrong in some cases | ||
@media screen and (min-aspect-ratio: 13/9) and (max-width: 767px) { | ||
#main-container { | ||
background-color: #4f1828; | ||
transform: rotate(-90deg); | ||
width: 100% /* screen width */ ; | ||
height: 100% /* screen height */ ; | ||
overflow: scroll; | ||
} | ||
} |