Skip to content

Commit

Permalink
feat(business/textarea): expose textarea component for business (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
efux authored and kyubisation committed Jun 20, 2019
1 parent b87a4a3 commit 997be3c
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 17 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from '../../../../angular-public/src/lib/textarea/textarea';
1 change: 1 addition & 0 deletions projects/sbb-esta/angular-business/src/public-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
*/
export * from './lib/field/field';
export * from './lib/time-input/time-input';
export * from './lib/textarea/textarea';
28 changes: 19 additions & 9 deletions projects/sbb-esta/angular-public/src/lib/textarea/_textarea.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,33 @@

display: inline-block;
letter-spacing: 0;
line-height: 23px;
border: 2px solid $borderColor;
border-radius: 2px;
outline: 0px;
opacity: 1;
font-size: pxToRem(15);
width: 100%;
@include mq($from: desktop4k) {
border-width: 3px;
border-radius: 3px;
font-size: pxToRem(23);

@include publicOnly() {
line-height: 23px;

@include mq($from: desktop4k) {
border-width: 3px;
border-radius: 3px;
font-size: pxToRem(23);
}
@include mq($from: desktop5k) {
border-radius: 4px;
border-width: 4px;
font-size: pxToRem(30);
}
}
@include mq($from: desktop5k) {
border-radius: 4px;
border-width: 4px;
font-size: pxToRem(30);

@include businessOnly() {
line-height: 20px;
border-width: 1px;
}

font-family: $fontSbbRoman;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,16 @@
font-size: pxToRem(13);
font-family: $fontSbbRoman;

@include mq($from: desktop4k) {
font-size: pxToRem(20);
line-height: pxToRem(13);
}

@include mq($from: desktop5k) {
font-size: pxToRem(26);
line-height: pxToRem(13);
@include publicOnly() {
@include mq($from: desktop4k) {
font-size: pxToRem(20);
line-height: pxToRem(13);
}

@include mq($from: desktop5k) {
font-size: pxToRem(26);
line-height: pxToRem(13);
}
}
}
}

0 comments on commit 997be3c

Please sign in to comment.