Skip to content

Commit

Permalink
1.8.0
Browse files Browse the repository at this point in the history
Aanpassing vertaling cookiemelding, stijlen login en kleuren vervangen dashboard
  • Loading branch information
catapultcc authored Jun 20, 2018
1 parent ea81b41 commit 74ed443
Show file tree
Hide file tree
Showing 8 changed files with 107 additions and 67 deletions.
17 changes: 12 additions & 5 deletions cc-dashboard.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/*Plugin Name: CC Dashboard
Plugin URI: https://www.catapult.nl
Description: Custom dashboard voor Catapult
Version: 1.7.9
Version: 1.8.0
Author: Xuwei Hu
*/
require_once('updater.class.php');
Expand All @@ -11,7 +11,7 @@
}

function catapult_admin_styles(){
wp_register_style( 'catapult_admin_stylesheet', plugins_url( '/css/style.css', __FILE__ ) );
wp_register_style( 'catapult_admin_stylesheet', plugins_url( '/css/style.css?v=1.8.0', __FILE__ ) );
wp_enqueue_style( 'catapult_admin_stylesheet' );
}
add_action( 'admin_enqueue_scripts', 'catapult_admin_styles' );
Expand All @@ -38,7 +38,14 @@ function SetCookie(c_name,value,expiredays)
</script>
<div id="catacookielaw" style="display: none;">
<div class="catacookielaw-left">
<p>Deze website gebruikt cookies om gebruikersstatistieken te meten.</p>
<?php if ( function_exists('icl_object_id') ) { ?>
<?php if(ICL_LANGUAGE_CODE=='nl') :
echo "<p>Deze website gebruikt cookies om gebruikersstatistieken te meten. Als je doorgaat gaan wij ervan uit dat je dit accepteert.</p>";
else :
echo "<p>This website uses cookies to measure user statistics.</p>";
endif; ?>
<?php } ?>

</div>
<div class="catacookielaw-right">
<a id="removecookie">Ok</a>
Expand Down Expand Up @@ -70,12 +77,12 @@ function my_login_logo() {
<style type="text/css">
body.login{
background-color: #FFF;
<?php echo 'background-image:url(' . plugins_url( '/images/pattern.svg', __FILE__ ) . '); '; ?>
<?php echo 'background-image:url(' . plugins_url( '/images/achtergrondcc.jpg', __FILE__ ) . '); '; ?>
background-size: cover;
}

body.login div#login h1 a {
<?php echo 'background-image:url(' . plugins_url( '/images/cc_icoon.svg', __FILE__ ) . '); '; ?>
<?php echo 'background-image:url(' . plugins_url( '/images/Logo-animated.gif', __FILE__ ) . '); '; ?>
padding-bottom: 30px;
background-size: 60%;
width: 260px;
Expand Down
Binary file modified css/Thumbs.db
Binary file not shown.
49 changes: 41 additions & 8 deletions css/eigen.css
Original file line number Diff line number Diff line change
@@ -1,19 +1,33 @@
/* CSS Document */


body.login {
overflow-y: hidden;
}

body.login .button-primary{
background-color:#f08303;
background-color:#ff5f00;
border: 0;
}

body.login .button-primary:hover{
background-color:#e35500;
background-color:#000;
color: #fff;
}

.login form{
box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
border-radius: 5px;
}

input[type=checkbox]:checked:before {
color: #ff5f00!important;
}

body.login div#login h1 a {
background-size: 45%!important;
}


a{
color:#FFF!important;
}
Expand All @@ -36,7 +50,7 @@ p#backtoblog {
padding-bottom: 20px !important;
}
body.login .button-primary {
background-color: #f08303 !important;
background-color: #ff5f00 !important;
text-shadow: none !important;
border: none !important;
box-shadow: none !important;
Expand All @@ -48,6 +62,8 @@ body.login .button-primary {
body.login #login {
width: 300px;
padding: 30px 0 0 !important;
margin-top: 50px;
border-radius: 5px;
}
body.login #login p#nav {
display: none;
Expand All @@ -57,7 +73,7 @@ p#backtoblog {
}

#wp-login-menu-links {
background-color: #f08303;
background-color: #333;
width: 50px;
height: 100vh;
position: fixed;
Expand All @@ -66,17 +82,17 @@ p#backtoblog {
display: table;
}
ul.wp-login-menu li a {
background-color: #f08303;
background-color: #ff5f00;
color: #fff;
text-align: center;
text-decoration: none;
display: table-cell;
height: 50px;
width: 50px;
box-shadow: inset 0 -1px 0 #fcb25d;
box-shadow: inset 0 -1px 0 #333;
}
ul.wp-login-menu li a:hover {
background-color: #4F5256;
background-color: #333;
}
ul.wp-login-menu > li > a > .fa {
font-size: 22px;
Expand Down Expand Up @@ -131,6 +147,23 @@ input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill {
}



.login #login_error, .login .message, .login .success {
border-left: 4px solid #333333;
}
#wp-auth-check-wrap #wp-auth-check {
max-height: 665px!important;

}

#wp-auth-check-wrap #wp-auth-check-form {
height: 102%;
}


#activity-widget #the-comment-list .unapproved:before {
background: #ff5f00;
}
/*========== Non-Mobile First Method ==========*/

/* Large Devices, Wide Screens */
Expand Down
Loading

0 comments on commit 74ed443

Please sign in to comment.