ttrss/lib/flat-ttrss/dijit/layout/ContentPane.styl

45 lines
1.3 KiB
Stylus
Executable File

/* ContentPane
*
* .dijitContentPane
* set padding for basic content pane
*
* Nested layouts:
*
* .dijitTabContainerTop-dijitContentPane,
* .dijitTabContainerLeft-dijitContentPane,
* .dijitTabContainerBottom-dijitContentPane,
* .dijitTabContainerRight-dijitContentPane
* set background-color and padding of ContentPanes nested within TabContainer (can do top, left, bottom, or right) or Accordion Container
*
* .dijitAccordionContainer-dijitContentPane
* set background-color and padding of ContentPane nested within Accordion
*
* .dijitSplitContainer-dijitContentPane,
* set background-color and padding of ContentPane nested within a SplitContainer
*
* .dijitBorderContainer-dijitContentPane
* set background-color and padding of ContentPane nested within a BorderContainer
*/
@import 'dijit_layout_variables';
.{$theme-name} {
.dijitContentPane {
background-color: $contentpane-background-color;
padding: $contentpane-padding;
}
/* contentpane in other layouts */
.dijitTabContainerTop-dijitContentPane,
.dijitTabContainerLeft-dijitContentPane,
.dijitTabContainerBottom-dijitContentPane,
.dijitTabContainerRight-dijitContentPane,
.dijitAccordionContainer-dijitContentPane {
background-color: $contentpane-nested-background-color;
padding: $contentpane-nested-padding;
left: 0 !important;
top: 0 !important;
}
}