Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(495)

Unified Diff: ui/login/bubble.css

Issue 2521543002: ChromeOS OOBE: use old-style bubble for OOBE Accessibility popup. (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/login/bubble.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/login/bubble.css
diff --git a/ui/login/bubble.css b/ui/login/bubble.css
index 51c47f6ebe1df4ac14a7ec0f41f7476c83b3d6d5..14663f1267d1294abcc54883b5e0bc1448183bcb 100644
--- a/ui/login/bubble.css
+++ b/ui/login/bubble.css
@@ -18,6 +18,112 @@
position: absolute;
}
+/* --- oldstyle begin --- */
+
+.bubble[oldstyle] {
+ background: white;
+ border: 1px solid rgba(0, 0, 0, 0.25);
+ color: unset;
+}
+
+.bubble[oldstyle]::before {
+ border-style: solid;
+ border-width: 8px;
+ content: '';
+ display: block;
+ position: absolute;
+}
+
+.bubble-top::before {
+ border-color: rgba(0, 0, 0, 0.25) transparent transparent transparent;
+ bottom: -16px;
+}
+
+html[dir=ltr] .bubble-top::before {
+ left: 17px;
+}
+
+html[dir=rtl] .bubble-top::before {
+ right: 17px;
+}
+
+html[dir=ltr] .bubble-right::before,
+html[dir=rtl] .bubble-left::before {
+ border-color: transparent rgba(0, 0, 0, 0.25) transparent transparent;
+ left: -16px;
+ top: 17px;
+}
+
+.bubble-bottom::before {
+ border-color: transparent transparent rgba(0, 0, 0, 0.25) transparent;
+ top: -16px;
+}
+
+html[dir=ltr] .bubble-bottom::before {
+ left: 17px;
+}
+
+html[dir=rtl] .bubble-bottom::before {
+ right: 17px;
+}
+
+html[dir=ltr] .bubble-left::before,
+html[dir=rtl] .bubble-right::before {
+ border-color: transparent transparent transparent rgba(0, 0, 0, 0.25);
+ right: -16px;
+ top: 17px;
+}
+
+.bubble[oldstyle]::after {
+ border-style: solid;
+ border-width: 8px;
+ content: '';
+ display: block;
+ position: absolute;
+}
+
+.bubble-top::after {
+ border-color: white transparent transparent transparent;
+ bottom: -15px;
+}
+
+html[dir=ltr] .bubble-top::after {
+ left: 17px;
+}
+
+html[dir=rtl] .bubble-top::after {
+ right: 17px;
+}
+
+html[dir=ltr] .bubble-right::after,
+html[dir=rtl] .bubble-left::after {
+ border-color: transparent white transparent transparent;
+ left: -15px;
+ top: 17px;
+}
+
+.bubble-bottom::after {
+ border-color: transparent transparent white transparent;
+ top: -15px;
+}
+
+html[dir=ltr] .bubble-bottom::after {
+ left: 17px;
+}
+
+html[dir=rtl] .bubble-bottom::after {
+ right: 17px;
+}
+
+html[dir=ltr] .bubble-left::after,
+html[dir=rtl] .bubble-right::after {
+ border-color: transparent transparent transparent white;
+ right: -15px;
+ top: 17px;
+}
+
+/* --- oldstyle end --- */
+
.error-message-bubble::before {
-webkit-mask-image: url(../../ui/webui/resources/images/warning.svg);
-webkit-mask-position: left top;
« no previous file with comments | « no previous file | ui/login/bubble.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698