@@ -18,7 +18,7 @@ class="<?php
1818 echo ' ' ;
1919 printf ( _n ( 'This message will disappear after %s second. ' , 'This message will disappear after %s seconds. ' , $ instance ['hide-timeout ' ], 'eucookielaw ' ), $ instance ['hide-timeout ' ] );
2020 }
21- echo ' ' ;
21+ ?> <br /> <?php
2222 _e ( 'To find out more, as well as how to remove or block these, see here: ' , 'eucookielaw ' );
2323 echo ' ' ;
2424 } else {
@@ -79,21 +79,65 @@ function accept() {
7979 left: 1em;
8080 right: 1em;
8181 z-index: 1000;
82- font-size: 80%;
83- line-height: 1.4;
82+ font-size: 12px;
83+ color: #2e4467;
84+ line-height: 1.5;
8485 border: 1px solid #dedede;
8586 padding: 6px 6px 6px 15px;
8687 background-color: #fff;
8788 }
8889
90+ #eu-cookie-law a,
91+ #eu-cookie-law a:active,
92+ #eu-cookie-law a:visited {
93+ color: inherit;
94+ text-decoration: underline;
95+ cursor: inherit;
96+ }
97+
98+ #eu-cookie-law a:hover {
99+ text-decoration: none;
100+ cursor: pointer;
101+ }
102+
89103 #eu-cookie-law.negative {
90104 background-color: #000;
91105 color: #fff;
92106 border: none;
93107 }
94108
95- #eu-cookie-law input.accept {
109+ /**
110+ * Using a highly-specific rule to make sure that all button styles
111+ * will be reset
112+ */
113+ #eu-cookie-law input.accept,
114+ #eu-cookie-law input.accept:hover,
115+ #eu-cookie-law input.accept:focus {
116+ display: inline;
117+ position: static;
96118 float: right;
97- margin-left: 5%;
119+ padding: 8px 12px;
120+ margin: 0 0 0 5%;
121+ border: 1px solid #dedede;
122+ border-radius: 4px;
123+ -moz-border-radius: 3px;
124+ -webkit-border-radius: 3px;
125+ background: #f3f3f3;
126+ font-size: 14px;
127+ line-height: inherit;
128+ text-transform: none;
129+ color: #2e4453;
130+ cursor: pointer;
131+ font-weight: inherit;
132+ font-family: inherit;
98133 }
134+
135+ #eu-cookie-law.negative input.accept,
136+ #eu-cookie-law.negative input.accept:hover,
137+ #eu-cookie-law.negative input.accept:focus {
138+ background-color: #282828;
139+ color: #fff;
140+ border-color: #535353;
141+ }
142+
99143</style>
0 commit comments