Skip to content

Commit

Permalink
css fix, version up
Browse files Browse the repository at this point in the history
  • Loading branch information
Buda9 committed Jan 12, 2024
1 parent 4084720 commit 3c3e812
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
13 changes: 6 additions & 7 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,40 +26,39 @@ grid-template-columns:1fr
}}

.user-badge {
background-color: #fff;
display: inline-grid;
grid-auto-rows: minmax(60px,auto);
border: 1px solid #051f4e29;
border: 1px solid #D8D8D8;
border-radius: 12px;
box-shadow: none;
margin: 10px;
padding: 24px;
text-align: center;
transition: all .3s ease-in-out;
transition: all 0.2s ease-in-out;
height: 100%;
width: 100%;
align-items: start;
align-content: baseline;
}

.user-badge:hover {
box-shadow:0 5px 15px #0003;
transform:scale(1.05)
transform: translateY(-3px);
}

.user-badge.earned-badge {
border:3px solid green
}

.user-badge.unearned-badge {
opacity:.5;
opacity:.7;
-webkit-filter: grayscale(100%);
-moz-filter: grayscale(100%);
filter: grayscale(100%);
transition: all 0.5s ease;
}

.user-badge.unearned-badge:hover {
opacity:.8
opacity:.85
}

.user-badge-image img {
Expand Down
4 changes: 2 additions & 2 deletions version.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
defined('MOODLE_INTERNAL') || die();

$plugin->component = 'local_showbadges';
$plugin->version = 2023030100;
$plugin->version = 2023120100;
$plugin->requires = 2022041900;
$plugin->maturity = MATURITY_STABLE;
$plugin->release = '1.0 (Build: 2023030100)';
$plugin->release = '1.0.0 (Build: 2023120100)';

0 comments on commit 3c3e812

Please sign in to comment.