navbar.icons.css in Navbar 7
Styling for navbar module icons.
File
css/navbar.icons.cssView source
- /**
- * @file navbar.icons.css
- *
- * Styling for navbar module icons.
- */
-
- #navbar-administration .navbar-icon {
- padding-left: 2.75em; /* LTR */
- position: relative;
- }
- #navbar-administration .navbar-icon:before {
- background-attachment: scroll;
- background-color: transparent;
- background-position: center center;
- background-repeat: no-repeat;
- background-size: 100% auto;
- content: '';
- display: block;
- height: 100%;
- left: 0.6667em; /* LTR */
- position: absolute;
- top: 0;
- width: 20px;
- }
- .no-svg #navbar-administration .navbar-icon:before {
- background-size: auto auto;
- }
- #navbar-administration button.navbar-icon {
- background-color: transparent;
- border: 0;
- font-size: 1em;
- }
- #navbar-administration .navbar-menu ul .navbar-icon {
- padding-left: 1.3333em; /* LTR */
- }
- #navbar-administration .navbar-menu ul a.navbar-icon:before {
- display: none;
- }
- #navbar-administration .navbar-tray-vertical .navbar-menu ul a {
- padding-left: 2.75em; /* LTR */
- }
- #navbar-administration .navbar-tray-vertical .navbar-menu ul ul a {
- padding-left: 3.75em; /* LTR */
- }
- #navbar-administration .navbar-tray-vertical .navbar-menu a {
- padding-left: 2.75em; /* LTR */
- padding-right: 4em; /* LTR */
- }
-
- /**
- * Top level icons.
- */
- .navbar-bar .navbar-icon-menu:before {
- background-image: url("../icons/bebebe/hamburger.svg");
- }
- .no-svg .navbar-bar .navbar-icon-menu:before {
- background-image: url("../icons/bebebe/hamburger.png");
- }
- .navbar-bar .navbar-icon-menu:active:before,
- .navbar-bar .navbar-icon-menu.navbar-active:before {
- background-image: url("../icons/ffffff/hamburger.svg");
- }
- .no-svg .navbar-bar .navbar-icon-menu:active:before,
- .no-svg .navbar-bar .navbar-icon-menu.navbar-active:before {
- background-image: url("../icons/ffffff/hamburger.png");
- }
- .navbar-bar .navbar-icon-help:before {
- background-image: url("../icons/bebebe/questionmark-disc.svg");
- }
- .no-svg .navbar-bar .navbar-icon-help:before {
- background-image: url("../icons/bebebe/questionmark-disc.png");
- }
- .navbar-bar .navbar-icon-help:active:before,
- .navbar-bar .navbar-icon-help.navbar-active:before {
- background-image: url("../icons/ffffff/questionmark-disc.svg");
- }
- .no-svg .navbar-bar .navbar-icon-help:active:before,
- .no-svg .navbar-bar .navbar-icon-help.navbar-active:before {
- background-image: url("../icons/ffffff/questionmark-disc.png");
- }
- #navbar-administration .navbar-bar .navbar-icon.element-hidden {
- display: none;
- }
-
- /**
- * Shortcut icon.
- */
- .navbar-bar .navbar-icon-shortcut:before {
- background-image: url("../icons/bebebe/star.svg");
- }
- .no-svg .navbar-bar .navbar-icon-shortcut:before {
- background-image: url("../icons/bebebe/star.png");
- }
- .navbar-bar .navbar-icon-shortcut:active:before,
- .navbar-bar .navbar-icon-shortcut.navbar-active:before {
- background-image: url("../icons/ffffff/star.svg");
- }
- .no-svg .navbar-bar .navbar-icon-shortcut:active:before,
- .no-svg .navbar-bar .navbar-icon-shortcut.navbar-active:before {
- background-image: url("../icons/ffffff/star.png");
- }
-
- /**
- * User icon.
- */
- .navbar-bar .navbar-icon-user:before {
- background-image: url("../icons/bebebe/person.svg");
- }
- .no-svg .navbar-bar .navbar-icon-user:before {
- background-image: url("../icons/bebebe/person.png");
- }
- .navbar-bar .navbar-icon-user:active:before,
- .navbar-bar .navbar-icon-user.navbar-active:before {
- background-image: url("../icons/ffffff/person.svg");
- }
- .no-svg .navbar-bar .navbar-icon-user:active:before,
- .no-svg .navbar-bar .navbar-icon-user.navbar-active:before {
- background-image: url("../icons/ffffff/person.png");
- }
-
- /**
- * Main menu icons.
- */
- .navbar-icon-dashboard:before {
- background-image: url("../icons/787878/dashboard.svg");
- }
- .no-svg .navbar-icon-dashboard:before {
- background-image: url("../icons/787878/dashboard.png");
- }
- .navbar-icon-dashboard:active:before,
- .navbar-icon-dashboard.navbar-active:before {
- background-image: url("../icons/000000/dashboard.svg");
- }
- .no-svg .navbar-icon-dashboard:active:before,
- .no-svg .navbar-icon-dashboard.navbar-active:before {
- background-image: url("../icons/000000/dashboard.png");
- }
- .navbar-icon-content:before {
- background-image: url("../icons/787878/file.svg");
- }
- .no-svg .navbar-icon-content:before {
- background-image: url("../icons/787878/file.png");
- }
- .navbar-icon-content:active:before,
- .navbar-icon-content.navbar-active:before {
- background-image: url("../icons/000000/file.svg");
- }
- .no-svg .navbar-icon-content:active:before,
- .no-svg .navbar-icon-content.navbar-active:before {
- background-image: url("../icons/000000/file.png");
- }
- .navbar-icon-structure:before {
- background-image: url("../icons/787878/orgchart.svg");
- }
- .no-svg .navbar-icon-structure:before {
- background-image: url("../icons/787878/orgchart.png");
- }
- .navbar-icon-structure:active:before,
- .navbar-icon-structure.navbar-active:before {
- background-image: url("../icons/000000/orgchart.svg");
- }
- .no-svg .navbar-icon-structure:active:before,
- .no-svg .navbar-icon-structure.navbar-active:before {
- background-image: url("../icons/000000/orgchart.png");
- }
- .navbar-icon-appearance:before {
- background-image: url("../icons/787878/paintbrush.svg");
- }
- .no-svg .navbar-icon-appearance:before {
- background-image: url("../icons/787878/paintbrush.png");
- }
- .navbar-icon-appearance:active:before,
- .navbar-icon-appearance.navbar-active:before {
- background-image: url("../icons/000000/paintbrush.svg");
- }
- .no-svg .navbar-icon-appearance:active:before,
- .no-svg .navbar-icon-appearance.navbar-active:before {
- background-image: url("../icons/000000/paintbrush.png");
- }
- .navbar-icon-people:before {
- background-image: url("../icons/787878/people.svg");
- }
- .no-svg .navbar-icon-people:before {
- background-image: url("../icons/787878/people.png");
- }
- .navbar-icon-people:active:before,
- .navbar-icon-people.navbar-active:before {
- background-image: url("../icons/000000/people.svg");
- }
- .no-svg .navbar-icon-people:active:before,
- .no-svg .navbar-icon-people.navbar-active:before {
- background-image: url("../icons/000000/people.png");
- }
- .navbar-icon-modules:before {
- background-image: url("../icons/787878/puzzlepiece.svg");
- }
- .no-svg .navbar-icon-modules:before {
- background-image: url("../icons/787878/puzzlepiece.png");
- }
- .navbar-icon-modules:active:before,
- .navbar-icon-modules.navbar-active:before {
- background-image: url("../icons/000000/puzzlepiece.svg");
- }
- .no-svg .navbar-icon-modules:active:before,
- .no-svg .navbar-icon-modules.navbar-active:before {
- background-image: url("../icons/000000/puzzlepiece.png");
- }
- .navbar-icon-configuration:before {
- background-image: url("../icons/787878/wrench.svg");
- }
- .no-svg .navbar-icon-configuration:before {
- background-image: url("../icons/787878/wrench.png");
- }
- .navbar-icon-configuration:active:before,
- .navbar-icon-configuration.navbar-active:before {
- background-image: url("../icons/000000/wrench.svg");
- }
- .no-svg .navbar-icon-configuration:active:before,
- .no-svg .navbar-icon-configuration.navbar-active:before {
- background-image: url("../icons/000000/wrench.png");
- }
- .navbar-icon-reports:before {
- background-image: url("../icons/787878/barchart.svg");
- }
- .no-svg .navbar-icon-reports:before {
- background-image: url("../icons/787878/barchart.png");
- }
- .navbar-icon-reports:active:before,
- .navbar-icon-reports.navbar-active:before {
- background-image: url("../icons/000000/barchart.svg");
- }
- .no-svg .navbar-icon-reports:active:before,
- .no-svg .navbar-icon-reports.navbar-active:before {
- background-image: url("../icons/000000/barchart.png");
- }
- .navbar-icon-help:before {
- background-image: url("../icons/787878/questionmark-disc.svg");
- }
- .no-svg .navbar-icon-help:before {
- background-image: url("../icons/787878/questionmark-disc.png");
- }
- .navbar-icon-help:active:before,
- .navbar-icon-help.navbar-active:before {
- background-image: url("../icons/000000/questionmark-disc.svg");
- }
- .no-svg .navbar-icon-help:active:before,
- .no-svg .navbar-icon-help.navbar-active:before {
- background-image: url("../icons/000000/questionmark-disc.png");
- }
-
- @media only screen and (min-width: 16.5em) {
- #navbar-administration .navbar-bar .navbar-icon {
- margin-left: 0;
- margin-right: 0;
- padding-left: 0;
- padding-right: 0;
- text-indent: -9999px;
- width: 4em;
- }
- #navbar-administration .navbar-bar .navbar-icon:before {
- background-size: 42% auto;
- left: 0; /* LTR */
- width: 100%;
- }
- .no-svg #navbar-administration .navbar-bar .navbar-icon:before {
- background-size: auto auto;
- }
- }
-
- @media only screen and (min-width: 36em) {
- #navbar-administration .navbar-bar .navbar-icon {
- background-position: left center; /* LTR */
- padding-left: 2.75em; /* LTR */
- padding-right: 1.3333em; /* LTR */
- text-indent: 0;
- width: auto;
- }
- #navbar-administration .navbar-bar .navbar-icon:before {
- background-size: 100% auto;
- left: 0.6667em; /* LTR */
- width: 20px;
- }
- .no-svg #navbar-administration .navbar-bar .navbar-icon:before {
- background-size: auto auto;
- }
- }
-
- /**
- * Accessibility/focus
- */
- #navbar-administration .navbar-tab a {
- border-left: 2px solid transparent; /* LTR */
- }
- #navbar-administration .navbar-tab a:focus {
- outline: none;
- border-color: #ddd;
- }
- #navbar-administration .navbar-lining button:focus {
- outline: none;
- }
- #navbar-administration .navbar-tray-horizontal a,
- #navbar-administration .navbar-box a {
- border-left: 2px solid transparent; /* LTR */
- }
- #navbar-administration .navbar-tray-horizontal a:focus,
- #navbar-administration .navbar-box a:focus {
- outline: none;
- border-color: #4479C0;
- background-color: #f5f5f5;
- text-decoration: none;
- }
- #navbar-administration .navbar-box a:hover:focus {
- text-decoration: underline;
- }
- #navbar-administration .navbar-icon.navbar-handle:focus {
- outline: none;
- background-color: #f5f5f5;
- }
-
- /**
- * Handle.
- */
- #navbar-administration .navbar-icon.navbar-handle {
- width: 4em;
- text-indent: -9999px;
- }
- #navbar-administration .navbar-icon.navbar-handle:before {
- left: 1.6667em; /* LTR */
- }
- .no-svg #navbar-administration .navbar-icon.navbar-handle:before {
- left: 1.6667em; /* LTR */
- }
- #navbar-administration .navbar-icon.navbar-handle:before {
- background-image: url("../icons/5181c6/chevron-disc-down.svg");
- }
- .no-svg #navbar-administration .navbar-icon.navbar-handle:before {
- background-image: url("../icons/5181c6/chevron-disc-down.png");
- }
- #navbar-administration .navbar-icon.navbar-handle.open:before {
- background-image: url("../icons/787878/chevron-disc-up.svg");
- }
- .no-svg #navbar-administration .navbar-icon.navbar-handle.open:before {
- background-image: url("../icons/787878/chevron-disc-up.png");
- }
- #navbar-administration .navbar-menu .navbar-menu .navbar-icon.navbar-handle:before {
- background-image: url("../icons/5181c6/twistie-down.svg");
- background-size: 75%;
- }
- .no-svg #navbar-administration .navbar-menu .navbar-menu .navbar-icon.navbar-handle:before {
- background-image: url("../icons/5181c6/twistie-down.png");
- background-size: auto auto;
- }
- #navbar-administration .navbar-menu .navbar-menu .navbar-icon.navbar-handle.open:before {
- background-image: url("../icons/787878/twistie-up.svg");
- background-size: 75%;
- }
- .no-svg #navbar-administration .navbar-menu .navbar-menu .navbar-icon.navbar-handle.open:before {
- background-image: url("../icons/787878/twistie-up.png");
- background-size: auto auto;
- }
- #navbar-administration .navbar-icon-escape-admin:before {
- background-image: url(../icons/bebebe/chevron-disc-left.svg);
- }
- .no-svg #navbar-administration .navbar-icon-escape-admin:before {
- background-image: url(../icons/bebebe/chevron-disc-left.png);
- }
-
- /**
- * Orientation toggle.
- */
- #navbar-administration .navbar-toggle-orientation button {
- height: 16px;
- padding: 0;
- text-indent: -999em;
- width: 20px;
- }
- #navbar-administration .navbar-toggle-orientation button:before {
- left: 0; /* LTR */
- }
- /**
- * In order to support a hover effect on the SVG images, while also supporting
- * RTL text direction and no SVG support, this little icon requires some very
- * specific targeting, setting and unsetting.
- */
- #navbar-administration .navbar-toggle-orientation [value="vertical"]:before {
- background-image: url("../icons/bebebe/push-left.svg"); /* LTR */
- }
- #navbar-administration .navbar-toggle-orientation [value="vertical"]:hover:before {
- background-image: url("../icons/787878/push-left.svg"); /* LTR */
- }
- .no-svg #navbar-administration .navbar-toggle-orientation [value="vertical"]:before {
- background-image: url("../icons/bebebe/push-left.png"); /* LTR */
- }
- .no-svg #navbar-administration .navbar-toggle-orientation [value="vertical"]:hover:before {
- background-image: url("../icons/787878/push-left.png"); /* LTR */
- }
- #navbar-administration .navbar-toggle-orientation [value="horizontal"]:before {
- background-image: url("../icons/bebebe/push-up.svg");
- }
- #navbar-administration .navbar-toggle-orientation [value="horizontal"]:hover:before {
- background-image: url("../icons/787878/push-up.svg");
- }
- .no-svg #navbar-administration .navbar-toggle-orientation [value="horizontal"]:before {
- background-image: url("../icons/bebebe/push-up.png");
- }
- .no-svg #navbar-administration .navbar-toggle-orientation [value="horizontal"]:hover:before {
- background-image: url("../icons/787878/push-up.png");
- }
-