UNPKG

web-common-design

Version:

This package provides basic style sheet files, which may be useful for all projects and may help to publish a consistent design.

228 lines (192 loc) 5.34 kB
.buttonlink, .buttonlnknative { cursor: pointer; color: rgb(255, 255, 255); font-family: Verdana,sans-serif; text-decoration: none; font-weight: bold; background-color: rgb(133, 133, 116); padding: 5px; margin: 0 10px 0 10px; text-align: center; vertical-align: middle; white-space: nowrap; border: 1px solid rgb(133, 133, 116); } .processlink { background: rgb(0, 182, 255); border: 1px solid rgb(0, 182, 255); } .navigation { background: rgb(0, 96, 255); border: 1px solid rgb(0, 96, 255); } .startaction { background: rgb(0, 182, 0); border: 1px solid rgb(0, 182, 0); } .stopaction { background: rgb(255, 0, 0); border: 1px solid rgb(255, 0, 0); } .buttonlink:visited.buttonlink, .buttonlink:visited.buttonlnknative { color: rgb(255, 255, 255); text-decoration: none; font-weight: bold; padding: 5px; margin: 0 10px 0 10px; text-align: center; vertical-align: middle; } .navigation:visited { background: rgb(0, 96, 255); border: 1px solid rgb(0, 96, 255); } .processlink:visited { background: rgb(0, 182, 255); border: 1px solid rgb(0, 182, 255); } .startaction:visited { background: rgb(0, 182, 0); border: 1px solid rgb(0, 182, 0); } .stopaction:visited { background: rgb(255, 0, 0); border: 1px solid rgb(255, 0, 0); } .buttonlink:hover.buttonlink, .hover.buttonlnknative { color: rgb(127, 127, 127); background-color: rgb(255, 255, 255); border: 1px solid rgb(127, 127, 127); } .buttonlink:hover.navigation { color: rgb(0, 96, 255); background-color: rgb(255, 255, 255); border: 1px solid rgb(0, 96, 255); } .buttonlink:hover.processlink { color: rgb(0, 182, 255); background-color: rgb(255, 255, 255); border: 1px solid rgb(0, 182, 255); } .buttonlink:hover.startaction { color: rgb(0, 182, 0); background-color: rgb(255, 255, 255); border: 1px solid rgb(0, 182, 0); } .buttonlink:hover.stopaction { color: rgb(255, 0, 0); background-color: rgb(255, 255, 255); border: 1px solid rgb(255, 0, 0); } div.buttonlink { display: inline-block; position: relative; } div.buttonlink.hasNavigationDropDown { cursor: default; } div.buttonlink.hasNavigationDropDown:hover .navigationDropDown { display: inline-block; } div.buttonlink.hasNavigationDropDown:hover .caret { border-top-color: rgb(133, 133, 116); /*border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: none; border-bottom: 8px solid rgb(127, 127, 127);*/ } .usegoldbuttons .buttonlink:hover.buttonlink, .usegoldbuttons .hover.buttonlnknative, .usegoldbuttons .buttonlink:hover.navigation, .usegoldbuttons .buttonlink:hover.processlink, .usegoldbuttons .buttonlink:hover.startaction, .usegoldbuttons .buttonlink:hover.stopaction { color: rgb(255, 255, 255); background-color: rgb(227, 194, 76); border: 1px solid rgb(227, 194, 76); } .disabled { color: rgb(255, 255, 255); background-color: rgb(212, 212, 201); border: 1px solid rgb(212, 212, 201); } .buttonlink:hover.disabled, .usegoldbuttons .buttonlink:hover.disabled { color: rgb(255, 255, 255); background-color: rgb(212, 212, 201); border: 1px solid rgb(212, 212, 201); } a.disabled { cursor: default; color: rgb(255, 255, 255); background-color: rgb(212, 212, 201); border: 1px solid rgb(212, 212, 201); } a:hover.disabled { cursor: default; color: rgb(255, 255, 255); background-color: rgb(212, 212, 201); border: 1px solid rgb(212, 212, 201); } div.buttonlink.hasNavigationDropDown:hover .caret { border-top-color: rgb(255, 255, 255); } .caret { display: inline-block; width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 8px solid rgb(255, 255, 255); margin: 0 1px; } .hasNavigationDropDown .navigationDropDown { z-index: 77777; display: none; position: absolute; top: 25px; left: 50%; min-width: 156px; transform: translateX(-50%); } .hasNavigationDropDown .navigationDropDown.freeDD { padding-top: 2px !important; } .hasNavigationDropDown .navigationDropDown.saveDD { padding: 15px; } .hasNavigationDropDown .navigationDropDown.leftDD { left: -1px; right: auto; transform: translateX(0%); } .hasNavigationDropDown .navigationDropDown.rightDD { left: auto; right: -1px; transform: translateX(0%); } .hasNavigationDropDown .navigationDropDown .buttonlink { display: block; margin: 0; } .freeButtons .buttonlink { padding-left: 20px; padding-right: 20px; margin: 0 5px; } a.nostyle:link, a.nostyle:visited, a.nostyle:hover, a.nostyle:active { text-decoration: none; color: rgb(0, 0, 0); } .fasttrack:after { content: " \00BB"; } img.fasttrackImg { height: 10px; margin: 0; padding: 0; }