Skip to content

Commit

Permalink
Add all icons
Browse files Browse the repository at this point in the history
  • Loading branch information
athyuttamre committed Dec 5, 2014
1 parent e1a2ad3 commit 5bc91d5
Show file tree
Hide file tree
Showing 25 changed files with 109 additions and 25 deletions.
12 changes: 0 additions & 12 deletions assets/icons/evening.svg

This file was deleted.

Binary file added assets/icons/grey/in-a-month.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/grey/later-today.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/grey/next-week.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/grey/pick-date.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/grey/someday.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/grey/ten-seconds.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/grey/this-evening.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/grey/this-weekend.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/grey/tomorrow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/white/in-a-month.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/white/later-today.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/white/next-week.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/white/pick-date.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/white/someday.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/white/ten-seconds.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/white/this-evening.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/white/this-weekend.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/white/tomorrow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/psd/Button Icons.psd
Binary file not shown.
Binary file added assets/slides/Cover.pdf
Binary file not shown.
Binary file added assets/slides/Cover.psd
Binary file not shown.
6 changes: 6 additions & 0 deletions options/options.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,8 @@ function clearAll() {
$(this).remove();
});
});

$("#clear-all").prop('disabled', true);
}
}

Expand All @@ -175,4 +177,8 @@ function clearEntry(tab, entry) {
$(this).remove();
});
});

if(snoozedTabs["tabCount"] == 0) {
$("#clear-all").prop('disabled', true);
}
}
98 changes: 94 additions & 4 deletions popup/popup.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ button:focus {
outline: none;
}

/**
* Snooze Buttons Layout
*/

#snooze-buttons {
width: 16.5em;
height: 16.5em;
Expand Down Expand Up @@ -60,14 +64,100 @@ button:focus {
color: white;
}

#snooze-buttons button img {
height: 40%;
width: 40%;
#snooze-buttons button .button-image {
height: 40px;
width: 40px;

display: block;
margin: 12% auto;
margin: 6px auto;

background-repeat: no-repeat;
background-position: center center;
background-size: 100%;
}

/**
* Snooze Buttons Custom
*/

#ten-seconds .button-image {
background-image: url("/assets/icons/grey/ten-seconds.png");
}

#ten-seconds:active .button-image {
background-image: url("/assets/icons/white/ten-seconds.png");
}

#later-today .button-image {
background-image: url("/assets/icons/grey/later-today.png");
background-size: 75% !important;
}

#later-today:active .button-image {
background-image: url("/assets/icons/white/later-today.png");
}

#this-evening .button-image {
background-image: url("/assets/icons/grey/this-evening.png");
}

#this-evening:active .button-image {
background-image: url("/assets/icons/white/this-evening.png");
}

#tomorrow .button-image {
background-image: url("/assets/icons/grey/tomorrow.png");
}

#tomorrow:active .button-image {
background-image: url("/assets/icons/white/tomorrow.png");
}

#this-weekend .button-image {
background-image: url("/assets/icons/grey/this-weekend.png");
}

#this-weekend:active .button-image {
background-image: url("/assets/icons/white/this-weekend.png");
}

#next-week .button-image {
background-image: url("/assets/icons/grey/next-week.png");
}

#next-week:active .button-image {
background-image: url("/assets/icons/white/next-week.png");
}

#in-a-month .button-image {
background-image: url("/assets/icons/grey/in-a-month.png");
background-size: 80% !important;
}

#in-a-month:active .button-image {
background-image: url("/assets/icons/white/in-a-month.png");
}

#someday .button-image {
background-image: url("/assets/icons/grey/someday.png");
}

#someday:active .button-image {
background-image: url("/assets/icons/white/someday.png");
}

#pick-date .button-image {
background-image: url("/assets/icons/grey/pick-date.png");
}

#pick-date:active .button-image {
background-image: url("/assets/icons/white/pick-date.png");
}

/**
* Status Bar
*/

#status-bar {
overflow: auto;
padding: 0.8em 0.6em;
Expand Down
18 changes: 9 additions & 9 deletions popup/popup.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,21 @@
<body>
<table id="snooze-buttons">
<tr>
<td><button type="button" id="ten-seconds">10 Seconds</button></td>
<td><button type="button" id="later-today">Later Today</button></td>
<td><button type="button" id="this-evening"><img src="/assets/icons/evening.svg">This Evening</button></td>
<td><button type="button" id="ten-seconds"><div class="button-image"></div>10 Seconds</button></td>
<td><button type="button" id="later-today"><div class="button-image"></div>Later Today</button></td>
<td><button type="button" id="this-evening"><div class="button-image"></div>This Evening</button></td>
</tr>

<tr>
<td><button type="button" id="tomorrow">Tomorrow</button></td>
<td><button type="button" id="this-weekend">This Weekend</button></td>
<td><button type="button" id="next-week">Next Week</button></td>
<td><button type="button" id="tomorrow"><div class="button-image"></div>Tomorrow</button></td>
<td><button type="button" id="this-weekend"><div class="button-image"></div>This Weekend</button></td>
<td><button type="button" id="next-week"><div class="button-image"></div>Next Week</button></td>
</tr>

<tr>
<td><button type="button" id="in-a-month">In a Month</button></td>
<td><button type="button" id="someday">Someday</button></td>
<td><button type="button" id="pick-date">Pick Date</button></td>
<td><button type="button" id="in-a-month"><div class="button-image"></div>In a Month</button></td>
<td><button type="button" id="someday"><div class="button-image"></div>Someday</button></td>
<td><button type="button" id="pick-date"><div class="button-image"></div>Pick Date</button></td>
</tr>
</table>

Expand Down

0 comments on commit 5bc91d5

Please sign in to comment.