summaryrefslogtreecommitdiff
path: root/talermerchantdemos/static/demo.css
blob: 214c3a2047fc21b93a20171669e2e6fb9ff0072b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
@charset "UTF-8";
/*
Style common to all demo pages.

Colors:
- #1e2739 (dark blue)
- #0042b2 (default blue)
- #3daee9 (highlight blue)
*/

.demobar h1 {
  text-align: center;
}

.demobar > p {
  padding: 0.5em;
}

.demobar a,
.demobar a:visited {
  color: inherit;
}

.tt {
  font-family: "Lucida Console", Monaco, monospace;
}

.informational-ok {
  background: lightgreen;
  border-radius: 1em;
  padding: 0.5em;
}

.informational-fail {
  background: lightpink;
  border-radius: 1em;
  padding: 0.5em;
}

.content {
  margin-left: 2em;
  overflow-x: auto;
}

.demobar {
  overflow-x: auto;
  background-color: #0042b2;
  color: white;
}

body {
  overflow-x: hidden;
  overflow-y: auto;
}

.navcontainer {
  background: #0042b2;
  margin-bottom: 50px;
  width: 100%;
  color: white;
  position: -webkit-sticky;
  position: sticky;
  top: 0px;
  width: 100vw;
  backdrop-filter: blur(10px);
  opacity: 1;
  z-index: 10000;
}

nav {
  left: 1vw;
  position: relative;
  background: #0042b2;
  z-index: 10000;
}

nav a,
nav span,
.navbtn {
  border: none;
  color: white;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  background: #0042b2;
  height: inherit;
}

nav a,
nav span,
.navbtn {
  padding: 15px 32px;
}

nav a:hover,
nav span:hover,
.navbtn:hover {
  background: #3daee9;
}

nav a.active,
nav span.active,
.navbtn.active {
  background-color: #1e2739;
}

nav a.active:hover,
nav span.active:hover,
.navbtn.active:hover {
  background: #3daee9;
}

nav a,
nav span,
.navbtn {
  cursor: pointer;
}

nav .right {
  float: right;
  margin-right: 5vw;
}
nav .right div.nav {
  display: none;
}
nav .right div.nav:hover {
  display: block;
}

nav .right:hover div.nav {
  display: block;
}