[All Adaptavist Apps]

Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
/* code macro */
.atb-page div.code {
 border-style: none;
 margin: 0;
}
.atb-page divediv.code pre {
 font-family: 'andale mono', 'lucida console', monospace;
}
.atb-content div.codeContent {
 background-color: #f3f4f3;
}

Portals and Widgets

We're using portals and widgets on home pages and in sidebars - all prominent places - so they also need some CSS attention:

Code Block
/* spacing between portal columns */
.portal-column.column2 {
 padding-left: 8px;
}

/* widget */
.widget {
 background: #fff url(/download/attachments/20808042/widget-bg.gif) repeat-x scroll bottom left;
 border: 1px solid #bbb;
 margin-bottom: 6px;
 padding: 6px;
}
.atb-content .widget {
 -moz-border-radius: 4px;
 border-radius: 4px;
}
.atb-rightSidebar .widget {
 border: 1px solid #aaa;
 border-bottom-color: #ccc#fff;
 border-right-color: #ccc#fff;
 padding: 3px;
 width: 170px;
}
.atb-rightSidebar .widget.collapsed {
 background-color: #eee;
 background-image: none;
 border-style: none;
}

/* widget titles */
.widget-title {
 font-color: #526288;
 font-weight: bold;
 height: 20px;
 vertical-align: center;
}
.widget-title img {
 float: left;
}

...