Skip to content

Instantly share code, notes, and snippets.

@francoislg
Created November 28, 2017 15:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save francoislg/b58dd2230c98bb10278c683554e7f352 to your computer and use it in GitHub Desktop.
Save francoislg/b58dd2230c98bb10278c683554e7f352 to your computer and use it in GitHub Desktop.
CoveoFeelingLucky CSS
.hiddenFeelingLucky {
visibility: hidden;
}
.CoveoFeelingLucky {
cursor:pointer;
position:relative;
float:right;
z-index: 2;
color: #768396;
text-decoration: none;
text-align: center;
vertical-align: middle;
overflow: hidden;
height: 48px;
min-width: 48px;
font-size: 13pt;
margin-top: 1px;
margin-right: 1px;
}
.CoveoFeelingLucky:hover {
color: #f1c650;
}
.CoveoFeelingLucky.selected {
background-color:#F7F8F9;
border-radius: 4px;
}
.CoveoFeelingLucky > span:before {
content: '';
vertical-align: middle;
height: 100%;
display: inline-block;
}
.CoveoFeelingLucky > span {
padding: 0px 15px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment