-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
22 changed files
with
505 additions
and
276 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 0 additions & 32 deletions
32
lukewcs/statspermissions/adm/style/acp_stats_permissions.css
This file was deleted.
Oops, something went wrong.
72 changes: 0 additions & 72 deletions
72
lukewcs/statspermissions/adm/style/acp_stats_permissions.js
This file was deleted.
Oops, something went wrong.
93 changes: 93 additions & 0 deletions
93
lukewcs/statspermissions/adm/style/acp_stats_permissions_settings.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
/* GENERAL */ | ||
|
||
.stats_permissions_footer { | ||
margin-top: 1em; | ||
text-align: center; | ||
font-size: .75em; | ||
} | ||
|
||
/* SETTINGS */ | ||
|
||
input[type=button][name*="stats_permissions_"], | ||
.submit-buttons input[type=submit], | ||
.submit-buttons input[type=button] { | ||
padding: 3px 4px; | ||
} | ||
|
||
legend { | ||
top: 0; | ||
margin-left: -11px; | ||
padding: 2px 10px; | ||
border-radius: 5px 5px 0 0; | ||
border-top: inherit; | ||
border-left: inherit; | ||
background-color: inherit; | ||
} | ||
|
||
fieldset dt label { | ||
cursor: inherit; | ||
} | ||
|
||
/* | ||
* phpBB ACP Toggles - A CSS class that makes it easy to display checkboxes as toggles. | ||
* Source : https://danklammer.com/articles/simple-css-toggle-switch/ | ||
* Revision by: Kirk (customization and optimization), LukeWCS (optimization) | ||
*/ | ||
|
||
.toggle { | ||
-webkit-appearance: none; | ||
-moz-appearance: none; | ||
appearance: none; | ||
width: 38px; | ||
height: 17px; | ||
position: relative; | ||
border-radius: 50px; | ||
cursor: pointer; | ||
font-family: FontAwesome; | ||
transition: background-color 0.2s; | ||
} | ||
|
||
.toggle:before { | ||
position: absolute; | ||
width: 14px; | ||
height: 13px; | ||
background-color: #ffffff; | ||
top: 2px; | ||
border-radius: 50%; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
left: 22px; | ||
content: "\f00d"; | ||
transition: 0.2s; | ||
} | ||
|
||
.toggle, | ||
.toggle:hover, | ||
.toggle:focus { | ||
background-color: #cccccc; | ||
border: none; | ||
color: #000000; | ||
} | ||
|
||
.toggle:checked { | ||
background-color: #3b87ab; | ||
} | ||
|
||
.toggle:checked:before { | ||
left: 2px; | ||
content: "\f00c"; | ||
} | ||
|
||
/* RESPONSIVE */ | ||
|
||
@media (max-width: 700px) { | ||
legend { | ||
margin-left: -6px; | ||
padding: 2px 5px; | ||
} | ||
|
||
#stats_permissions_form dd { | ||
margin-top: .5em; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.