MDL-55802 theme_noname: Navbar is responsive and better styled
[moodle.git] / theme / noname / scss / moodle / icons.scss
1 // The only class we need for icons is .icon
2 // Standardize the size, padding and alignment for all icons in Moodle.
3 .icon {
4     width: 16px;
5     height: 16px;
6     vertical-align: middle;
7     margin: 0;
8     padding: 0;
9     box-sizing: content-box;
10     margin-right: 0.5rem;
11 }
13 a:first-of-type > .icon {
14     margin-left: 0.5rem;
15 }
17 // Fix the cog icon for an action menu.
18 .action-menu > .dropdown .icon {
19     margin-left: 0;
20 }
22 // Fix the first item in a drop down menu (it's a list of links and icons, but has been made vertical.
23 .dropdown a.dropdown-item .icon {
24     margin-left: 0px;
25 }