2011-06-13 01:06:17 +02:00
|
|
|
/**
|
|
|
|
* @provides phabricator-countdown-css
|
|
|
|
*/
|
|
|
|
|
|
|
|
.phabricator-timer {
|
2015-07-27 16:53:07 +02:00
|
|
|
margin: 16px 16px 0 16px;
|
2011-06-13 01:06:17 +02:00
|
|
|
}
|
|
|
|
|
2015-07-28 06:02:16 +02:00
|
|
|
.device .phabricator-timer {
|
2016-04-09 19:07:02 +02:00
|
|
|
margin-left: 12px;
|
|
|
|
margin-right: 12px;
|
2015-07-27 16:53:07 +02:00
|
|
|
}
|
|
|
|
|
2016-02-26 23:34:51 +01:00
|
|
|
.phabricator-remarkup .phabricator-timer-view {
|
|
|
|
max-width: 460px;
|
2015-06-26 18:33:03 +02:00
|
|
|
margin: 0 0 12px 0;
|
2011-06-13 01:06:17 +02:00
|
|
|
}
|
|
|
|
|
2016-04-09 19:07:02 +02:00
|
|
|
body .phabricator-timer .countdown-description.phabricator-remarkup {
|
2016-02-26 23:34:51 +01:00
|
|
|
border-bottom: 1px solid {$thinblueborder};
|
2016-04-09 19:07:02 +02:00
|
|
|
padding: 0 0 16px;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.phabricator-timer .countdown-description.phabricator-remarkup
|
|
|
|
.phabricator-remarkup {
|
|
|
|
padding: 0;
|
2015-07-28 05:47:23 +02:00
|
|
|
}
|
|
|
|
|
2016-02-26 23:34:51 +01:00
|
|
|
.device-phone .phabricator-remarkup .phabricator-timer {
|
|
|
|
width: auto;
|
2011-06-13 01:06:17 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.phabricator-timer-table {
|
|
|
|
width: 100%;
|
2015-07-28 05:47:23 +02:00
|
|
|
margin: 8px 0 0 0;
|
2011-06-13 01:06:17 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.phabricator-timer-table th {
|
|
|
|
text-align: center;
|
2015-07-27 16:53:07 +02:00
|
|
|
font-size: {$biggerfontsize};
|
2015-07-28 05:47:23 +02:00
|
|
|
color: {$bluetext};
|
2011-06-13 01:06:17 +02:00
|
|
|
width: 10%;
|
|
|
|
padding: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.phabricator-timer-table td {
|
|
|
|
padding: 4px;
|
|
|
|
text-align: center;
|
2013-07-23 15:16:19 +02:00
|
|
|
font-size: 36px;
|
2015-07-28 05:47:23 +02:00
|
|
|
font-weight: bold;
|
2013-07-23 15:16:19 +02:00
|
|
|
overflow: hidden;
|
|
|
|
line-height: auto;
|
|
|
|
height: auto;
|
2015-07-28 05:47:23 +02:00
|
|
|
line-height: 44px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.phabricator-timer-table td.phabricator-timer-foot {
|
2016-02-26 23:34:51 +01:00
|
|
|
font-size: {$biggerfontsize};
|
2015-07-28 05:47:23 +02:00
|
|
|
line-height: 16px;
|
|
|
|
border-top: 1px solid {$thinblueborder};
|
|
|
|
color: {$bluetext};
|
2016-02-26 23:34:51 +01:00
|
|
|
padding: 12px 0;
|
2015-07-28 05:47:23 +02:00
|
|
|
border-bottom-right-radius: 3px;
|
|
|
|
border-bottom-left-radius: 3px;
|
|
|
|
text-align: center;
|
2011-06-13 01:06:17 +02:00
|
|
|
}
|
|
|
|
|
2013-07-23 15:16:19 +02:00
|
|
|
.phabricator-timer-table small {
|
2013-09-02 17:12:18 +02:00
|
|
|
color: {$lightgreytext};
|
Countdown tweaks
Summary:
A few tweaks to hsb's Countdown implementation:
- Allow the page to be rendered "chromeless", suitable for display on one of
the dozens of monitors everyone has laying around.
- Show title of countdown in deletion dialog.
- When creating a new countdown default to time(), not Dec 31, 1969.
- Add extra "/" after editing to avoid needless redirect.
- Tweak some page titles.
- Show countdown author in list view.
- Highlight tab in list view.
- Tweak menu copy.
- Link countdown title in list view, separate buttons into different columns
so they pick up padding.
Test Plan:
Created, edited and deleted a timer. Viewed a timer and toggled chrome mode.
Viewed timer list.
Reviewed By: hsb
Reviewers: hsb, aran, jungejason, tuomaspelkonen
CC: aran, hsb, epriestley
Differential Revision: 454
2011-06-14 02:35:13 +02:00
|
|
|
}
|