Revision 59eb4451
Added by Andreas Kohlbecker about 7 years ago
src/main/webapp/VAADIN/themes/edit-valo/edit-valo.scss | ||
---|---|---|
89 | 89 |
} |
90 | 90 |
} |
91 | 91 |
} |
92 |
|
|
93 |
.workflow { |
|
94 |
|
|
95 |
$workflow-icon-size: 110px; |
|
96 |
// can not be set per css as this need to set as property to the component in vaadin |
|
97 |
$workflow-timeline-bar-height: 10px; |
|
98 |
// the fator by which the caption should be smaller than the circe |
|
99 |
$workflow-caption-shrink: 0.64; |
|
100 |
|
|
101 |
$workflow-icon-margin-h: $workflow-icon-size / 5; |
|
102 |
$workflow-icon-left: $workflow-icon-margin-h / 2; |
|
103 |
$workflow-caption-font-size: $workflow-icon-size * $workflow-caption-shrink; |
|
104 |
|
|
105 |
.steps { |
|
106 |
z-index: 10; |
|
107 |
|
|
108 |
.v-button { |
|
109 |
margin: 0 $workflow-icon-margin-h; |
|
110 |
font-size: $workflow-icon-size; |
|
111 |
height: $workflow-icon-size; |
|
112 |
width: $workflow-icon-size; |
|
113 |
line-height: $workflow-icon-size; |
|
114 |
|
|
115 |
.v-icon, .v-button-caption { |
|
116 |
position: absolute; |
|
117 |
left: $workflow-icon-left; |
|
118 |
top: 0px; |
|
119 |
} |
|
120 |
.v-button-caption { |
|
121 |
font-family: monospace; |
|
122 |
left: (($workflow-icon-size - $workflow-caption-font-size) / 2) + $workflow-icon-left; // 30px; |
|
123 |
top: -2px; |
|
124 |
color: $v-background-color; |
|
125 |
font-size: $workflow-caption-font-size; // 70px; |
|
126 |
} |
|
127 |
} |
|
128 |
|
|
129 |
.v-csslayout { |
|
130 |
width: $workflow-icon-size + 2 * $workflow-icon-margin-h; |
|
131 |
.v-label { |
|
132 |
display: block; |
|
133 |
text-align: center; |
|
134 |
} |
|
135 |
} |
|
136 |
} |
|
137 |
|
|
138 |
.timeline { |
|
139 |
display: block; |
|
140 |
position: relative; |
|
141 |
top: ($workflow-icon-size / 2) + $workflow-timeline-bar-height / 2; |
|
142 |
padding: 0 $workflow-icon-size / 2; |
|
143 |
.timeline-bar { |
|
144 |
z-index: 0; |
|
145 |
background-color: $v-font-color; |
|
146 |
} |
|
147 |
} |
|
148 |
} |
|
92 | 149 |
|
93 | 150 |
} |
Also available in: Unified diff
ref #6169 initial concept fo a workflow view