X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fbrowser%2Fbrowser.css;h=cb3e1eec0457fb493bd411a11ac75e85c028ea83;hp=939d423c92de5ab89b3aeaa91cd28f8c6ab9acce;hb=2a8b2b48d6cdce23a2333fb7736d39f5312c6318;hpb=c0f6797effb84e952fe0ef72dcdb5b85b282f1c9 diff --git a/LCARStrek/browser/browser.css b/LCARStrek/browser/browser.css index 939d423c..cb3e1eec 100644 --- a/LCARStrek/browser/browser.css +++ b/LCARStrek/browser/browser.css @@ -4409,28 +4409,145 @@ toolbarpaletteitem[place="toolbar"] { /* UI Tour */ -html|div#UITourHighlight { - border-radius: 20px; - border: 2px #9C9CFF solid; +#UITourHighlightContainer { + -moz-appearance: none; + border: none; + background-color: transparent; + /* This is a buffer to compensate for the movement in the "wobble" effect */ + padding: 4px; +} + +#UITourHighlight { + background-image: radial-gradient(50% 100%, rgba(0,132,132,0.4) 50%, rgba(0,132,132,0.6) 100%); + border-radius: 40px; + border: 1px solid #9C9CFF; + /* The box-shadow opacity needs to be < 0.5 so it doesn't appear at 100% opacity + on Linux without an X compositor where opacity is either 0 or 1. */ + box-shadow: 0 0 3px 0 rgba(0,0,0,0.49); min-height: 32px; min-width: 32px; } -html|div#UITourHighlight[active] { +#UITourTooltipBody { + -moz-margin-end: 14px; +} + +#UITourTooltipBody > vbox { + padding-top: 4px; } -#UITourTooltip { - max-width: 20em; +#UITourTooltipIconContainer { + -moz-margin-start: -16px; +} + +#UITourTooltipIcon { + width: 48px; + height: 48px; + -moz-margin-start: 28px; + -moz-margin-end: 28px; +} + +#UITourTooltipTitle, +#UITourTooltipDescription { + max-width: 20rem; } #UITourTooltipTitle { - font-size: 130%; + font-size: 1.45rem; font-weight: bold; - margin: 0 0 5px 0; + -moz-margin-start: 0; + -moz-margin-end: 0; + margin: 0 0 9px 0; } #UITourTooltipDescription { - max-width: 20em; + -moz-margin-start: 0; + -moz-margin-end: 0; + font-size: 1.15rem; + line-height: 1.8rem; + margin-bottom: 0; /* Override global.css */ +} + +#UITourTooltipClose { + -moz-appearance: none; + border: none; + background-color: transparent; + min-width: 0; + -moz-margin-start: 4px; + margin-top: -2px; +} + +#UITourTooltipClose > .toolbarbutton-text { + display: none; +} + +#UITourTooltipButtons { + -moz-box-pack: end; + background-color: rgba(0,0,0,.2); + border-top: 1px solid rgba(0,0,0,.4); + margin: 24px -16px -16px; + padding: 2em 15px; +} + +#UITourTooltipButtons > button { + margin: 0 15px; +} + +#UITourTooltipButtons > button:first-child { + -moz-margin-start: 0; +} + +#UITourTooltipButtons > button[image] > .button-box > .button-icon { + width: 16px; + height: 16px; + -moz-margin-end: 5px; +} + +#UITourTooltipButtons > button .button-text { + font-size: 1.15rem; +} + +#UITourTooltipButtons > button:not(.button-link) { + -moz-appearance: none; + background-color: #C09070; + border-radius: 3000px; + border: none; + color: #000000; + padding: 4px 30px; + transition-property: background-color, color; + transition-duration: 150ms; +} + +#UITourTooltipButtons > button:not(.button-link):not(:active):hover { + background-color: #FFCF00; + color: #000000; +} + +#UITourTooltipButtons > button.button-link { + -moz-appearance: none; + background: transparent; + border: none; + box-shadow: none; + color: rgba(0,0,0,0.35); + padding-left: 10px; + padding-right: 10px; +} + +#UITourTooltipButtons > button.button-link:hover { + color: black; +} + +/* The primary button gets the same color as the customize button. */ +#UITourTooltipButtons > button.button-primary { + background-color: #A06060; /* LCARS default button background color */ + color: #000000; + padding-left: 30px; + padding-right: 30px; +} + +#UITourTooltipButtons > button.button-primary:not(:active):hover { + background-color: #FFCF00; + color: #000000; } /* === END UITour.inc.css === */