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;
|
2015-06-26 18:33:03 +02:00
|
|
|
border: 1px solid {$lightblueborder};
|
2015-07-27 16:53:07 +02:00
|
|
|
border-radius: 3px;
|
2013-07-23 15:16:19 +02:00
|
|
|
background: #ffffff;
|
2011-06-13 01:06:17 +02:00
|
|
|
}
|
|
|
|
|
2015-07-28 06:02:16 +02:00
|
|
|
.device .phabricator-timer {
|
2015-07-27 16:53:07 +02:00
|
|
|
margin-left: 8px;
|
|
|
|
margin-right: 8px;
|
|
|
|
}
|
|
|
|
|
2013-07-23 15:16:19 +02:00
|
|
|
.phabricator-remarkup .phabricator-timer {
|
2015-07-28 06:02:16 +02:00
|
|
|
max-width: 360px;
|
2015-06-26 18:33:03 +02:00
|
|
|
margin: 0 0 12px 0;
|
2011-06-13 01:06:17 +02:00
|
|
|
}
|
|
|
|
|
2015-07-27 16:53:07 +02:00
|
|
|
.device-phone .phabricator-remarkup .phabricator-timer {
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
2013-07-23 15:16:19 +02:00
|
|
|
.phabricator-timer-header {
|
|
|
|
font-weight: bold;
|
2015-07-28 05:47:23 +02:00
|
|
|
padding: 8px;
|
2015-06-26 18:33:03 +02:00
|
|
|
background: {$bluebackground};
|
|
|
|
border-radius: 3px 3px 0 0;
|
2015-07-28 05:47:23 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.phabricator-timer-header a {
|
|
|
|
color: {$darkbluetext};
|
|
|
|
font-weight: normal;
|
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 {
|
|
|
|
font-size: {$normalfontsize};
|
|
|
|
line-height: 16px;
|
|
|
|
border-top: 1px solid {$thinblueborder};
|
|
|
|
color: {$bluetext};
|
|
|
|
font-weight: normal;
|
|
|
|
padding: 8px;
|
|
|
|
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
|
|
|
}
|