Hello
I am trying to get s block-format, where I can put some block-formats into my site to use with some content for our Intranet.
Out of the alerts.plone.less, I have tried quite some possibilities to build this - unfortunately without success
So here is it, how my block should look like:
(i) Info
I struggle, getting the fixed texts in front of my text.
My file for the styles are ina file called stlyes.loosli.less. There the following entry can be found:
.loosli-info {
border: 0;
border-radius: @plone-alert-border-radius;
box-shadow: 0 1px 2px rgba(0,0,0,.17);
text-shadow: 0 1px rgba(255,255,255,.1);
background: @loosli-div-block-background;
> strong:before, > dt:before {
content: "Info";
font-weight: @plone-font-weight-bold;
color: @loosli-gray-dark
}
> strong:before, > dt:before {
content: "i";
font-weight: @plone-font-weight-bold;
color: @loosli-div-block-background;
background: @loosli-blue
}
}
It just somehow does not work out as I expected... The first part is working, setting the formats for the Block-text as defined. But when I want to use the "strong"-part before, none of the fixed text is showing up.
If you think, this is totally wrong, this guy has no clue of what he is doing: Well, that's right: I'm just trying to see, what I see in the other less-files (mainly out of alerts.plone.less) and adapt it to the styles.loosli.less-file. In order to correct that, I ask here in the forum I am pretty sure, once, I know the trick, I can manage my path on my own.
-> I didn't find out with these less-files, what options are available and what they mean and how they need to be applied...
Is anybody kindly able to give me a hint further, so I can move on? Thank you very much in advance!
Kind regards
David