From 50dadfb492081f9f33c99f2222fcbfe5cbcb612f Mon Sep 17 00:00:00 2001 From: bsouter Date: Mon, 1 Aug 2016 07:08:17 -0700 Subject: [PATCH] Add "comingsoon" and "broken_link" classes Add "comingsoon" and "broken_link" classes comingsoon, comingsoon:after together add a Coming Soon bubble after the element. broken_link makes the link unclickable and changes formatting. --- en/tools.css | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/en/tools.css b/en/tools.css index 8fa9718..61d7cd6 100644 --- a/en/tools.css +++ b/en/tools.css @@ -278,3 +278,26 @@ IMG { position: relative; } +.broken_link, a.broken_link { + text-decoration: none; + color: black; + font-weight: bold; + pointer-events: none; + cursor: not-allowed; +} + +.comingsoon { + display: inline-block; + margin: 2px; +} + +.comingsoon:after { + padding: 1px; + content: "Coming Soon"; + font-size: .6em; + vertical-align: top; + color: black; + background-color: #EEE5FB; + border: solid 1px black; + border-radius: 4px; +}