wallet-core/packages/taler-wallet-webextension/webextension/static/style/wallet.css

290 lines
3.7 KiB
CSS
Raw Normal View History

body {
font-size: 100%;
overflow-y: scroll;
margin-top: 2em;
}
2016-10-03 16:30:35 +02:00
#main {
border: solid 5px black;
2020-03-30 12:39:32 +02:00
border-radius: 10px;
margin-left: auto;
margin-right: auto;
padding-top: 2em;
2020-03-30 12:39:32 +02:00
max-width: 50%;
padding: 2em;
2015-12-18 22:36:26 +01:00
}
header {
2020-03-30 12:39:32 +02:00
width: 100%;
height: 100px;
margin: 0;
padding: 0;
2015-12-18 22:36:26 +01:00
}
header #logo {
2020-03-30 12:39:32 +02:00
float: left;
width: 100px;
height: 100px;
padding: 0;
margin: 0;
text-align: center;
background-image: url(/img/logo.png);
background-size: 100px;
2015-12-18 22:36:26 +01:00
}
aside {
2020-03-30 12:39:32 +02:00
width: 100px;
float: left;
2015-12-18 22:36:26 +01:00
}
section#main {
2020-03-30 12:39:32 +02:00
margin: auto;
padding: 20px;
height: 100%;
max-width: 50%;
2015-12-18 22:36:26 +01:00
}
section#main h1:first-child {
2020-03-30 12:39:32 +02:00
margin-top: 0;
2015-12-18 22:36:26 +01:00
}
h1 {
2020-03-30 12:39:32 +02:00
font-size: 160%;
font-family: "monospace";
2015-12-18 22:36:26 +01:00
}
h2 {
2020-03-30 12:39:32 +02:00
font-size: 140%;
font-family: "monospace";
2015-12-18 22:36:26 +01:00
}
h3 {
2020-03-30 12:39:32 +02:00
font-size: 120%;
font-family: "monospace";
2015-12-18 22:36:26 +01:00
}
2020-03-30 12:39:32 +02:00
h4,
h5,
h6 {
font-family: "monospace";
2020-03-30 12:39:32 +02:00
font-size: 100%;
2015-12-18 22:36:26 +01:00
}
2015-12-07 23:39:25 +01:00
.form-row {
padding-top: 5px;
padding-bottom: 5px;
}
label {
padding-right: 1em;
}
input.url {
width: 25em;
}
.formish {
}
2015-12-08 11:50:51 +01:00
.json-key {
2020-03-30 12:39:32 +02:00
color: brown;
2015-12-08 11:50:51 +01:00
}
.json-value {
2020-03-30 12:39:32 +02:00
color: navy;
}
2015-12-08 11:50:51 +01:00
.json-string {
2020-03-30 12:39:32 +02:00
color: olive;
2015-12-08 11:50:51 +01:00
}
2015-12-18 22:36:26 +01:00
button {
2020-03-30 12:39:32 +02:00
font-size: 120%;
padding: 0.5em;
2015-12-18 22:36:26 +01:00
}
2016-02-15 11:29:58 +01:00
2016-02-15 15:53:59 +01:00
button.confirm-pay {
2020-03-30 12:39:32 +02:00
float: right;
2016-02-15 15:53:59 +01:00
}
2016-02-15 11:29:58 +01:00
/* We use fading to hide slower DOM updates */
.fade {
2020-03-30 12:39:32 +02:00
-webkit-animation: fade 0.7s;
animation: fade 0.7s;
opacity: 1;
2016-02-15 11:29:58 +01:00
}
@-webkit-keyframes fade {
2020-03-30 12:39:32 +02:00
from {
opacity: 0;
}
to {
opacity: 1;
}
2016-02-15 11:29:58 +01:00
}
@keyframes fade {
2020-03-30 12:39:32 +02:00
from {
opacity: 0;
}
to {
opacity: 1;
}
}
2016-02-18 22:50:17 +01:00
button.linky {
2020-03-30 12:39:32 +02:00
background: none !important;
border: none;
padding: 0 !important;
2016-02-18 22:50:17 +01:00
2020-03-30 12:39:32 +02:00
font-family: arial, sans-serif;
color: #069;
text-decoration: underline;
cursor: pointer;
2016-02-18 22:50:17 +01:00
}
2020-03-30 12:39:32 +02:00
.blacklink a:link,
.blacklink a:visited,
.blacklink a:hover,
.blacklink a:active {
color: #000;
}
2020-03-30 12:39:32 +02:00
table,
th,
td {
border: 1px solid black;
}
2017-03-28 09:47:22 +02:00
button.accept {
2020-03-30 12:39:32 +02:00
background-color: #5757d2;
2017-03-28 09:47:22 +02:00
border: 1px solid black;
border-radius: 5px;
margin: 1em 0;
padding: 0.5em;
font-weight: bold;
color: white;
}
button.linky {
2020-03-30 12:39:32 +02:00
background: none !important;
border: none;
padding: 0 !important;
2017-03-28 09:47:22 +02:00
2020-03-30 12:39:32 +02:00
font-family: arial, sans-serif;
color: #069;
text-decoration: underline;
cursor: pointer;
2017-03-28 09:47:22 +02:00
}
button.accept:disabled {
background-color: #dedbe8;
border: 1px solid white;
border-radius: 5px;
margin: 1em 0;
padding: 0.5em;
font-weight: bold;
2020-03-30 12:39:32 +02:00
color: #2c2c2c;
2017-03-28 09:47:22 +02:00
}
input.url {
width: 25em;
}
table {
border-collapse: collapse;
}
td {
border-left: 1px solid black;
border-right: 1px solid black;
text-align: center;
padding: 0.3em;
}
span.spacer {
padding-left: 0.5em;
padding-right: 0.5em;
}
.button-success,
.button-destructive,
.button-warning,
.button-secondary {
2020-03-30 12:39:32 +02:00
color: white;
border-radius: 4px;
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
2017-03-28 09:47:22 +02:00
}
.button-success {
2020-03-30 12:39:32 +02:00
background: rgb(28, 184, 65);
2017-03-28 09:47:22 +02:00
}
.button-destructive {
2020-03-30 12:39:32 +02:00
background: rgb(202, 60, 60);
2017-03-28 09:47:22 +02:00
}
.button-warning {
2020-03-30 12:39:32 +02:00
background: rgb(223, 117, 20);
2017-03-28 09:47:22 +02:00
}
.button-secondary {
2020-03-30 12:39:32 +02:00
background: rgb(66, 184, 221);
2017-03-28 09:47:22 +02:00
}
a.actionLink {
color: black;
}
.errorbox {
border: 1px solid;
display: inline-block;
margin: 1em;
padding: 1em;
font-weight: bold;
2020-03-30 12:39:32 +02:00
background: #ff8a8a;
}
.okaybox {
border: 1px solid;
display: inline-block;
margin: 1em;
padding: 1em;
font-weight: bold;
2020-03-30 12:39:32 +02:00
background: #00fa9a;
}
2020-03-30 12:39:32 +02:00
a.opener {
color: black;
}
.opener-open::before {
2020-03-30 12:39:32 +02:00
content: "\25bc";
}
.opener-collapsed::before {
2020-03-30 12:39:32 +02:00
content: "\25b6 ";
}
2017-11-30 04:07:36 +01:00
.svg-icon {
display: inline-flex;
align-self: center;
position: relative;
height: 1em;
width: 1em;
}
.svg-icon svg {
2020-03-30 12:39:32 +02:00
height: 1em;
width: 1em;
2017-11-30 04:07:36 +01:00
}
object.svg-icon.svg-baseline {
transform: translate(0, 0.125em);
}
.switch {
position: relative;
display: inline-block;
width: 60px;
height: 34px;
}
/* Hide default HTML checkbox */
.switch input {
opacity: 0;
width: 0;
height: 0;
}