Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
style type=ratio
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / Torrent Trader / Theme code and CSS hacks/mods

2019-06-30 11:30:44
Hello! :)

here is my code for the v3 of a new style of ratio to your type

[color=rgb(251, 160, 38)]theme.css[/color] of your default theme and look for:

input[type=radio] {
}
input[type=radio]:hover{
}


Add after:

/* Action ratio Off/On by spiritblue*/
input[type="radio"] {
   background-color: #ddd;
   background-image: -webkit-linear-gradient(0deg, transparent 20%, hsla(0,0%,100%,.7), transparent 80%),
                     -webkit-linear-gradient(90deg, transparent 20%, hsla(0,0%,100%,.7), transparent 80%);
   border-radius: 10px;
   box-shadow: inset 0 1px 1px hsla(0,0%,100%,.8),
               0 0 0 1px hsla(0,0%,0%,.6),
               0 2px 3px hsla(0,0%,0%,.6),
               0 4px 3px hsla(0,0%,0%,.4),
               0 6px 6px hsla(0,0%,0%,.2),
               0 10px 6px hsla(0,0%,0%,.2);
   cursor: pointer;
   display: inline-block;
   height: 15px;
   margin-right: 15px;
   position: relative;
   width: 15px;
   -webkit-appearance: none;
}
input[type="radio"]:after {
   background-color: #444;
   border-radius: 25px;
   box-shadow: inset 0 0 0 1px hsla(0,0%,0%,.4),
               0 1px 1px hsla(0,0%,100%,.8);
   content: '';
   display: block;
   height: 7px;
   left: 4px;
   position: relative;
   top: 4px;
   width: 7px;
}
input[type="radio"]:checked:after {
   background-color: #f66;
   box-shadow: inset 0 0 0 1px hsla(0,0%,0%,.4),
               inset 0 2px 2px hsla(0,0%,100%,.4),
               0 1px 1px hsla(0,0%,100%,.8),
               0 0 2px 2px hsla(0,70%,70%,.4);
}


Example in image:

2019-07-13 14:31:52
Yo boys !

here is my code for the v3 of a new style of checkbox to your type

[color=rgb(251, 160, 38)]theme.css[/color] of your default theme and add after the radio code above  :

/* Input Type checkbox */
input[type="checkbox"] {
   background-color: #F0F8FF;    
   background-image: -webkit-linear-gradient(0deg, transparent 20%, hsla(0,0%,100%,.7), transparent 80%),
                     -webkit-linear-gradient(90deg, transparent 20%, hsla(0,0%,100%,.7), transparent 80%);
   border-radius: 10px;
   box-shadow: inset 0 1px 1px hsla(0,0%,100%,.8),
               0 0 0 1px hsla(0,0%,0%,.6),
               0 2px 3px hsla(0,0%,0%,.6),
               0 4px 3px hsla(0,0%,0%,.4),
               0 6px 6px hsla(0,0%,0%,.2),
               0 10px 6px hsla(0,0%,0%,.2);            
   cursor: pointer;
   display: inline-block;
   height: 20px;
   margin-right: 3px;
   position: relative;
   width: 20px;
   -webkit-appearance: none;
}
input[type="checkbox"]:after {
   content: '';
   color: black;
   display: block;
   margin-right: 3px;
   height: 7px;
   left: 0px;
   position: relative;
   top: -4px;

}
input[type="checkbox"]:checked:after {    
   margin-right: 3px;
   content: '?';
   color: red;    
}



Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 2
  • Members: 0
  • Guests online: 2
  • Comments: 3
  • Messages: 1,728