This patch sets icons to a size relative to the surrounding text and
adds a small margin to set them slightly apart. It also sets the opacity
to 65%, making them less visually "loud."
Signed-off-by: Stephanie Leary <stephanie.leary@equinoxOLI.org>
padding: 4px;
}
+/* override less intense icon styles used elsewhere */
+#staff-navbar .nav-item:first-child .material-icons {
+ font-size: 22px;
+ margin-right: 0;
+ opacity: 1;
+}
+
/* align top of dropdown w/ bottom of nav */
#staff-navbar .dropdown-menu {
margin-top: 7px;
.material-icons {
/** default is 24px which is pretty chunky */
+ font-size: 1rem;
+ opacity: .65;
+ margin-right: .35em;
+ vertical-align: text-bottom;
+}
+
+.label-with-material-icon .material-icons,
+button .material-icons {
font-size: 22px;
+ opacity: 1;
+ margin-right: 0;
+ vertical-align: baseline;
}
/* allow spans/labels to vertically orient with material icons */
border-color: #fff;
}
+/* less intense glyphicons */
+.glyphicon {
+ opacity: .65;
+ margin-right: .35em;
+}
+
/* bootstrap alerts are heavily padded. use this to reduce */
.alert-less-pad {padding: 5px;}