open-vault/ui/app/styles/components/info-table-row.scss
Angel Garbarino 382a519756
Ui/transform info table row roles (#9942)
* add dynamic segement to list-root so that you can sepecify the tab you want to go to

* create new info-table-item-array component to handle array items passed into a info-table

* do not underline links if they are in an info-table-row confirmed with design

* implement the InfoTableItemArray component

* amend wildcard helper to take in regular string

* setup the logic and more logic

* fix routing to roles issue

* test for new component

* change data-test-mode to count

* handle case when wildcardCount is 0
2020-09-15 12:11:24 -06:00

83 lines
1.1 KiB
SCSS

.info-table-row {
box-shadow: 0 1px 0 $grey-light;
margin: 0;
@include from($tablet) {
display: flex;
}
&.thead {
box-shadow: 0 1px 0 $grey-light, 0 -1px 0 $grey-light;
margin: 0;
padding: 0 $size-6 0 0;
.column {
padding: 0.5rem 0.75rem;
}
}
.column {
align-self: center;
&.info-table-row-edit {
padding-bottom: 0.3rem;
padding-top: 0.3rem;
}
textarea {
min-height: 35px;
}
.helper-text {
font-weight: normal;
}
}
.hs-icon {
margin-right: 0.25rem;
}
.icon-true {
color: $green-500;
}
.icon-false {
color: $ui-gray-300;
}
a {
text-decoration: none;
}
}
.info-table-row:not(.is-mobile) .column {
@include until($tablet) {
padding: 0;
}
&:first-child {
padding-left: 0;
@include until($tablet) {
padding: $size-8 0 0;
}
}
&:last-child {
padding-right: 0;
@include until($tablet) {
padding: 0 0 $size-8;
}
}
}
.info-table-row-header {
margin: 0;
@include until($tablet) {
display: none;
}
.info-table-row:not(.is-mobile) .column:last-child {
padding-left: 0;
}
}