mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-26 13:04:24 +01:00
[ticket/12769] Add icon module to work with
This commit is contained in:
parent
cd97d591eb
commit
77cf756378
83
phpBB/styles/prosilver/theme/icons.css
Normal file
83
phpBB/styles/prosilver/theme/icons.css
Normal file
@ -0,0 +1,83 @@
|
||||
/* --------------------------------------------------------------
|
||||
$Icons
|
||||
-------------------------------------------------------------- */
|
||||
|
||||
/* Global module setup
|
||||
--------------------------------*/
|
||||
|
||||
/* Renamed version of .fa class for agnostic useage of icon fonts.
|
||||
* Just change the name of the font after the 14/1 to the name of
|
||||
* the font you wish to use.
|
||||
*/
|
||||
.icon, .button .icon {
|
||||
display: inline-block;
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
font-variant: normal;
|
||||
font-family: FontAwesome;
|
||||
font-size: 14px;
|
||||
line-height: 1;
|
||||
text-rendering: auto; /* optimizelegibility throws things off #1094 */
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
.icon:before { padding-right: 2px; }
|
||||
|
||||
.button .icon:before {
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
/* Icon size classes - Default size is 14px, use these for small variations */
|
||||
|
||||
.icon.icon-xl {
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.icon.icon-lg {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.icon.icon-md {
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
.icon.icon-sm {
|
||||
font-size: 8px;
|
||||
}
|
||||
|
||||
/* icon modifiers */
|
||||
.icon-tiny {
|
||||
width: 12px;
|
||||
transform: scale(0.65, 0.75);
|
||||
vertical-align: text-bottom;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.arrow-left:hover .icon {
|
||||
margin-left: -5px;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
.arrow-right .icon {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.arrow-right:hover .icon {
|
||||
margin-left: 5px;
|
||||
margin-right: -5px;
|
||||
}
|
||||
|
||||
.post-buttons .dropdown-contents .icon {
|
||||
float: right;
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
.alert_close .icon:before {
|
||||
padding: 0;
|
||||
border-radius: 50%;
|
||||
width: 11px;
|
||||
display: block;
|
||||
line-height: .9;
|
||||
height: 12px;
|
||||
}
|
@ -16,4 +16,5 @@
|
||||
@import url("buttons.css");
|
||||
@import url("cp.css");
|
||||
@import url("forms.css");
|
||||
@import url("icons.css");
|
||||
@import url("colours.css");
|
||||
|
Loading…
x
Reference in New Issue
Block a user