mirror of
https://github.com/rickbarrette/stopwatch.git
synced 2026-04-02 09:51:57 -04:00
Added a setting to apply green/red colors to Start/Stop
This commit is contained in:
22
assets/stylesheets/highlighted_links.css
Normal file
22
assets/stylesheets/highlighted_links.css
Normal file
@@ -0,0 +1,22 @@
|
||||
a.stopwatch_issue_timer[href*="stop"] {
|
||||
color: red;
|
||||
}
|
||||
|
||||
a.stopwatch_issue_timer[href*="start"] {
|
||||
color: limegreen;
|
||||
}
|
||||
|
||||
/* Mobile only */
|
||||
@media (max-width: 899px) {
|
||||
a.stopwatch_issue_timer[href*="stop"] {
|
||||
color: red;
|
||||
background-color: #ffe5e5;
|
||||
border: 1px solid red;
|
||||
}
|
||||
|
||||
a.stopwatch_issue_timer[href*="start"] {
|
||||
color: limegreen;
|
||||
background-color: #eaffea;
|
||||
border: 1px solid limegreen;
|
||||
}
|
||||
}
|
||||
@@ -1,26 +1,3 @@
|
||||
tr.time-entry.running td.hours {
|
||||
color: red;
|
||||
}
|
||||
|
||||
a.stopwatch_issue_timer[href*="stop"] {
|
||||
color: red;
|
||||
}
|
||||
|
||||
a.stopwatch_issue_timer[href*="start"] {
|
||||
color: limegreen;
|
||||
}
|
||||
|
||||
/* Mobile only */
|
||||
@media (max-width: 899px) {
|
||||
a.stopwatch_issue_timer[href*="stop"] {
|
||||
color: red;
|
||||
background-color: #ffe5e5;
|
||||
border: 1px solid red;
|
||||
}
|
||||
|
||||
a.stopwatch_issue_timer[href*="start"] {
|
||||
color: limegreen;
|
||||
background-color: #eaffea;
|
||||
border: 1px solid limegreen;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user