Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 55304a1

Browse files
committed
Merge pull request #772 from appirio-tech/qa-integration
Fix extend error and introjs button css overrides
2 parents f663cf5 + b5350fe commit 55304a1

File tree

1 file changed

+75
-5
lines changed

1 file changed

+75
-5
lines changed

assets/css/vendors/introjs.scss

Lines changed: 75 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,19 +68,89 @@
6868

6969
// Refactor buttons when button mixins and/or style guide is done
7070
.introjs-button {
71-
@extend .tc-btn !optional;
72-
@extend .tc-btn-s !optional;
71+
height: 30px;
72+
padding: 0 10px;
73+
line-height: 28px;
74+
border-radius: 3px;
75+
border: 1px solid $primary;
76+
background-color: $primary;
77+
background-image : none;
78+
@include font-with-weight('Sofia Pro', 500);
79+
font-size: 12px;
80+
font-style: normal;
81+
color: $white;
82+
text-transform: uppercase;
83+
outline: none;
84+
text-shadow: none;
85+
86+
&:visited {
87+
88+
}
89+
90+
&:focus {
91+
border: 1px solid $primary;
92+
background-image: none;
93+
background-color: $primary;
94+
color: $white;
95+
}
96+
97+
&:hover {
98+
background-color: $primary-dark;
99+
border-color: $primary-dark;
100+
color: $white;
101+
}
102+
103+
&:active {
104+
background-color: $primary-dark;
105+
background-image : none;
106+
border-color: $primary-dark;
107+
box-shadow: inset 0px 1px 1px 0px rgba(0,0,0,0.30);
108+
line-height: 29px;
109+
}
110+
111+
&:disabled {
112+
opacity: .3;
113+
cursor: default;
114+
}
73115
}
74116

75117
.introjs-skipbutton {
76-
@extend .tc-btn-ghost !optional;
77118
float: left;
119+
color: $primary;
120+
background-color: $white;
121+
122+
&:hover {
123+
color: $white;
124+
border-color: $primary;
125+
background-color: $primary;
126+
}
127+
128+
&:active {
129+
color: $white;
130+
border-color: $primary-dark;
131+
background-color: $primary-dark;
132+
box-shadow: inset 0px 1px 1px 0px rgba(0,0,0,0.30);
133+
}
134+
135+
&:disabled {
136+
border-color: $gray-dark;
137+
color: $gray-dark;
138+
}
78139
}
79140

80141

81142
.introjs-disabled {
82-
@extend .tc-btn-s !optional;
83-
@extend :disabled !optional;
143+
height: 30px;
144+
padding: 0 10px;
145+
line-height: 28px;
146+
font-size: 12px;
147+
font-weight: 500;
148+
opacity: .3;
149+
cursor: default;
150+
151+
&:active {
152+
line-height: 29px;
153+
}
84154
}
85155

86156
.introjs-prevbutton {

0 commit comments

Comments
 (0)