CSS border style classes
gitea/salix/dev This commit has test failures
Details
gitea/salix/dev This commit has test failures
Details
This commit is contained in:
parent
c2dcae5577
commit
4f92cafe30
|
@ -12,31 +12,25 @@ vn-step-control {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row
|
flex-direction: row
|
||||||
}
|
}
|
||||||
|
|
||||||
& > .steps > .step {
|
& > .steps > .step {
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
min-width: 125px;
|
min-width: 125px;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex: auto
|
flex: auto
|
||||||
}
|
}
|
||||||
|
|
||||||
& > .steps > .step .circle {
|
& > .steps > .step .circle {
|
||||||
border: 2px solid $color-main;
|
border: 2px solid $color-main;
|
||||||
background-color: white;
|
background-color: white;
|
||||||
align-content: center;
|
align-content: center;
|
||||||
margin-top: -9.5px;
|
margin-top: -9.5px;
|
||||||
-moz-border-radius: 50%;
|
|
||||||
-webkit-border-radius: 50%;
|
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
height: 15px;
|
height: 15px;
|
||||||
width: 15px
|
width: 15px
|
||||||
}
|
}
|
||||||
|
|
||||||
& > .steps > .step .circle.active {
|
& > .steps > .step .circle.active {
|
||||||
background-color: $color-main;
|
background-color: $color-main;
|
||||||
}
|
}
|
||||||
|
|
||||||
& > .buttons {
|
& > .buttons {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex: auto;
|
flex: auto;
|
||||||
|
@ -44,11 +38,9 @@ vn-step-control {
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
margin-top: 10px
|
margin-top: 10px
|
||||||
}
|
}
|
||||||
|
|
||||||
& > .buttons > .step {
|
& > .buttons > .step {
|
||||||
display: flex
|
display: flex
|
||||||
}
|
}
|
||||||
|
|
||||||
& > .buttons > .step > .mdl-button {
|
& > .buttons > .step > .mdl-button {
|
||||||
line-height: 32px;
|
line-height: 32px;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
|
@ -56,5 +48,4 @@ vn-step-control {
|
||||||
height: 32px
|
height: 32px
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -1,23 +1,23 @@
|
||||||
@import "./variables";
|
@import "./variables";
|
||||||
|
|
||||||
html [border-solid], .border-solid {
|
.border-solid {
|
||||||
border: $border-thin-light;
|
border: $border-thin-light;
|
||||||
}
|
}
|
||||||
html [border-solid-top], .border-solid-top {
|
.border-solid-top {
|
||||||
border-top: $border-thin-light;
|
border-top: $border-thin-light;
|
||||||
}
|
}
|
||||||
html [border-solid-left], .border-solid-left {
|
.border-solid-left {
|
||||||
border-left: $border-thin-light;
|
border-left: $border-thin-light;
|
||||||
}
|
}
|
||||||
html [border-solid-right], .border-solid-right {
|
.border-solid-right {
|
||||||
border-right: $border-thin-light;
|
border-right: $border-thin-light;
|
||||||
}
|
}
|
||||||
html [border-solid-bottom], .border-solid-bottom {
|
.border-solid-bottom {
|
||||||
border-bottom: $border-thin-light;
|
border-bottom: $border-thin-light;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Border Radius */
|
/* Border Radius */
|
||||||
|
|
||||||
html [border-radius], .border-radius {
|
.border-radius {
|
||||||
border-radius: .3em;
|
border-radius: .3em;
|
||||||
}
|
}
|
|
@ -1,5 +1,3 @@
|
||||||
@import "./variables";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* CSS spacing classes
|
* CSS spacing classes
|
||||||
*
|
*
|
||||||
|
@ -25,6 +23,8 @@
|
||||||
* xl (extra large)
|
* xl (extra large)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@import "./variables";
|
||||||
|
|
||||||
//++++++++++++++++++++++++++++++++++++++++++++++++ Padding
|
//++++++++++++++++++++++++++++++++++++++++++++++++ Padding
|
||||||
|
|
||||||
// None
|
// None
|
||||||
|
@ -328,7 +328,7 @@
|
||||||
margin-right: $spacing-lg;
|
margin-right: $spacing-lg;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Huge */
|
/* Extra large */
|
||||||
|
|
||||||
.vn-ma-xl {
|
.vn-ma-xl {
|
||||||
margin: $spacing-xl;
|
margin: $spacing-xl;
|
||||||
|
|
|
@ -15,10 +15,9 @@
|
||||||
class="address">
|
class="address">
|
||||||
<a
|
<a
|
||||||
ui-sref="client.card.address.edit({addressId: {{::address.id}}})"
|
ui-sref="client.card.address.edit({addressId: {{::address.id}}})"
|
||||||
class="vn-pa-sm border-solid"
|
class="vn-pa-sm border-solid border-radius"
|
||||||
ng-class="{'item-disabled': !address.isActive}"
|
ng-class="{'item-disabled': !address.isActive}"
|
||||||
translate-attr="{title: 'Edit address'}"
|
translate-attr="{title: 'Edit address'}">
|
||||||
border-radius>
|
|
||||||
<vn-none
|
<vn-none
|
||||||
class="vn-pr-sm"
|
class="vn-pr-sm"
|
||||||
ng-click="$ctrl.onStarClick($event)">
|
ng-click="$ctrl.onStarClick($event)">
|
||||||
|
@ -52,8 +51,7 @@
|
||||||
<vn-vertical
|
<vn-vertical
|
||||||
vn-one
|
vn-one
|
||||||
ng-if="address.observations.length"
|
ng-if="address.observations.length"
|
||||||
border-solid-left
|
class="vn-hide-narrow vn-px-md border-solid-left"
|
||||||
class="vn-hide-narrow vn-px-md"
|
|
||||||
style="height: 6em; overflow: auto;">
|
style="height: 6em; overflow: auto;">
|
||||||
<vn-one ng-repeat="observation in address.observations track by $index" ng-class="{'vn-pt-sm': $index}">
|
<vn-one ng-repeat="observation in address.observations track by $index" ng-class="{'vn-pt-sm': $index}">
|
||||||
<b>{{::observation.observationType.description}}:</b>
|
<b>{{::observation.observationType.description}}:</b>
|
||||||
|
|
|
@ -7,8 +7,7 @@
|
||||||
class="vn-pb-md insurance"
|
class="vn-pb-md insurance"
|
||||||
style="align-items: center;">
|
style="align-items: center;">
|
||||||
<vn-one
|
<vn-one
|
||||||
border-radius
|
class="vn-pa-sm border-solid border-radius"
|
||||||
class="vn-pa-sm border-solid"
|
|
||||||
ng-class="{'item-hightlight': !classification.finished,'item-disabled': classification.finished}">
|
ng-class="{'item-hightlight': !classification.finished,'item-disabled': classification.finished}">
|
||||||
<vn-horizontal style="align-items: center;">
|
<vn-horizontal style="align-items: center;">
|
||||||
<vn-none class="vn-px-md">
|
<vn-none class="vn-px-md">
|
||||||
|
@ -19,7 +18,7 @@
|
||||||
ng-click="$ctrl.closeContract(classification)">
|
ng-click="$ctrl.closeContract(classification)">
|
||||||
</vn-icon-button>
|
</vn-icon-button>
|
||||||
</vn-none>
|
</vn-none>
|
||||||
<vn-one border-solid-right>
|
<vn-one class="border-solid-right">
|
||||||
<div><vn-label translate>Since</vn-label> {{::classification.started | dateTime:'dd/MM/yyyy'}}</div>
|
<div><vn-label translate>Since</vn-label> {{::classification.started | dateTime:'dd/MM/yyyy'}}</div>
|
||||||
<div><vn-label translate>To</vn-label> {{classification.finished | dateTime:'dd/MM/yyyy'}}</div>
|
<div><vn-label translate>To</vn-label> {{classification.finished | dateTime:'dd/MM/yyyy'}}</div>
|
||||||
</vn-one>
|
</vn-one>
|
||||||
|
|
Loading…
Reference in New Issue