Files
chrome-extensions-samples/api-samples/browsingData/popup.css
IanStanion-google c6088ff5ab Browsing data mv3 sample (#954)
* WIP implementation of an mv3 updated browsingData sample

* Update popup.js

* Implements mv3 browsingData sample

* Corrections based on review
2023-06-21 20:31:07 +02:00

83 lines
1.7 KiB
CSS

/**
// Copyright 2023 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
*/
body {
margin: 5px 10px 10px;
}
h1 {
color: #53637D;
font: 26px/1.2 Helvetica, sans-serif;
font-size: 200%;
margin: 0;
padding-bottom: 4px;
text-shadow: white 0 1px 2px;
}
label {
color: #222;
font: 18px/1.4 Helvetica, sans-serif;
margin: 0.5em 0;
display: inline-block;
}
form {
transition: transform 0.25s ease;
width: 563px;
}
button {
display: block;
border-radius: 2px;
box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
-webkit-user-select: none;
background: -webkit-linear-gradient(#FAFAFA, #F4F4F4 40%, #E5E5E5);
border: 1px solid #AAA;
color: #444;
margin-bottom: 0;
min-width: 4em;
padding: 3px 12px;
margin-top: 0;
font-size: 1.1em;
}
.overlay {
display: block;
text-align: center;
position: absolute;
left: 50%;
top: 50%;
width: 500px;
padding: 20px;
margin: -40px 0 0 -270px;
opacity: 0;
background: rgba(0, 0, 0, 0.75);
border-radius: 5px;
color: #FFF;
font: 1.5em/1.2 Helvetica Neue, sans-serif;
transition: all 1.0s ease;
transform: scale(0);
}
.overlay a {
color: #FFF;
}
.overlay.visible {
opacity: 1;
transform: scale(1);
}