Skip to content

Commit be55173

Browse files
committed
Button fixes #2974
1 parent ee12114 commit be55173

File tree

7 files changed

+63
-7
lines changed

7 files changed

+63
-7
lines changed

src/shared/components/Contentful/ContentBlock/themes/blobCard.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@
44
.contentWrapper {
55
background-color: #0ab88a;
66
border-radius: 10px;
7-
box-shadow: 0 10px 22px 0 rgba(0, 0, 0, 0.25);
87
width: 413px;
9-
flex-direction: column;
8+
flex-direction: column !important;
109
padding: 0;
1110
}
1211

src/shared/components/Contentful/Image/Image.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ export class ImageInner extends React.Component {
6161
const imageUrl = _.get(imageSource, 'file.url');
6262
const clipSvgUrl = _.get(clipSvg, 'file.url');
6363
const imgStyle = image.extraStylesForImage ? fixStyle(image.extraStylesForImage) : {};
64-
console.log('imgStyle', imgStyle);
6564
if (clipSvgUrl) {
6665
imgStyle.display = 'none';
6766
}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
@import "~styles/mixins";
2+
3+
$tco-primary: #137d60;
4+
$tco-disabled-background: #e9e9e9;
5+
6+
.tcoButton {
7+
@include roboto-bold;
8+
9+
color: $tc-white !important;
10+
background: $tco-primary !important;
11+
font-weight: 700 !important;
12+
border-radius: 20px !important;
13+
font-size: 14px !important;
14+
letter-spacing: 0.8px;
15+
text-transform: uppercase;
16+
text-decoration: none !important;
17+
min-height: 40px !important;
18+
margin-left: 0 !important;
19+
border: none !important;
20+
}
21+
22+
.tcoButtonDisabled {
23+
background-color: $tco-disabled-background !important;
24+
border-radius: 20px !important;
25+
border: none !important;
26+
}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
@import "~styles/mixins";
2+
3+
$tco-seconary: #229174;
4+
$tco-seconary-border: #0ab88a;
5+
$tco-disabled-background: #e9e9e9;
6+
7+
.tcoButton {
8+
@include roboto-bold;
9+
10+
color: $tco-seconary !important;
11+
background: $tc-white !important;
12+
font-weight: 700 !important;
13+
border-radius: 20px !important;
14+
font-size: 14px !important;
15+
letter-spacing: 0.8px;
16+
text-decoration: none !important;
17+
min-height: 40px !important;
18+
margin-left: 0 !important;
19+
border: none !important;
20+
}
21+
22+
.tcoButtonDisabled {
23+
background-color: $tco-disabled-background !important;
24+
border-radius: 20px !important;
25+
border: none !important;
26+
}

src/shared/components/buttons/outline/tco/tco19-sec.scss

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,16 @@ $tco-disabled-background: #e9e9e9;
1111
background: $tc-white !important;
1212
font-weight: 700 !important;
1313
border: 1px solid $tco-seconary-border !important;
14-
border-radius: 20px !important;
15-
font-size: 14px !important;
14+
border-radius: 15px !important;
15+
font-size: 12px !important;
1616
letter-spacing: 0.8px;
1717
text-decoration: none !important;
18-
min-height: 40px !important;
18+
min-height: 30px !important;
1919
margin-left: 0 !important;
2020
}
2121

2222
.tcoButtonDisabled {
2323
background-color: $tco-disabled-background !important;
24-
border-radius: 20px !important;
24+
border-radius: 15px !important;
25+
border: none !important;
2526
}

src/shared/components/buttons/outline/tco/tco19.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@ $tco-disabled-background: #e9e9e9;
2222
.tcoButtonDisabled {
2323
background-color: $tco-disabled-background !important;
2424
border-radius: 20px !important;
25+
border: none !important;
2526
}

src/shared/utils/markdown.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ import AnchorLink from 'react-anchor-link-smooth-scroll';
2424
import Modal from 'components/Contentful/Modal';
2525
import NewsletterArchive from 'containers/NewsletterArchive';
2626

27+
import tco19SecLg from 'components/buttons/outline/tco/tco19-sec-lg.scss';
28+
import tco19Lg from 'components/buttons/outline/tco/tco19-lg.scss';
2729
import tco19Sec from 'components/buttons/outline/tco/tco19-sec.scss';
2830
import tco19 from 'components/buttons/outline/tco/tco19.scss';
2931
import tco18 from 'components/buttons/outline/tco/tco18.scss';
@@ -43,7 +45,9 @@ import tco07 from 'components/buttons/outline/tco/tco07.scss';
4345
*/
4446
const tcoButtonThemes = {
4547
'tco19-sec': tco19Sec,
48+
'tco19-sec-lg': tco19SecLg,
4649
tco19,
50+
'tco19-lg': tco19Lg,
4751
tco18, // default
4852
tco17: tco18,
4953
tco16,

0 commit comments

Comments
 (0)