gecko-dev/browser/themes/shared/setDesktopBackground.css
Ian Moody 566d9090f7 Bug 1547459 - Use explicit text for desktop span preview not being available. r=sfoster
When I implemented the no preview for span I did originally try using text in
the canvas, but discarded it when I realised trying to format it to display
nicely (across different languages and text lengths) was a losing proposition.
However just the prohibition symbol without context is confusing to users, and
on reflection the text can easily be included as an element stacked on top of
the canvas.

Also lighten the background of the no preview message, since the pure black was
indistinguishable from the frame sides on Windows and Linux.

Differential Revision: https://phabricator.services.mozilla.com/D29750

--HG--
extra : moz-landing-system : lando
2019-05-06 18:55:57 +00:00

24 lines
693 B
CSS

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
@namespace html url("http://www.w3.org/1999/xhtml");
html|canvas#screen {
border-style: solid;
border-width: 12px 11px;
border-image: url("chrome://browser/skin/monitor-border.png") 12 11 stretch;
}
#monitor-base {
list-style-image: url("chrome://browser/skin/monitor-base.png");
}
html|p#preview-unavailable {
margin: 12px 11px;
text-align: center;
color: #9B2423;
font-weight: bold;
}