Skip to content
Snippets Groups Projects
Commit 8da3726f authored by Lauren's avatar Lauren
Browse files

updated sass and css to remove specificity from button selector

parent 33e7584d
No related branches found
No related tags found
No related merge requests found
/* DEFAULT button shortcode styles */
a.lbdesign_button {
background: #777;
color: #fff;
text-decoration: none;
font-weight: bold;
padding: 20px 25px;
.lbdesign_button,
.lbdesign_button:hover,
.lbdesign_button:focus,
.lbdesign_button:active,
.lbdesign_button.active {
text-decoration: none; }
.lbdesign_button {
padding: 0.625em 0.9375em;
display: inline-block;
text-transform: uppercase;
margin: 5px 5px 5px 0;
border: 0;
line-height: 1.2;
/* SIZE button styles */
/* TYPE button styles */
/* FULL WIDTH BUTTON */ }
a.lbdesign_button:hover, a.lbdesign_button:focus {
background: #777;
color: white;
line-height: inherit;
border-bottom: none; }
.lbdesign_button:hover, .lbdesign_button:focus {
background: #5e5e5e;
color: #fff; }
a.lbdesign_button.lbdesign_small {
padding: 10px 15px;
font-size: 0.8em; }
a.lbdesign_button.lbdesign_large {
padding: 25px 30px;
font-size: 1.5em; }
a.lbdesign_button.lbdesign_primary {
background: #226CFF; }
a.lbdesign_button.lbdesign_primary:hover, a.lbdesign_button.lbdesign_primary:focus {
background: #0050ee; }
a.lbdesign_button.lbdesign_warning {
background: #FF2247; }
a.lbdesign_button.lbdesign_warning:hover, a.lbdesign_button.lbdesign_warning:focus {
background: #ee0028; }
a.lbdesign_button.lbdesign_info {
background: #FFDA22; }
a.lbdesign_button.lbdesign_info:hover, a.lbdesign_button.lbdesign_info:focus {
background: #eec600; }
a.lbdesign_button.lbdesign_action {
background: #4FBE00; }
a.lbdesign_button.lbdesign_action:hover, a.lbdesign_button.lbdesign_action:focus {
background: #3a8b00; }
a.lbdesign_button.lbdesign_full_width {
display: block;
width: 100%;
text-align: center; }
/* SIZES */
.lbdesign_small {
font-size: 85%; }
.lbdesign_large {
font-size: 115%; }
.lbdesign_xlarge {
font-size: 125%; }
/* TYPES */
.lbdesign_primary {
background: #226CFF; }
.lbdesign_primary:hover, .lbdesign_primary:focus {
background: #0050ee; }
.lbdesign_warning {
background: #FF2247; }
.lbdesign_warning:hover, .lbdesign_warning:focus {
background: #ee0028; }
.lbdesign_highlight {
background: #FFB624; }
.lbdesign_highlight:hover, .lbdesign_highlight:focus {
background: #f0a000; }
.lbdesign_info {
background: #FFDA22; }
.lbdesign_info:hover, .lbdesign_info:focus {
background: #eec600; }
.lbdesign_action {
background: #4FBE00; }
.lbdesign_action:hover, .lbdesign_action:focus {
background: #3a8b00; }
/* STYLES */
.lbdesign_rounded {
border-radius: 0.3125em; }
.lbdesign_pill {
border-radius: 2em; }
.lbdesign_block {
display: block;
text-align: center; }
.lbdesign_full_width {
display: block;
width: 100%;
text-align: center; }
/*# sourceMappingURL=lbdesign_button_shortcode.css.map */
{
"version": 3,
"mappings": ";AAQA;;;;uBAIwB;EACtB,eAAe,EAAE,IAAI;;AAEvB,gBAAiB;EACb,OAAO,EAAE,gBAAgB;EACzB,OAAO,EAAE,YAAY;EACrB,UAAU,EAAE,IAAI;EAChB,KAAK,EAAE,KAAK;EACZ,WAAW,EAAE,OAAO;EACpB,aAAa,EAAE,IAAI;EAEnB,8CACQ;IACJ,UAAU,EAAE,OAAiB;IAC7B,KAAK,EAAE,IAAI;;;AAKnB,eAAgB;EACZ,SAAS,EAAE,GAAG;;AAElB,eAAgB;EACZ,SAAS,EAAE,IAAI;;AAEnB,gBAAiB;EACf,SAAS,EAAE,IAAI;;;AAIjB,iBAAkB;EACd,UAAU,EA1CJ,OAAO;EA2Cb,gDACQ;IACJ,UAAU,EAAE,OAAqB;;AAGzC,iBAAkB;EACd,UAAU,EAhDJ,OAAO;EAiDb,gDACQ;IACJ,UAAU,EAAE,OAAqB;;AAGzC,mBAAoB;EAClB,UAAU,EApDA,OAAO;EAqDjB,oDACQ;IACN,UAAU,EAAE,OAAuB;;AAGvC,cAAe;EACX,UAAU,EA7DP,OAAO;EA8DV,0CACQ;IACJ,UAAU,EAAE,OAAkB;;AAGtC,gBAAiB;EACb,UAAU,EAnEL,OAAO;EAoEZ,8CACQ;IACJ,UAAU,EAAE,OAAoB;;;AAMxC,iBAAkB;EAChB,aAAa,EAAE,QAAQ;;AAEzB,cAAe;EACb,aAAa,EAAE,GAAG;;AAEpB,eAAgB;EACd,OAAO,EAAE,KAAK;EACd,UAAU,EAAE,MAAM;;AAEpB,oBAAqB;EACjB,OAAO,EAAE,KAAK;EACd,KAAK,EAAE,IAAI;EACX,UAAU,EAAE,MAAM",
"sources": ["../sass/lbdesign_button_shortcode.scss"],
"names": [],
"file": "lbdesign_button_shortcode.css"
}
/* DEFAULT button shortcode styles */
a.button {
background: #ccc;
color: #fff;
text-decoration: none;
font-weight: bold;
padding: 20px 25px;
display: inline-block;
text-transform: uppercase;
margin: 5px 5px 5px 0;
border: 0;
/* SIZE button styles */
/* TYPE button styles */ }
a.button:hover, a.button:focus {
background: #b3b3b3; }
a.button.small {
padding: 10px 15px;
font-size: 0.9em; }
a.button.large {
padding: 30px 35px;
font-size: 1.2em; }
a.button.primary {
background: #226CFF; }
a.button.primary:hover, a.button.primary:focus {
background: #0050ee; }
a.button.warning {
background: #FF2247; }
a.button.warning:hover, a.button.warning:focus {
background: #ee0028; }
a.button.info {
background: #FFDA22; }
a.button.info:hover, a.button.info:focus {
background: #eec600; }
a.button.action {
background: #4FBE00; }
a.button.action:hover, a.button.action:focus {
background: #3a8b00; }
/*# sourceMappingURL=style.css.map */
{
"version": 3,
"mappings": ";AACA,QAAS;EACL,UAAU,EAAE,IAAI;EAChB,KAAK,EAAE,IAAI;EACX,eAAe,EAAE,IAAI;EACrB,WAAW,EAAE,IAAI;EACjB,OAAO,EAAE,SAAS;EAClB,OAAO,EAAE,YAAY;EACrB,cAAc,EAAE,SAAS;EACzB,MAAM,EAAE,aAAa;EACrB,MAAM,EAAE,CAAC;;;EAET,8BACQ;IACJ,UAAU,EAAE,OAAiB;EAIjC,cAAQ;IACJ,OAAO,EAAE,SAAS;IAClB,SAAS,EAAE,KAAK;EAEpB,cAAQ;IACJ,OAAO,EAAE,SAAS;IAClB,SAAS,EAAE,KAAK;EAIpB,gBAAU;IACN,UAAU,EAAE,OAAO;IACnB,8CACQ;MACJ,UAAU,EAAE,OAAoB;EAGxC,gBAAU;IACN,UAAU,EAAE,OAAO;IACnB,8CACQ;MACJ,UAAU,EAAE,OAAoB;EAGxC,aAAO;IACH,UAAU,EAAE,OAAO;IACnB,wCACQ;MACJ,UAAU,EAAE,OAAoB;EAGxC,eAAS;IACL,UAAU,EAAE,OAAO;IACnB,4CACQ;MACJ,UAAU,EAAE,OAAoB",
"sources": ["../sass/lbd_button_shortcode.scss"],
"names": [],
"file": "style.css"
}
\ No newline at end of file
......@@ -13,11 +13,13 @@ $highlight: #FFB624;
.lbdesign_button.active {
text-decoration: none;
}
a.lbdesign_button {
.lbdesign_button {
padding: 0.625em 0.9375em;
display: inline-block;
background: #777;
color: white;
line-height: inherit;
border-bottom: none;
&:hover,
&:focus {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment