Skip to content

Commit 8c743dc

Browse files
committed
First public version
0 parents  commit 8c743dc

13 files changed

+1635
-0
lines changed

backend.php

+476
Large diffs are not rendered by default.

consent-table.php

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<table class="consent-table eucookielaw-consent-table table">
2+
<thead>
3+
<tr>
4+
<th><?= __( 'Service', EUCookieLaw3::LANG_DOMAIN ); ?></th>
5+
<th><?= __( 'Status', EUCookieLaw3::LANG_DOMAIN ); ?></th>
6+
<th><?= __( 'Date', EUCookieLaw3::LANG_DOMAIN ); ?></th>
7+
</tr>
8+
</thead>
9+
<tbody id="list-of-consents">
10+
</tbody>
11+
</table>

css/backend.css

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
/*
2+
* Copyright (c) 2018 $name CC-BY-NC
3+
*/
4+
5+
.tool-list{
6+
border: 1px solid #ccc;
7+
background-color: #fff;
8+
padding: 10px;
9+
}
10+
11+
.tool-item{
12+
border-bottom: 1px dashed #ccc;
13+
}
14+
15+
16+
img.tool-icon{
17+
max-height: 100px;
18+
}
19+
img.tool-icon,
20+
.tool-info {
21+
display: inline-block;
22+
vertical-align: top;
23+
}
24+
.tool-title{
25+
border-bottom: 1px solid #ccc;
26+
margin-bottom: 0;
27+
color: #261;
28+
}
29+
30+
.tool-description{
31+
color: #888;
32+
margin: 0;
33+
padding: 0;
34+
}
35+
36+
.tool-more{
37+
margin: 0;
38+
39+
}
40+
41+
.tool-more a{
42+
color: #480;
43+
}

css/bootstrap.css

+120
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
/*
2+
* Copyright (c) 2018 Diego La Monica CC-BY-NC
3+
*/
4+
5+
.modal-open {
6+
overflow: hidden;
7+
box-sizing: border-box;
8+
9+
}
10+
11+
.modal-open .modal {
12+
overflow-x: hidden;
13+
overflow-y: auto;
14+
15+
position: fixed;
16+
top: 0;
17+
left: 0;
18+
right: 0;
19+
bottom: 0;
20+
background-color: rgba(0,0,0,0.9);
21+
}
22+
.dialog-container, .dialog-container *{
23+
box-sizing: border-box;
24+
}
25+
.modal-dialog {
26+
position: relative;
27+
margin: 10px;
28+
width: 800px;
29+
top: 100px;
30+
margin-left: auto;
31+
margin-right: auto;
32+
}
33+
34+
@media screen and(max-width: 800px){
35+
.modal-dialog{
36+
width: 600px;
37+
}
38+
}
39+
40+
@media screen and(max-width: 600px){
41+
.modal-dialog{
42+
width: 400px;
43+
}
44+
}
45+
46+
@media screen and(max-width: 400px){
47+
.modal-dialog{
48+
width: 300px;
49+
}
50+
}
51+
.modal-content {
52+
position: relative;
53+
background-color: #fff;
54+
-webkit-background-clip: padding-box;
55+
background-clip: padding-box;
56+
border: 1px solid #999;
57+
border: 1px solid rgba(0,0,0,.2);
58+
border-radius: 6px;
59+
outline: 0;
60+
-webkit-box-shadow: 0 3px 9px rgba(0,0,0,.5);
61+
box-shadow: 0 3px 9px rgba(0,0,0,.5);
62+
}
63+
64+
.modal-header {
65+
padding: 15px;
66+
border-bottom: 1px solid #e5e5e5;
67+
}
68+
69+
.modal-title {
70+
margin: 0;
71+
line-height: 1.42857143;
72+
}
73+
74+
.modal-title:before{
75+
display: table;
76+
content: " ";
77+
}
78+
.modal-body {
79+
position: relative;
80+
padding: 15px;
81+
}
82+
83+
.modal-footer {
84+
padding: 15px;
85+
text-align: right;
86+
border-top: 1px solid #e5e5e5;
87+
}
88+
89+
.btn {
90+
display: inline-block;
91+
padding: 6px 12px;
92+
margin-bottom: 0;
93+
font-size: 14px;
94+
font-weight: 400;
95+
line-height: 1.42857143;
96+
text-align: center;
97+
white-space: nowrap;
98+
vertical-align: middle;
99+
-ms-touch-action: manipulation;
100+
touch-action: manipulation;
101+
cursor: pointer;
102+
-webkit-user-select: none;
103+
-moz-user-select: none;
104+
-ms-user-select: none;
105+
user-select: none;
106+
background-image: none;
107+
border: 1px solid transparent;
108+
border-radius: 4px;
109+
}
110+
111+
.btn-block {
112+
display: block;
113+
width: 100%;
114+
}
115+
116+
.btn-default, .btn-primary {
117+
color: #333;
118+
background-color: #fff;
119+
border: 1px solid #ccc;
120+
}

