roar
Loading...
Searching...
No Matches
default_listing_style.hpp
Go to the documentation of this file.
1#pragma once
2
3namespace Roar::Detail
4{
5 constexpr char const* defaultListingStyle = R"css(
6 a { text-decoration: none; }
7 a:hover { text-decoration: underline; }
8 a:visited { color: #23f5fc; }
9 a:active { color: #23fc7e; }
10 a:link { color: #83a8f2; }
11
12 body {
13 font-family: sans-serif;
14 font-size: 0.8em;
15 width: 100%;
16 margin: 0;
17 padding: 8px;
18 background-color: #303030;
19 color: #eee;
20 }
21
22 .styled-table {
23 border-collapse: collapse;
24 margin: 25px 0;
25 min-width: 400px;
26 width: calc(100% - 16px);
27 box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
28 }
29
30 .styled-table thead tr {
31 background-color: #0a5778;
32 color: #ffffff;
33 text-align: left;
34 }
35
36 .styled-table th,
37 .styled-table td {
38 padding: 12px 15px;
39 }
40
41 .styled-table tbody tr {
42 border-bottom: 1px solid #dddddd;
43 }
44
45 .styled-table tbody tr:nth-of-type(even) {
46 background-color: #505050;
47 }
48
49 .styled-table tbody tr:last-of-type {
50 border-bottom: 2px solid #0a5778;
51 }
52
53 .styled-table tbody tr.active-row {
54 font-weight: bold;
55 color: #009879;
56 })css";
57}
Definition range_file_body.hpp:18
constexpr char const * defaultListingStyle
Definition default_listing_style.hpp:5