This repository has been archived by the owner on Oct 4, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mostly apply new design to snap details page
- Loading branch information
1 parent
67ad899
commit d696a06
Showing
10 changed files
with
64 additions
and
93 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,10 +11,6 @@ html, body { | |
color:#333; | ||
} | ||
|
||
body { | ||
background-color:#f7f7f7; | ||
} | ||
|
||
a { | ||
color:#dd4814; | ||
} | ||
|
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,23 +1,12 @@ | ||
.b-icon { | ||
position:relative; | ||
display:inline-block; | ||
border-radius:10px; | ||
box-shadow:0 1px 2px 0 rgba(0, 0, 0, 0.3); | ||
width:125px; | ||
height:125px; | ||
overflow:hidden; | ||
} | ||
|
||
.b-icon::before { | ||
content: ""; | ||
position:absolute; | ||
top:0; | ||
left:0; | ||
right:0; | ||
bottom:0; | ||
background-color:transparent; | ||
background-image:url(/public/images/icon-mask.png); | ||
background-repeat:no-repeat; | ||
background-position:50% 50%; | ||
background-size:100% 100%; | ||
z-index:10; | ||
} | ||
|
||
.b-icon img { | ||
display:block; | ||
.b-snaplist .b-icon { | ||
width:90px; | ||
height:90px; | ||
} |
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
Binary file not shown.
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,29 +1,31 @@ | ||
<div class="inner-wrapper"> | ||
{{#if title}} | ||
<div class="twelve-col last-col"> | ||
<div class="b-headline"> | ||
<div class="b-layout__container"> | ||
<h1 class="b-headline__h1">{{ title }}</h1> | ||
<div class="b-snaplist__actions"> | ||
{{#if canSort}} | ||
<div class="b-button__group"> | ||
<div id="sortAlpha" class="b-button b-button_small{{#if isAlpha}} b-button_active{{/if}}">A-Z</div> | ||
<div id="sortBytes" class="b-button b-button_small{{#unless isAlpha}} b-button_active{{/unless}}">kB</div> | ||
<div class="grey-wrapper"> | ||
<div class="inner-wrapper"> | ||
{{#if title}} | ||
<div class="twelve-col last-col"> | ||
<div class="b-headline"> | ||
<div class="b-layout__container"> | ||
<h1 class="b-headline__h1">{{ title }}</h1> | ||
<div class="b-snaplist__actions"> | ||
{{#if canSort}} | ||
<div class="b-button__group"> | ||
<div id="sortAlpha" class="b-button b-button_small{{#if isAlpha}} b-button_active{{/if}}">A-Z</div> | ||
<div id="sortBytes" class="b-button b-button_small{{#unless isAlpha}} b-button_active{{/unless}}">kB</div> | ||
</div> | ||
{{/if}} | ||
{{#if canStyle}} | ||
<div class="b-button__group"> | ||
<div id="styleGrid" class="b-button b-button_small{{#if isGrid}} b-button_active{{/if}}">Grid</div> | ||
<div id="styleRow" class="b-button b-button_small{{#unless isGrid}} b-button_active{{/unless}}">Row</div> | ||
</div> | ||
{{/if}} | ||
</div> | ||
{{/if}} | ||
{{#if canStyle}} | ||
<div class="b-button__group"> | ||
<div id="styleGrid" class="b-button b-button_small{{#if isGrid}} b-button_active{{/if}}">Grid</div> | ||
<div id="styleRow" class="b-button b-button_small{{#unless isGrid}} b-button_active{{/unless}}">Row</div> | ||
</div> | ||
{{/if}} | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
{{/if}} | ||
<div class="twelve-col last-col"> | ||
<div class="b-snaplist b-snaplist_{{#if isGrid}}grid{{else}}row{{/if}}"> | ||
{{/if}} | ||
<div class="twelve-col last-col"> | ||
<div class="b-snaplist b-snaplist_{{#if isGrid}}grid{{else}}row{{/if}}"> | ||
</div> | ||
</div> | ||
</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