// Buttons // The !important declarations override Bootstrap hrpg-button-color-mixin($hrpg-button-color) > a, button background-color: $hrpg-button-color !important color: darken($hrpg-button-color, 61.8%) !important border-color: darken($hrpg-button-color, 16.18%) !important &:active background-color: darken($hrpg-button-color, 10%) !important @media screen and (min-width:768px) &:hover background-color: darken($hrpg-button-color, 3.82%) !important > a:nth-of-type(2) border-left: 1px solid darken($hrpg-button-color, 3.82%) !important $hrpg-button-master list-style: none > a, button display: inline-block !important padding: 0.25em 0.5em !important text-decoration:none font-size: 1em color:#222 background-color: transparent &:active background-color: #aaa !important @media screen and (min-width:768px) &:hover background-color: #eee !important $hrpg-button @extend $hrpg-button-master > a, button border: 1px solid #ccc !important border-radius: 0.382em !important $hrpg-button-call-to-action @extend $hrpg-button hrpg-button-color-mixin($color-button-style-one) $hrpg-button-toggle @extend $hrpg-button-master border: 1px solid #ccc !important border-radius: 0.382em !important > a:first-of-type border-radius: 0.382em 0em 0em 0.382em !important > a:nth-of-type(2) border-radius: 0em 0.382em 0.382em 0em !important // Modals $hrpg-modal position: relative $hrpg-modal-dropdown @extend $hrpg-modal div position: absolute top: 3em min-width:110px min-height: 68px border:1px solid #b5b5b5 border-radius:4px background-color:#fff @media screen and (max-width:768px) position:fixed overflow: auto z-index: 1000 top: 2% left: 2% width: 96% height: 96% box-shadow: 0 0 0 30px rgba(0,0,0,0.63) &:after display: none h4 font-size: 1.2em margin:0px background-color: #f7f7f7 border-top:1px solid #ccc border-bottom:1px solid #ccc h4:first-of-type border-top: none border-radius:0.382em 0.382em 0em 0px h4 padding: 0.618em 0.8333em ul padding: 0.618em 1em ul:last-child padding-bottom:0px ul list-style: none overflow: auto li margin-bottom: 1em &:after content:'' position:absolute top:-9px z-index:2 width:16px height:16px border-top:1px solid #b5b5b5 border-left:1px solid #b5b5b5 background-color: #fff transform: rotate(45deg) $hrpg-modal-dropdown-left @extend $hrpg-modal-dropdown @media screen and (min-width:768px) div right: 0px &:after right: 1em $hrpg-modal-dropdown-left-heading @extend $hrpg-modal-dropdown-left div &:after background-color: #f7f7f7 $hrpg-modal-dropdown-right @extend $hrpg-modal-dropdown @media screen and (min-width:768px) div left: 0px &:after left: 1em $hrpg-modal-controls text-align: right border-top:1px solid #eee border-radius:0px 0px 0.382em 0.382em li margin-left: 10px display: inline-block background-color: #fff @media screen and (max-width:768px) width: 100% position: fixed bottom:2% right:0 border: none