Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | /* This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 2 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
michael@0 | 4 | |
michael@0 | 5 | .devtools-toolbar { |
michael@0 | 6 | -moz-appearance: none; |
michael@0 | 7 | padding:4px 3px;border-bottom-width: 1px; |
michael@0 | 8 | border-bottom-style: solid; |
michael@0 | 9 | } |
michael@0 | 10 | |
michael@0 | 11 | #devtools-menu.devtools-menulist, |
michael@0 | 12 | .devtools-toolbarbutton#devtools-menu { |
michael@0 | 13 | -moz-appearance: none; |
michael@0 | 14 | -moz-box-align: center; |
michael@0 | 15 | min-width: 78px; |
michael@0 | 16 | min-height: 22px; |
michael@0 | 17 | text-shadow: 0 -1px 0 hsla(210,8%,5%,.45); |
michael@0 | 18 | border: 1px solid hsla(210,8%,5%,.45); |
michael@0 | 19 | border-radius: 3px; |
michael@0 | 20 | background: linear-gradient(hsla(212,7%,57%,.35), hsla(212,7%,57%,.1)) padding-box; |
michael@0 | 21 | box-shadow: 0 1px 0 hsla(210,16%,76%,.15) inset, 0 0 0 1px hsla(210,16%,76%,.15) inset, 0 1px 0 hsla(210,16%,76%,.15); |
michael@0 | 22 | margin: 0 3px; |
michael@0 | 23 | color: inherit; |
michael@0 | 24 | } |
michael@0 | 25 | |
michael@0 | 26 | .devtools-toolbarbutton > hbox.toolbarbutton-menubutton-button { |
michael@0 | 27 | -moz-box-orient: horizontal; |
michael@0 | 28 | } |
michael@0 | 29 | |
michael@0 | 30 | .devtools-menulist:active, |
michael@0 | 31 | #devtools-toolbarbutton:focus { |
michael@0 | 32 | outline: 1px dotted hsla(210,30%,85%,0.7); |
michael@0 | 33 | outline-offset : -4px; |
michael@0 | 34 | } |
michael@0 | 35 | |
michael@0 | 36 | .devtools-toolbarbutton:not([label]) { |
michael@0 | 37 | min-width: 32px; |
michael@0 | 38 | } |
michael@0 | 39 | |
michael@0 | 40 | .devtools-toolbarbutton:not([label]) > .toolbarbutton-text { |
michael@0 | 41 | display: none; |
michael@0 | 42 | } |
michael@0 | 43 | |
michael@0 | 44 | .devtools-toolbarbutton:not([checked=true]):hover:active { |
michael@0 | 45 | border-color: hsla(210,8%,5%,.6); |
michael@0 | 46 | } |
michael@0 | 47 | |
michael@0 | 48 | .devtools-menulist["open" ="true"], |
michael@0 | 49 | .devtools-toolbarbutton["open" = true], |
michael@0 | 50 | .devtools-toolbarbutton[checked= "true"] { |
michael@0 | 51 | border-color: hsla(210,8%,5%,.6) !important; |
michael@0 | 52 | } |
michael@0 | 53 | |
michael@0 | 54 | .devtools-toolbarbutton["checked"="true"] { |
michael@0 | 55 | color: hsl(208,100%,60%); |
michael@0 | 56 | } |
michael@0 | 57 | |
michael@0 | 58 | .devtools-toolbarbutton[checked=true]:hover { |
michael@0 | 59 | background-color: transparent !important; |
michael@0 | 60 | } |
michael@0 | 61 | |
michael@0 | 62 | .devtools-toolbarbutton[checked=true]:hover:active { |
michael@0 | 63 | background-color: hsla(210,8%,5%,.2) !important; |
michael@0 | 64 | } |
michael@0 | 65 | |
michael@0 | 66 | .devtools-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-button { |
michael@0 | 67 | -moz-appearance: none; |
michael@0 | 68 | } |
michael@0 | 69 | |
michael@0 | 70 | .devtools-sidebar-tabs > tabs > tab:first-of-type { |
michael@0 | 71 | -moz-margin-start: -3px; |
michael@0 | 72 | } |
michael@0 | 73 | |
michael@0 | 74 | .devtools-sidebar-tabs > tabs > tab:not(:last-of-type) { |
michael@0 | 75 | background-size: calc(100% - 2px) 100%, 1px 100%; |
michael@0 | 76 | } |
michael@0 | 77 | |
michael@0 | 78 | .hidden-labels-box:not(.visible) > label, |
michael@0 | 79 | .hidden-labels-box.visible ~ .hidden-labels-box > label:last-child { |
michael@0 | 80 | display: none; |
michael@0 | 81 | } |
michael@0 | 82 | |
michael@0 | 83 | /* Maximize the size of the viewport when the window is small */ |
michael@0 | 84 | @media (max-width: 800px) { |
michael@0 | 85 | .category-name { |
michael@0 | 86 | display: none; |
michael@0 | 87 | } |
michael@0 | 88 | } |
michael@0 | 89 | |
michael@0 | 90 | @media all and (min-width: 300px) { |
michael@0 | 91 | #error-box { |
michael@0 | 92 | max-width: 50%; |
michael@0 | 93 | margin: 0 auto; |
michael@0 | 94 | background-image: url('chrome://global/skin/icons/information-32.png'); |
michael@0 | 95 | min-height: 36px; |
michael@0 | 96 | -moz-padding-start: 38px; |
michael@0 | 97 | } |
michael@0 | 98 | |
michael@0 | 99 | button { |
michael@0 | 100 | width: auto !important; |
michael@0 | 101 | min-width: 150px; |
michael@0 | 102 | } |
michael@0 | 103 | |
michael@0 | 104 | @keyframes downloadsIndicatorNotificationFinish { |
michael@0 | 105 | from { opacity: 0; transform: scale(1); } |
michael@0 | 106 | 20% { |
michael@0 | 107 | opacity: .65; |
michael@0 | 108 | animation-timing-function: ease-in; |
michael@0 | 109 | } to { opacity: 0; |
michael@0 | 110 | transform: scale(8); } |
michael@0 | 111 | } |
michael@0 | 112 | } |
michael@0 | 113 | |
michael@0 | 114 | @keyframes smooth { |
michael@0 | 115 | from { opacity: 0; transform: scale(1); } |
michael@0 | 116 | 20% { opacity: .65; animation-timing-function: ease-in; } |
michael@0 | 117 | to { |
michael@0 | 118 | opacity : 0; |
michael@0 | 119 | transform: scale(8); |
michael@0 | 120 | } |
michael@0 | 121 | } |