forked from ILIAS-eLearning/ILIAS
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from pgeib/UI_Workflow
UI_Workflow less
- Loading branch information
Showing
5 changed files
with
101 additions
and
16,293 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,120 +1,129 @@ | ||
@border-gray: #ddd; | ||
@icon-size: 20px; | ||
@White: #fff; | ||
|
||
//.il-workflow-header { | ||
//margin-bottom: @padding-base-horizontal; | ||
//height: @il-top-bar-height; | ||
//} | ||
|
||
@font-face { | ||
font-family: 'Glyphicons Halflings'; | ||
src: url('../../libs/bower/bower_components/webui-popover/fonts/glyphicons-halflings-regular.eot'); | ||
src: url('../../libs/bower/bower_components/webui-popover/fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), | ||
url('../../libs/bower/bower_components/webui-popover/fonts/glyphicons-halflings-regular.woff2') format('woff2'), | ||
url('../../libs/bower/bower_components/webui-popover/fonts/glyphicons-halflings-regular.woff') format('woff'), | ||
url('../../libs/bower/bower_components/webui-popover/fonts/glyphicons-halflings-regular.ttf') format('truetype'), | ||
url('../../libs/bower/bower_components/webui-popover/fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg'); | ||
.il-workflow-header { | ||
margin-bottom: @padding-base-horizontal; | ||
height: @il-top-bar-height; | ||
} | ||
|
||
ul.il-workflow-steps { | ||
.il-workflow-container { | ||
list-style: none; | ||
padding: 0; | ||
li.il-workflow-step { | ||
|
||
.il-workflow-step { | ||
&:before { | ||
background-color: #fff; | ||
border: 1px solid @brand-primary; | ||
background-color: @White; | ||
border: @icon-size*0.05 solid @brand-primary; | ||
border-radius: 50%; | ||
color: #fff; | ||
color: @White; | ||
content: ""; | ||
font-family: Glyphicons Halflings; | ||
font-size: @icon-size*0.6; | ||
height: @icon-size; | ||
line-height: 1.6em; | ||
margin-left: @icon-size/4; | ||
padding-left: @icon-size*0.05; | ||
position: absolute; | ||
text-align: center; | ||
width: @icon-size; | ||
} | ||
|
||
.completed_successfully, | ||
.not_yet_available.completed_successfully, | ||
.completed_unsuccessfully, | ||
.not_yet_available.completed_unsuccessfully { | ||
&:before { | ||
background-color: @border-gray; | ||
color: #fff; | ||
} | ||
} | ||
.completed_successfully, | ||
.not_yet_available.completed_successfully { | ||
&:before { | ||
content: "\e013"; | ||
} | ||
} | ||
.completed_unsuccessfully, | ||
.not_yet_available.completed_unsuccessfully { | ||
&:before { | ||
content: "\e014"; | ||
} | ||
&:last-child .text { | ||
border-left: none; | ||
} | ||
} | ||
|
||
.not_yet_available, | ||
.no_longer_available { | ||
&:before { | ||
|
||
//available, not-yet, no-longer | ||
|
||
.not-yet-available, | ||
.no-longer-available { | ||
&:before { | ||
content: "\e033"; | ||
color: @border-gray; | ||
background-color: #f5f5f5; //Hintergrundfarbe vom umgebenden Container | ||
background-color: #f5f5f5; | ||
border: none; | ||
} | ||
} | ||
.not_yet_available { | ||
&.in-progress { | ||
&:before { | ||
content: "\e033"; | ||
background-color: lighten(@brand-primary, 30%); | ||
color: @White; | ||
} | ||
} | ||
.no_longer_available { | ||
&:before { | ||
content: "\2212"; | ||
.text span { | ||
color: @mid-gray; | ||
opacity: .5; | ||
} | ||
} | ||
|
||
.available.completed_successfully:before, | ||
.available.completed_unsuccessfully:before, | ||
.inprogress:before { | ||
background-color: @brand-primary; | ||
.text { | ||
color: @border-gray; | ||
} | ||
|
||
.inprogress:before { | ||
color: #fff; | ||
} | ||
.no-longer-available { | ||
&:before { | ||
content: "\e023"; | ||
font-size: 1em; | ||
line-height: 1.5em; | ||
} | ||
} | ||
|
||
.text { | ||
border-left: 1px dashed @mid-gray; | ||
margin-left: 10px; | ||
padding: 0 0 30px 20px; | ||
span.il-workflow-step-label { | ||
display: block; | ||
font-weight: 600; | ||
} | ||
|
||
//successfully,unsuccessfully | ||
|
||
.completed-successfully, | ||
.completed-unsuccessfully { | ||
&:before { | ||
background-color: @border-gray; | ||
color: @White; | ||
} | ||
:last-child .text { | ||
border-left: none; | ||
} | ||
.completed-successfully { | ||
&:before { | ||
content: "\e013"; | ||
} | ||
} | ||
.completed-unsuccessfully { | ||
&:before { | ||
content: "\e014"; | ||
} | ||
.active .text { | ||
padding-left: 40px; | ||
span.il-workflow-step-label { | ||
} | ||
.available.completed-successfully, | ||
.available.completed-unsuccessfully, | ||
.in-progress { | ||
&:before { | ||
background-color: @brand-primary; | ||
} | ||
} | ||
|
||
|
||
//active | ||
|
||
.active { | ||
&:before { | ||
margin: @icon-size/4 0 0 0; | ||
width: @icon-size*1.5; | ||
height: @icon-size*1.5; | ||
} | ||
.text { | ||
padding-left: @icon-size*2; | ||
|
||
.il-workflow-step-label { | ||
color: @brand-primary; | ||
font-size: 1.4em; | ||
} | ||
} | ||
.not_yet_available .text, | ||
.no_longer_available .text, | ||
.inprogress.no_longer_available .text, | ||
.inprogress.not_yet_available .text { | ||
color: @border-gray; | ||
} | ||
.inprogress.no_longer_available .text span, | ||
.inprogress.not_yet_available .text span { | ||
opacity: .5; | ||
} | ||
|
||
|
||
//text | ||
|
||
.text { | ||
border-left: 1px dashed @mid-gray; | ||
margin-left: @icon-size*0.75; | ||
padding: 0 0 @icon-size*1.5 @icon-size; | ||
|
||
.il-workflow-step-label { | ||
font-weight: 600; | ||
display: block; | ||
} | ||
} | ||
} |
Oops, something went wrong.