Plugin Directory

Changeset 3237938


Ignore:
Timestamp:
02/10/2025 12:58:37 PM (14 months ago)
Author:
aweos
Message:

Fixed a bug where checkboxes were not shown

Location:
aweos-offcanvas-menu/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • aweos-offcanvas-menu/trunk/aweos-offcanvas-menu.php

    r3237895 r3237938  
    44Plugin URI:  https://developer.wordpress.org/plugins/aweos-offcanvas-menu/
    55Description: Displays an offcanvas menu
    6 Version:     2.0.5
     6Version:     2.0.6
    77Author:      AWEOS GmbH
    88Author URI:  https://aweos.de
  • aweos-offcanvas-menu/trunk/public/css/app.css

    r3237895 r3237938  
    680680
    681681
    682 /* Checkbox Styling */
    683 input[type="checkbox"]
    684 {
    685   display: none;
    686   /* Verstecke die Standard-Checkbox */
    687 }
    688 
    689 input[type="checkbox"]+label
    690 {
    691   position: relative;
    692   padding-left: 25px;
    693   /* Platz für das benutzerdefinierte Design */
    694   cursor: pointer;
    695 }
    696 
    697 input[type="checkbox"]+label:before
    698 {
    699   content: '';
    700   position: absolute;
    701   left: 0;
    702   top: 50%;
    703   transform: translateY(-50%);
    704   width: 20px;
    705   /* Breite der benutzerdefinierten Checkbox */
    706   height: 20px;
    707   /* Höhe der benutzerdefinierten Checkbox */
    708   border: 2px solid #2271b1;
    709   /* Rahmenfarbe */
    710   border-radius: 4px;
    711   /* Abgerundete Ecken */
    712   background: white;
    713   /* Hintergrundfarbe */
    714 }
    715 
    716 input[type="checkbox"]:checked+label:before
    717 {
    718   background: #2271b1;
    719   /* Hintergrundfarbe, wenn ausgewählt */
    720   border-color: #2271b1;
    721   /* Rahmenfarbe, wenn ausgewählt */
    722 }
    723 
    724 input[type="checkbox"]:checked+label:after
    725 {
    726   content: '✔';
    727   /* Häkchen-Symbol */
    728   position: absolute;
    729   left: 5px;
    730   top: 50%;
    731   transform: translateY(-50%);
    732   color: white;
    733   /* Häkchenfarbe */
    734   font-size: 16px;
    735   /* Größe des Häkchens */
    736 }
    737682
    738683/* Schriftfarbe für den Hauptmenüpunkt, wenn das Untermenü geöffnet ist */
  • aweos-offcanvas-menu/trunk/readme.txt

    r3237895 r3237938  
    5050
    5151== Changelog ==
     52### 2.0.6
     53* Fixed a bug where checkboxes were not shown
    5254
    5355### 2.0.5
  • aweos-offcanvas-menu/trunk/resources/assets/css/offcanvas.css

    r1924296 r3237938  
    1 #page-container {
     1#page-container
     2{
    23  width: 100%;
    34  transition: margin-left 0.3s;
    4   box-shadow: -2px 0 10px black; }
    5   #page-container.push {
    6     margin-left: 240px !important;
    7     transition: margin-left 0.3s;
    8     position: relative; }
    9     @media screen and (min-width: 1226px) {
    10       #page-container.push {
    11         margin-left: 0 !important; } }
     5  box-shadow: -2px 0 10px black;
     6}
    127
    13 .mobile_nav.opened #mobile_menu {
    14   display: block !important; }
     8#page-container.push
     9{
     10  margin-left: 240px !important;
     11  transition: margin-left 0.3s;
     12  position: relative;
     13}
    1514
    16 #mobile_menu {
     15@media screen and (min-width: 1226px)
     16{
     17  #page-container.push
     18  {
     19    margin-left: 0 !important;
     20  }
     21}
     22
     23.mobile_nav.opened #mobile_menu
     24{
     25  display: block !important;
     26}
     27
     28#mobile_menu
     29{
    1730  position: fixed;
    1831  width: 240px;
     
    2235  height: 100%;
    2336  transition: left 0.3s;
    24   padding: 0; }
    25   #mobile_menu.push {
    26     left: 0;
    27     transition: left 0.3s; }
    28     @media screen and (min-width: 1226px) {
    29       #mobile_menu.push {
    30         left: -240px !important; } }
    31   body.admin-bar #mobile_menu {
    32     top: 32px; }
    33     @media screen and (max-width: 782px) {
    34       body.admin-bar #mobile_menu {
    35         top: 46px; } }
    36   #mobile_menu .offcanvas-close {
    37     cursor: pointer;
    38     position: absolute;
    39     right: 15px;
    40     top: 15px; }
    41     #mobile_menu .offcanvas-close .et-pb-icon {
    42       width: 50px;
    43       height: 50px;
    44       font-size: 35pt;
    45       color: rgba(0, 0, 0, 0.7); }
    46   #mobile_menu li.menu-item > a {
    47     font-weight: 400;
    48     font-family: Arial;
    49     font-size: 13.5px;
    50     cursor: pointer;
    51     padding: 17px 15px 17px 20px;
    52     line-height: normal; }
    53     #mobile_menu li.menu-item > a:hover {
    54       background-color: transparent;
    55       opacity: 1; }
    56     #mobile_menu li.menu-item > a:after {
    57       top: 16px !important; }
    58   #mobile_menu ul {
    59     padding-left: 0; }
    60   #mobile_menu li.menu-item.visible > a {
    61     color: white; }
     37  padding: 0;
     38}
    6239
    63 #mobile_menu {
    64   display: block !important; }
     40#mobile_menu.push
     41{
     42  left: 0;
     43  transition: left 0.3s;
     44}
    6545
    66 #main-header .et_mobile_menu.push li ul {
    67   padding-left: 0; }
     46@media screen and (min-width: 1226px)
     47{
     48  #mobile_menu.push
     49  {
     50    left: -240px !important;
     51  }
     52}
    6853
    69 .et_mobile_menu.push li li {
    70   padding-left: 0; }
     54body.admin-bar #mobile_menu
     55{
     56  top: 32px;
     57}
    7158
     59@media screen and (max-width: 782px)
     60{
     61  body.admin-bar #mobile_menu
     62  {
     63    top: 46px;
     64  }
     65}
     66
     67#mobile_menu .offcanvas-close
     68{
     69  cursor: pointer;
     70  position: absolute;
     71  right: 15px;
     72  top: 15px;
     73}
     74
     75#mobile_menu .offcanvas-close .et-pb-icon
     76{
     77  width: 50px;
     78  height: 50px;
     79  font-size: 35pt;
     80  color: rgba(0, 0, 0, 0.7);
     81}
     82
     83#mobile_menu li.menu-item>a
     84{
     85  font-weight: 400;
     86  font-family: Arial;
     87  font-size: 13.5px;
     88  cursor: pointer;
     89  padding: 17px 15px 17px 20px;
     90  line-height: normal;
     91}
     92
     93#mobile_menu li.menu-item>a:hover
     94{
     95  background-color: transparent;
     96  opacity: 1;
     97}
     98
     99#mobile_menu li.menu-item>a:after
     100{
     101  top: 16px !important;
     102}
     103
     104#mobile_menu ul
     105{
     106  padding-left: 0;
     107}
     108
     109#mobile_menu li.menu-item.visible>a
     110{
     111  color: white;
     112}
     113
     114#mobile_menu
     115{
     116  display: block !important;
     117}
     118
     119#main-header .et_mobile_menu.push li ul
     120{
     121  padding-left: 0;
     122}
     123
     124.et_mobile_menu.push li li
     125{
     126  padding-left: 0;
     127}
Note: See TracChangeset for help on using the changeset viewer.