css/darky-miky.css

+139
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
1+
/*
2+
* Theme: Darky-Miky
3+
* Author: Micaela Esposito (https://micaelaesposito.com)
4+
* Project: EUCookieLaw3
5+
* Version: 20180519
6+
* Copyright (c) 2018 Micaela Esposito CC-BY-NC
7+
*
8+
*/
9+
10+
11+
.eucookielaw-modal {
12+
background-color: rgba(0,0,0,0.85);
13+
color: #fff;
14+
font-family: 'Helvetica', 'Arial', sans-serif;
15+
font-size: .8em;
16+
z-index: 9999;
17+
position: fixed;
18+
right: 0;
19+
bottom: 0;
20+
left: 0;
21+
overflow: hidden;
22+
-webkit-overflow-scrolling: touch;
23+
}
24+
25+
26+
.eucookielaw-modal a{
27+
color: #fff;
28+
}
29+
30+
31+
.eucookielaw-modal .modal-dialog {
32+
padding: 20px 20px 10px 20px;
33+
position: relative;
34+
}
35+
36+
.eucookielaw-modal .modal-header {
37+
padding-bottom: 10px;
38+
border-bottom: 1px solid #333;
39+
}
40+
41+
42+
.eucookielaw-modal .rejected::before,
43+
.eucookielaw-modal .approved::before {
44+
color: #fff;
45+
margin-right: 5px;
46+
padding: 4px 4px 4px 3px;
47+
border-radius: 50%;
48+
height: 10px;
49+
width: 10px;
50+
display: inline-block;
51+
text-align: center;
52+
}
53+
54+
.eucookielaw-modal .rejected::before {
55+
content: "×";
56+
background-color: rgb(170, 0, 0);
57+
line-height: 0.8;
58+
}
59+
60+
.eucookielaw-modal .approved::before {
61+
content: "✓";
62+
background-color: rgb(0, 136, 0);
63+
line-height: 1;
64+
}
65+
66+
.eucookielaw-modal .rejected {
67+
color: #aaa;
68+
}
69+
70+
.eucookielaw-modal .list-group-item {
71+
cursor:pointer;
72+
margin-bottom: 5px;
73+
}
74+
75+
.eucookielaw-modal .list-group-item span{
76+
padding-left: 22px;
77+
display: block;
78+
}
79+
80+
81+
/* versione big - rimuovere per versione compact*/
82+
83+
.eucookielaw-modal .list-group-item {
84+
background-color: rgba(50,50,50,0.6);
85+
padding: 8px;
86+
transition: all .3s;
87+
}
88+
89+
.eucookielaw-modal .list-group-item:hover {
90+
background-color: rgba(85,85,85,0.6);
91+
}
92+
93+
/*************************/
94+
95+
96+
.eucokielaw-dialog-button-container .btn {
97+
background-color: #444;
98+
padding: 6px 12px;
99+
border-radius: 4px;
100+
transition: all .3s;
101+
color: #bbb;
102+
text-decoration: none;
103+
}
104+
.eucokielaw-dialog-button-container .btn:hover {
105+
background-color: #444;
106+
color: #fff;
107+
}
108+
109+
110+
.eucookielaw-modal .buttons {
111+
position: absolute;
112+
top: 10px;
113+
right: 20px;
114+
background-color: #aaa;
115+
padding: 6px 12px;
116+
border-radius: 4px;
117+
transition: all .3s;
118+
}
119+
120+
.eucookielaw-modal .buttons a{
121+
color: #333;
122+
text-decoration:none;
123+
}
124+
125+
.eucookielaw-modal .buttons:hover{
126+
background-color: #888;
127+
}
128+
129+
.eucookielaw-dialog-footer {
130+
text-align: right;
131+
}
132+
133+
.eucookielaw-dialog-footer a{
134+
text-decoration:none;
135+
}
136+
137+
.hidden{
138+
display: none;
139+
}

0 commit comments

Comments
 (0)