browser/themes/shared/UITour.inc.css

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 %if 0
michael@0 2 /* This Source Code Form is subject to the terms of the Mozilla Public
michael@0 3 * License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
michael@0 5 %endif
michael@0 6
michael@0 7 /* UI Tour */
michael@0 8
michael@0 9 #UITourHighlightContainer {
michael@0 10 -moz-appearance: none;
michael@0 11 border: none;
michael@0 12 background-color: transparent;
michael@0 13 /* This is a buffer to compensate for the movement in the "wobble" effect */
michael@0 14 padding: 4px;
michael@0 15 }
michael@0 16
michael@0 17 #UITourHighlight {
michael@0 18 background-image: radial-gradient(50% 100%, rgba(0,149,220,0.4) 50%, rgba(0,149,220,0.6) 100%);
michael@0 19 border-radius: 40px;
michael@0 20 border: 1px solid white;
michael@0 21 /* The box-shadow opacity needs to be < 0.5 so it doesn't appear at 100% opacity
michael@0 22 on Linux without an X compositor where opacity is either 0 or 1. */
michael@0 23 box-shadow: 0 0 3px 0 rgba(0,0,0,0.49);
michael@0 24 min-height: 32px;
michael@0 25 min-width: 32px;
michael@0 26 }
michael@0 27
michael@0 28 #UITourTooltipBody {
michael@0 29 -moz-margin-end: 14px;
michael@0 30 }
michael@0 31
michael@0 32 #UITourTooltipBody > vbox {
michael@0 33 padding-top: 4px;
michael@0 34 }
michael@0 35
michael@0 36 #UITourTooltipIconContainer {
michael@0 37 -moz-margin-start: -16px;
michael@0 38 }
michael@0 39
michael@0 40 #UITourTooltipIcon {
michael@0 41 width: 48px;
michael@0 42 height: 48px;
michael@0 43 -moz-margin-start: 28px;
michael@0 44 -moz-margin-end: 28px;
michael@0 45 }
michael@0 46
michael@0 47 #UITourTooltipTitle,
michael@0 48 #UITourTooltipDescription {
michael@0 49 max-width: 20rem;
michael@0 50 }
michael@0 51
michael@0 52 #UITourTooltipTitle {
michael@0 53 font-size: 1.45rem;
michael@0 54 font-weight: bold;
michael@0 55 -moz-margin-start: 0;
michael@0 56 -moz-margin-end: 0;
michael@0 57 margin: 0 0 9px 0;
michael@0 58 }
michael@0 59
michael@0 60 #UITourTooltipDescription {
michael@0 61 -moz-margin-start: 0;
michael@0 62 -moz-margin-end: 0;
michael@0 63 font-size: 1.15rem;
michael@0 64 line-height: 1.8rem;
michael@0 65 margin-bottom: 0; /* Override global.css */
michael@0 66 }
michael@0 67
michael@0 68 #UITourTooltipClose {
michael@0 69 -moz-appearance: none;
michael@0 70 border: none;
michael@0 71 background-color: transparent;
michael@0 72 min-width: 0;
michael@0 73 -moz-margin-start: 4px;
michael@0 74 margin-top: -2px;
michael@0 75 }
michael@0 76
michael@0 77 #UITourTooltipClose > .toolbarbutton-text {
michael@0 78 display: none;
michael@0 79 }
michael@0 80
michael@0 81 #UITourTooltipButtons {
michael@0 82 -moz-box-pack: end;
michael@0 83 background-color: hsla(210,4%,10%,.07);
michael@0 84 border-top: 1px solid hsla(210,4%,10%,.14);
michael@0 85 margin: 24px -16px -16px;
michael@0 86 padding: 2em 15px;
michael@0 87 }
michael@0 88
michael@0 89 #UITourTooltipButtons > button {
michael@0 90 margin: 0 15px;
michael@0 91 }
michael@0 92
michael@0 93 #UITourTooltipButtons > button:first-child {
michael@0 94 -moz-margin-start: 0;
michael@0 95 }
michael@0 96
michael@0 97 #UITourTooltipButtons > button[image] > .button-box > .button-icon {
michael@0 98 width: 16px;
michael@0 99 height: 16px;
michael@0 100 -moz-margin-end: 5px;
michael@0 101 }
michael@0 102
michael@0 103 #UITourTooltipButtons > button .button-text {
michael@0 104 font-size: 1.15rem;
michael@0 105 }
michael@0 106
michael@0 107 #UITourTooltipButtons > button:not(.button-link) {
michael@0 108 -moz-appearance: none;
michael@0 109 background-color: rgb(251,251,251);
michael@0 110 border-radius: 3px;
michael@0 111 border: 1px solid;
michael@0 112 border-color: rgb(192,192,192);
michael@0 113 color: rgb(71,71,71);
michael@0 114 padding: 4px 30px;
michael@0 115 transition-property: background-color, border-color;
michael@0 116 transition-duration: 150ms;
michael@0 117 }
michael@0 118
michael@0 119 #UITourTooltipButtons > button:not(.button-link):not(:active):hover {
michael@0 120 background-color: hsla(210,4%,10%,.15);
michael@0 121 border-color: hsla(210,4%,10%,.15);
michael@0 122 box-shadow: 0 1px 0 0 hsla(210,4%,10%,.05) inset;
michael@0 123 }
michael@0 124
michael@0 125 #UITourTooltipButtons > button.button-link {
michael@0 126 -moz-appearance: none;
michael@0 127 background: transparent;
michael@0 128 border: none;
michael@0 129 box-shadow: none;
michael@0 130 color: rgba(0,0,0,0.35);
michael@0 131 padding-left: 10px;
michael@0 132 padding-right: 10px;
michael@0 133 }
michael@0 134
michael@0 135 #UITourTooltipButtons > button.button-link:hover {
michael@0 136 color: black;
michael@0 137 }
michael@0 138
michael@0 139 /* The primary button gets the same color as the customize button. */
michael@0 140 #UITourTooltipButtons > button.button-primary {
michael@0 141 background-color: rgb(116,191,67);
michael@0 142 color: white;
michael@0 143 padding-left: 30px;
michael@0 144 padding-right: 30px;
michael@0 145 }
michael@0 146
michael@0 147 #UITourTooltipButtons > button.button-primary:not(:active):hover {
michael@0 148 background-color: rgb(105,173,61);
michael@0 149 }

mercurial