blob: 42d0f0dfee071291fbe9502d2a9cfe103a9f4508 [file] [log] [blame]
Iftekharul Islam8947e702017-07-27 10:28:07 -05001button, .button, .submit {
Michael Davis19475752017-02-23 18:30:23 -06002 font-size: 1em;
Michael Davis51946552017-05-01 10:30:38 -05003 @include fontFamilyBold;
Michael Davis19475752017-02-23 18:30:23 -06004 text-transform: none;
5 border-radius: 3px;
Iftekharul Islam4390b022017-06-05 09:44:50 -05006 padding: .5rem 2rem .5rem;
Michael Davis19475752017-02-23 18:30:23 -06007 height: auto;
Michael Davisc5626182017-03-10 15:48:05 -06008 border: 0;
Michael Davis3a0d4712017-03-27 14:01:34 -05009 overflow: hidden;
Michael Davis19475752017-02-23 18:30:23 -060010 &:hover {
11 cursor: pointer;
12 }
Iftekharul Islam8947e702017-07-27 10:28:07 -050013 &.disabled {
Michael Davis19475752017-02-23 18:30:23 -060014 opacity: 0.2;
Michael Davis0f03ad12017-02-27 16:54:18 -060015 color: $btn__disabled-txt;
Michael Davis19475752017-02-23 18:30:23 -060016 &:hover {
17 cursor: default;
18 background: transparent;
Iftekharul Islam8947e702017-07-27 10:28:07 -050019 text-decoration: none;
Michael Davis19475752017-02-23 18:30:23 -060020 }
21 }
22}
23
Michael Davisc96980f2017-06-19 11:47:36 -050024.btn-primary {
Michael Davis19475752017-02-23 18:30:23 -060025 color: $primebtn__text;
26 background: $primebtn__bg;
Michael Davis51946552017-05-01 10:30:38 -050027 min-height: 40px;
Michael Davis0f03ad12017-02-27 16:54:18 -060028 &:hover {
Michael Davis5d014692017-03-02 13:37:40 -060029 background: lighten($primebtn__bg, 8%);
Michael Davis0f03ad12017-02-27 16:54:18 -060030 @include fastTransition-all;
31 }
32 &.disabled {
33 background: $btn__disabled-bg;
34 color: $btn__disabled-txt;
35 @include fastTransition-all;
36 &:hover {
37 cursor: default;
38 }
39 }
Iftekharul Islam8947e702017-07-27 10:28:07 -050040 i { //button symbol
Michael Davisc5626182017-03-10 15:48:05 -060041 font-style: normal;
42 text-transform: none;
43 font-size: 1.5em;
44 transform: rotate(80deg);
45 display: inline-block;
46 }
47 img{
48 width: 18px;
49 height: 18px;
50 display: inline-block;
51 }
Michael Davis19475752017-02-23 18:30:23 -060052}
53.btn-secondary {
54 color: $secbtn__text;
Iftekharul Islam4390b022017-06-05 09:44:50 -050055 background: transparent;
Michael Davis19475752017-02-23 18:30:23 -060056 border: 2px solid $secbtn__border;
Michael Davis51946552017-05-01 10:30:38 -050057 min-height: 40px;
Michael Davis19475752017-02-23 18:30:23 -060058 &:hover {
59 background: $lightbg__accent;
60 cursor: pointer;
61 background: $secbtn__bg;
Michael Davis0f03ad12017-02-27 16:54:18 -060062 @include fastTransition-all;
63 }
64 &.disabled {
65 border: 2px solid $lightgrey;
66 background: $btn__disabled-bg;
67 @include fastTransition-all;
68 &:hover {
69 background: $btn__disabled-bg;
70 }
Michael Davis19475752017-02-23 18:30:23 -060071 }
Michael Davisc5626182017-03-10 15:48:05 -060072 i { // button symbol
73 font-style: normal;
74 font-weight: 400;
75 text-transform: none;
76 font-size: 1.5em;
77 transform: rotate(80deg) translate(-2px);
78 display: inline-block;
79 vertical-align: middle;
80 }
81 img{
82 width: 18px;
83 height: 18px;
84 display: inline-block;
85 margin-right: .5em;
86 margin-top: -3px;
87 }
Michael Davis19475752017-02-23 18:30:23 -060088}
Michael Davis51946552017-05-01 10:30:38 -050089
90.btn-pop-out {
91 position: relative;
92 padding: 0 0 1em 2em;
93 color: $black;
94 &:hover {
95 text-decoration: underline;
96 }
97 &:before {
98 content: '';
99 position: absolute;
100 left: 0;
Michael Davisf0504852017-07-27 15:42:39 -0500101 top: 0px;
Michael Davis51946552017-05-01 10:30:38 -0500102 width: 25px;
103 height: 20px;
104 display: inline-block;
105 border: 1px solid $black;
106 border-top: 4px solid $black;
107 }
108 &:after {
109 content: '\2794';
110 position: absolute;
111 transform: rotate(-45deg);
112 font-size: .9em;
113 font-weight: 700;
114 vertical-align: middle;
115 display: inline-block;
116 left: 11px;
Iftekharul Islamdb28a382017-11-02 13:16:17 -0500117 top: 0px;
Michael Davis51946552017-05-01 10:30:38 -0500118 }
119}