mon-entreprise/source/components/Rule.css

207 lines
3.0 KiB
CSS
Raw Normal View History

#rule {
font-size: 120%;
2016-12-07 18:08:10 +00:00
}
2016-12-16 16:28:42 +00:00
#rule pre {
2016-12-16 16:28:42 +00:00
padding: 1em 2em;
}
.rule-type {
padding: 0 .5em;
font-size: 75%;
margin-right: 1em;
display: inline-block;
width: 7em;
text-align: center;
color: #4B4B66;
border: 2px solid #4B4B66;
border-radius: 3px;
font-weight: 600;
text-transform: uppercase;
}
#rule h1 {
margin-bottom: 1%;
color: #4B4B66;
display: flex;
align-items: center;
}
#rule h2 {
font-size: 100%;
font-weight: 400;
border-bottom: 1px solid #4B4B66;
display: inline-block;
padding-right: .6em;
}
#rule .rule-type {
font-size: 35%;
}
#rule-meta {
display: flex;
justify-content: flex-start;
min-height: 5em;
}
#meta-paragraph {
background: rgba(51, 51, 80, 0.03);
margin: 0 3em;
padding: 1em;
}
#rule-meta #rule-references {
font-size: 85%;
list-style: none;
padding-left: 1em;
}
#rule-meta #rule-references li i {
margin: 0 1em;
color: #333350
}
#rule-rules {
display: inline-flex;
justify-content: start;
min-height: 5em;
width: 80%;
}
#rule-rules .situationValue {
display: none;
padding-left: 1em;
font-weight: 600;
color: #333350;
}
#rule-rules.showValues .situationValue {
display: inline;
}
#showValues {
background: rgb(74, 137, 220);
color: white;
border: none;
font-size: 120%;
padding: .5em;
}
#rule-rules section {
margin: 1em 3em;
font-weight: 500;
font-size: 90%;
color: #444
}
#rule-rules section h2 {
font-size: 130%;
}
.node {
padding-left: 1em;
color: #4B4B66
}
.nodeHead {
margin-bottom: 1em;
}
.mecanism > .nodeHead .name {
padding: .05em 1em;
background: #d5911a;
color: white;
font-weight: 600;
border-radius: .4em;
}
.ruleProp > .nodeHead .name {
background: #df5320
}
.mecanism li {
}
.mecanism ul {
margin-top: 0;
padding-left: 1em;
list-style-type: none;
border-left: 1px dashed #ccc;
}
.mecanism ul .key {
color: #d5911a;
font-weight: 600;
display: inline-block;
margin-bottom: 1em;
}
.multiplication li .key {
margin-right: .6em;
}
.mecanism.list > ul {
list-style-type: disc;
}
.mecanism.list > ul > li {
margin-left: .8em;
padding-left: .3em;
}
.maximum .description {
font-style: italic;
font-weight: 600;
margin-bottom: .4em;
margin-left: 1em;
}
.condition {
margin-bottom: .6em;
}
.node.inlineExpression {
padding-left: 0;
display: inline;
}
.inlineExpression .nodeContent {
/*border-bottom: 1px solid rgba(51, 51, 80, 0.25);*/
/*border-right: 1px solid rgba(51, 51, 80, 0.25);*/
/*padding: .5em .6em;*/
/*border-radius: .3em;*/
}
.nodeHead {
display: inline-block;
}
.leaf .situationValue {
text-align: center;
}
#rule-rules .situationValue.oui {
color: #5ab738;
}
#rule-rules .situationValue.non {
color: #f22c40;
}
.variable .name {
color: #5B5B73;
text-align: center;
margin-top: 1em;
padding: .05em 1em;
line-height: 1.8em;
border-radius: .4em;
font-weight: 600;
font-size: 90%;
border: 1px solid rgba(51, 51, 80, 0.25);
}
.percentage .name {
font-size: 110%;
font-weight: 600;
}
.operator {
margin: .1em .6em;
font-size: 150%;
font-weight: 600;
vertical-align: middle;
}
.json {
font-size: 60%;
}