pulsar/static/sections.less

36 lines
728 B
Plaintext
Raw Normal View History

2013-08-26 23:27:49 +04:00
@import "ui-variables";
section, .section {
2013-08-27 02:20:56 +04:00
position: relative;
2013-08-26 23:27:49 +04:00
margin-top: 0;
&:last-child { margin-bottom: 0; }
&.bordered {
margin: 0;
padding: @component-padding*2 0;
2013-08-30 03:40:16 +04:00
border-top: 1px solid @background-color-highlight;
2013-08-26 23:27:49 +04:00
border-bottom: 1px solid @tool-panel-border-color;
}
.section-heading:first-child {
2013-09-05 01:02:59 +04:00
margin-top: 0;
font-weight: bold;
color: @text-color-highlight;
2013-08-26 23:27:49 +04:00
}
}
2013-09-10 04:21:18 +04:00
div > section:first-child,
form > section:first-child,
div > .section:first-child,
form > .section:first-child {
border-top: none;
padding-top: 0;
}
div > section:last-child,
2013-09-12 03:40:29 +04:00
form > section:last-child,
div > .section:last-child,
form > .section:last-child {
border-bottom: none;
padding-bottom: 0;
}