-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(stepper): add tooltip in stepper #81
Changes from 6 commits
5ff1c4e
52e3f96
799547f
03bb4a7
fb2cbbf
82a3a95
29bdee6
878f1da
d80bd08
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
# Changelog | ||
|
||
## 2.1.14 | ||
|
||
- Add tooltip hint in stepper and make stepper responsive | ||
|
||
## 2.1.11 | ||
|
||
- Fix general issues | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@catena-x/portal-shared-components", | ||
"version": "2.1.11", | ||
"name": "@nidhi.garg/portal-shared-components", | ||
"version": "2.1.14", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. why not 2.1.12? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Made the change. And yes I ran the linter command already. |
||
"description": "Catena-X Portal Shared Components", | ||
"author": "Catena-X Contributors", | ||
"license": "Apache-2.0", | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,116 @@ | ||
/******************************************************************************** | ||
* Copyright (c) 2021, 2023 BMW Group AG | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. remove 1st line. i.e line number 2 |
||
* Copyright (c) 2021, 2023 Contributors to the Eclipse Foundation | ||
* | ||
* See the NOTICE file(s) distributed with this work for additional | ||
* information regarding copyright ownership. | ||
* | ||
* This program and the accompanying materials are made available under the | ||
* terms of the Apache License, Version 2.0 which is available at | ||
* https://www.apache.org/licenses/LICENSE-2.0. | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | ||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the | ||
* License for the specific language governing permissions and limitations | ||
* under the License. | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
********************************************************************************/ | ||
|
||
.stepperMain { | ||
display: flex; | ||
|
||
.stepperStep { | ||
-webkit-flex: 1 0 0%; | ||
-ms-flex: 1 0 0%; | ||
flex: 1 0 0%; | ||
width: 100%; | ||
max-width: 100%; | ||
|
||
.stepHead { | ||
text-align: center; | ||
height: 100%; | ||
|
||
.hintStepMain { | ||
.hintStepMobile { | ||
display: none; | ||
} | ||
} | ||
|
||
.stepHeadline { | ||
width: 95px; | ||
margin: 0px auto 24px auto; | ||
min-height: 56px; | ||
} | ||
} | ||
} | ||
} | ||
|
||
.stepperHint { | ||
display: flex; | ||
|
||
.hintStep { | ||
-webkit-flex: 1 0 0%; | ||
-ms-flex: 1 0 0%; | ||
flex: 1 0 0%; | ||
width: 100%; | ||
max-width: 100%; | ||
} | ||
} | ||
|
||
|
||
|
||
@media only screen and (max-width: 767px) { | ||
|
||
.stepperMain { | ||
display: inline-block; | ||
width: 100%; | ||
|
||
.stepperStep { | ||
margin-bottom: 12px; | ||
|
||
.stepHead { | ||
text-align: left; | ||
height: auto; | ||
|
||
.hintStepMain { | ||
display: flex; | ||
align-items: center; | ||
|
||
.hintStepMobile { | ||
display: inline-block; | ||
|
||
a { | ||
display: inline-flex; | ||
border-radius: 12px; | ||
padding: 6px 12px; | ||
background: var(--Interactive-Secondary, #EAF1FE); | ||
box-shadow: 0px 20px 40px 0px rgba(80, 80, 80, 0.30); | ||
margin-left: 10px; | ||
|
||
span { | ||
padding-bottom: 0; | ||
} | ||
} | ||
} | ||
} | ||
|
||
.stepIcon { | ||
margin: 0; | ||
} | ||
|
||
.stepHeadline { | ||
width: 100%; | ||
margin: 10px auto 12px auto; | ||
min-height: auto; | ||
line-height: normal; | ||
} | ||
} | ||
} | ||
} | ||
|
||
.stepperHint { | ||
display: none; | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pls change this back to catena-x