| /* |
| * Copyright 2020 The Chromium Authors |
| * Use of this source code is governed by a BSD-style license that can be |
| * found in the LICENSE file. |
| */ |
| .resource-service-worker-update-view { |
| display: block; |
| margin: 6px; |
| color: var(--sys-color-on-surface-subtle); |
| overflow: auto; |
| } |
| |
| .service-worker-update-timing-table { |
| border: 1px solid var(--sys-color-divider); |
| border-spacing: 0; |
| padding-left: 10px; |
| padding-right: 10px; |
| line-height: initial; |
| table-layout: auto; |
| overflow: hidden; |
| } |
| |
| .service-worker-update-timing-row { |
| position: relative; |
| height: 20px; |
| overflow: hidden; |
| min-width: 80px; |
| } |
| |
| .service-worker-update-timing-bar { |
| position: absolute; |
| min-width: 1px; |
| top: 0; |
| bottom: 0; |
| } |
| |
| .service-worker-update-timing-bar-clickable::before { |
| user-select: none; |
| mask-image: var(--image-file-triangle-right); |
| float: left; |
| width: 14px; |
| height: 14px; |
| margin-right: 2px; |
| content: ""; |
| position: relative; |
| background-color: var(--icon-default); |
| transition: transform 200ms; |
| } |
| |
| .service-worker-update-timing-bar-clickable { |
| position: relative; |
| left: -12px; |
| } |
| |
| .service-worker-update-timing-bar-clickable:focus-visible { |
| background-color: var(--sys-color-state-focus-highlight); |
| } |
| |
| .service-worker-update-timing-bar-clickable[aria-checked="true"]::before { |
| transform: rotate(90deg); |
| } |
| |
| .service-worker-update-timing-bar-details-collapsed { |
| display: none; |
| } |
| |
| .service-worker-update-timing-bar-details-expanded { |
| display: table-row; |
| } |
| |
| .service-worker-update-timing-bar-details:focus-visible { |
| background-color: var(--sys-color-state-focus-highlight); |
| } |
| |
| .service-worker-update-timing-bar.activate { |
| top: 5px; |
| height: 10px; |
| background-color: var(--sys-color-yellow-bright); |
| } |
| |
| .service-worker-update-timing-bar.wait { |
| top: 5px; |
| height: 10px; |
| background-color: var(--sys-color-purple-bright); |
| } |
| |
| .service-worker-update-timing-bar.install { |
| top: 5px; |
| height: 10px; |
| background-color: var(--sys-color-cyan-bright); |
| } |
| |
| .service-worker-update-timing-table > tr > td { |
| padding: 4px 0; |
| padding-right: 10px; |
| } |
| |
| table.service-worker-update-timing-table > tr.service-worker-update-timing-table-header > td { |
| border-top: 5px solid transparent; |
| color: var(--sys-color-token-subtle); |
| } |
| |
| table.service-worker-update-timing-table > tr.service-worker-update-timing-bar-details > td:first-child { |
| padding-left: 12px; |
| } |
| |
| table.service-worker-update-timing-table > tr.service-worker-update-timeline > td:first-child { |
| padding-left: 12px; |
| } |