form field component
This commit is contained in:
@@ -35,6 +35,7 @@
|
||||
|
||||
@descendent title {
|
||||
float: left;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
@descendent label {
|
||||
@@ -46,6 +47,7 @@
|
||||
|
||||
@descendent value {
|
||||
float: right;
|
||||
overflow: hidden;
|
||||
|
||||
@when link {
|
||||
margin-right: 20px;
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
@component-namespace o2 {
|
||||
@component field {
|
||||
width: 100%;
|
||||
display: table;
|
||||
overflow: hidden;
|
||||
|
||||
@when textarea {
|
||||
@@ -27,18 +26,19 @@
|
||||
.o2-cell-title,
|
||||
.o2-cell-value {
|
||||
float: none;
|
||||
display: table-cell;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.o2-cell-title {
|
||||
width: 90px;
|
||||
text-align: right;
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.o2-cell-value {
|
||||
width: 90%;
|
||||
padding-left: 10px;
|
||||
width: 100%;
|
||||
padding-left: 90px;
|
||||
}
|
||||
|
||||
@descendent control {
|
||||
|
||||
Reference in New Issue
Block a user