| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * | 10 * |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 } | 98 } |
| 99 | 99 |
| 100 .shadow-split-widget button.sidebar-show-hide-button { | 100 .shadow-split-widget button.sidebar-show-hide-button { |
| 101 position: absolute; | 101 position: absolute; |
| 102 -webkit-mask-image: url(Images/toolbarButtonGlyphs.png); | 102 -webkit-mask-image: url(Images/toolbarButtonGlyphs.png); |
| 103 -webkit-mask-size: 352px 144px; | 103 -webkit-mask-size: 352px 144px; |
| 104 height: 16px; | 104 height: 16px; |
| 105 width: 16px; | 105 width: 16px; |
| 106 border: none; | 106 border: none; |
| 107 z-index: 20; | 107 z-index: 20; |
| 108 background-color: rgba(0, 0, 0, 0.6); | 108 background-color: #5a5a5a; |
| 109 } | 109 } |
| 110 | 110 |
| 111 .shadow-split-widget button.sidebar-show-hide-button:hover { | 111 .shadow-split-widget button.sidebar-show-hide-button:hover { |
| 112 background-color: black; | 112 background-color: #333; |
| 113 } |
| 114 |
| 115 .shadow-split-widget button.sidebar-show-hide-button:active { |
| 116 background-color: #5a5a5a; |
| 113 } | 117 } |
| 114 | 118 |
| 115 .shadow-split-widget button.sidebar-show-hide-button:disabled { | 119 .shadow-split-widget button.sidebar-show-hide-button:disabled { |
| 116 background-color: rgba(0, 0, 0, 0.35); | 120 background-color: rgba(0, 0, 0, 0.35); |
| 117 } | 121 } |
| 118 | 122 |
| 119 @media (-webkit-min-device-pixel-ratio: 1.5) { | 123 @media (-webkit-min-device-pixel-ratio: 1.5) { |
| 120 .shadow-split-widget button.sidebar-show-hide-button { | 124 .shadow-split-widget button.sidebar-show-hide-button { |
| 121 -webkit-mask-image: url(Images/toolbarButtonGlyphs_2x.png); | 125 -webkit-mask-image: url(Images/toolbarButtonGlyphs_2x.png); |
| 122 } | 126 } |
| 123 } /* media */ | 127 } /* media */ |
| 124 | 128 |
| 125 .shadow-split-widget button.left-sidebar-show-hide-button, | 129 .shadow-split-widget button.left-sidebar-show-hide-button, |
| 126 .shadow-split-widget button.top-sidebar-show-hide-button { | 130 .shadow-split-widget button.top-sidebar-show-hide-button { |
| 127 top: 5px; | 131 top: 5px; |
| 128 left: 5px; | 132 left: 5px; |
| 129 } | 133 } |
| 130 | 134 |
| 131 :host-context(.material) .shadow-split-widget button.left-sidebar-show-hide-butt
on, | 135 :host-context(.material) .shadow-split-widget button.left-sidebar-show-hide-butt
on, |
| 132 :host-context(.material) .shadow-split-widget button.top-sidebar-show-hide-butto
n { | 136 :host-context(.material) .shadow-split-widget button.top-sidebar-show-hide-butto
n { |
| 133 top: 5px; | 137 top: 5px; |
| 134 } | 138 } |
| 135 | 139 |
| 136 .shadow-split-widget button.left-sidebar-show-hide-button:active, | |
| 137 .shadow-split-widget button.top-sidebar-show-hide-button:active { | |
| 138 top: 4px; | |
| 139 left: 3px; | |
| 140 } | |
| 141 | |
| 142 .shadow-split-widget button.right-sidebar-show-hide-button { | 140 .shadow-split-widget button.right-sidebar-show-hide-button { |
| 143 top: 5px; | 141 top: 5px; |
| 144 right:4px; | 142 right:4px; |
| 145 } | 143 } |
| 146 | 144 |
| 147 :host-context(.material) .shadow-split-widget button.right-sidebar-show-hide-but
ton { | 145 :host-context(.material) .shadow-split-widget button.right-sidebar-show-hide-but
ton { |
| 148 top: 5px; | 146 top: 5px; |
| 149 right: 5px; | 147 right: 5px; |
| 150 } | 148 } |
| 151 | 149 |
| 152 .shadow-split-widget button.right-sidebar-show-hide-button:active { | |
| 153 top: 4px; | |
| 154 right: 1px; | |
| 155 } | |
| 156 | |
| 157 .shadow-split-widget button.bottom-sidebar-show-hide-button { | 150 .shadow-split-widget button.bottom-sidebar-show-hide-button { |
| 158 bottom: 1px; | 151 bottom: 5px; |
| 159 right: 1px; | |
| 160 } | |
| 161 | |
| 162 :host-context(.material) .shadow-split-widget button.bottom-sidebar-show-hide-bu
tton { | |
| 163 bottom: 3px; | |
| 164 right: 3px; | 152 right: 3px; |
| 165 } | 153 } |
| 166 | 154 |
| 167 .shadow-split-widget button.bottom-sidebar-show-hide-button:active { | |
| 168 bottom: 0; | |
| 169 right: 0; | |
| 170 } | |
| 171 | |
| 172 .shadow-split-widget button.left-sidebar-show-hide-button.toggled-show { | 155 .shadow-split-widget button.left-sidebar-show-hide-button.toggled-show { |
| 173 -webkit-mask-position: -168px -76px; /* |> */ | 156 -webkit-mask-position: -168px -76px; /* |> */ |
| 174 } | 157 } |
| 175 | 158 |
| 176 .shadow-split-widget button.left-sidebar-show-hide-button.toggled-hide { | 159 .shadow-split-widget button.left-sidebar-show-hide-button.toggled-hide { |
| 177 -webkit-mask-position: -199px -76px; /* |< */ | 160 -webkit-mask-position: -199px -76px; /* |< */ |
| 178 } | 161 } |
| 179 | 162 |
| 180 .shadow-split-widget button.right-sidebar-show-hide-button.toggled-show { | 163 .shadow-split-widget button.right-sidebar-show-hide-button.toggled-show { |
| 181 -webkit-mask-position: -296px -76px; /* <| */ | 164 -webkit-mask-position: -296px -76px; /* <| */ |
| (...skipping 15 matching lines...) Expand all Loading... |
| 197 | 180 |
| 198 .shadow-split-widget button.bottom-sidebar-show-hide-button.toggled-show { | 181 .shadow-split-widget button.bottom-sidebar-show-hide-button.toggled-show { |
| 199 -webkit-mask-position: -296px -76px; /* <| */ | 182 -webkit-mask-position: -296px -76px; /* <| */ |
| 200 transform: rotate(90deg); | 183 transform: rotate(90deg); |
| 201 } | 184 } |
| 202 | 185 |
| 203 .shadow-split-widget button.bottom-sidebar-show-hide-button.toggled-hide { | 186 .shadow-split-widget button.bottom-sidebar-show-hide-button.toggled-hide { |
| 204 -webkit-mask-position: -264px -76px; /* >| */ | 187 -webkit-mask-position: -264px -76px; /* >| */ |
| 205 transform: rotate(90deg); | 188 transform: rotate(90deg); |
| 206 } | 189 } |
| OLD | NEW |