adding new LCARStrek skin
[themes.git] / LCARStrek / skin / LCARStrek / global / tabbox.css
diff --git a/LCARStrek/skin/LCARStrek/global/tabbox.css b/LCARStrek/skin/LCARStrek/global/tabbox.css
new file mode 100644 (file)
index 0000000..0ae45b5
--- /dev/null
@@ -0,0 +1,171 @@
+@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); 
+
+/*============ tabpanels widget =============*/
+
+tabpanels {
+  padding: 5px;
+}
+
+/* we give all tabpanel types a full border
+   tabpanel is the box in which contents show up */
+
+/* top tabs */
+tabs + tabpanels {
+  -moz-border-radius: 5px;
+  border: 1px solid #9C9CFF;
+  padding: 5px;
+}
+
+/* bottom tabs */
+tabbox[orient="vertical"] > tabpanels {
+  -moz-border-radius: 5px;
+  border: 1px solid #9C9CFF;
+  padding: 5px;
+}
+
+/* left tabs */
+tabbox[orient="horizontal"] > tabs + tabpanels {
+  -moz-border-radius: 5px;
+  border: 1px solid #9C9CFF;
+  padding: 5px;
+}
+
+/* right tabs */
+tabbox[orient="horizontal"] > tabpanels {
+  -moz-border-radius: 5px;
+  border: 1px solid #9C9CFF;
+  padding: 5px;
+}
+
+/* border on bottom only, no padding (used in search) */
+tabpanels.light {
+  border: none;
+  border-bottom: 1px solid #9C9CFF;
+  padding: 0px;
+}
+
+.tabpanels-inner-box {
+}
+
+/* tabs-spacer ========================== */
+
+/* top tabs */
+tabbox[orient="vertical"] > tabs > .tabs-spacer {
+}
+
+/* bottom tabs */
+tabbox[orient="vertical"] > tabpanels + tabs > .tabs-spacer {
+}
+
+/* left tabs */
+tabbox[orient="horizontal"] > tabs > .tabs-spacer {
+}
+
+/* right tabs */
+tabbox[orient="horizontal"] > tabpanels + tabs > .tabs-spacer {
+}
+
+/*============ tab widget ============*/
+/* NOTE: there should be code in here for indenting the first tab
+   by two pixels, however, this needs to be done with a spacer to
+   fill in the border, but current attempts to use said spacer 
+   result in said spacer not rendering.  Will revisit.  - JRH */
+
+/* tabs is the strip showing the tabs, while tab is the tab (switcher) itself */
+   
+tab {
+  -moz-border-radius: 3px 3px 0px 0px;
+  border: 1px solid #9C9CFF;
+  color: #FF9F00; 
+}
+
+tab > .tab-box > .tab-text {
+  border: 1px solid transparent;
+  padding: 0px 1px 0px 1px;
+}
+
+tab:focus > .tab-box > .tab-text {
+  border: 1px dotted #008484;
+}
+
+.tab-box {
+  margin: 0px;
+  padding: 1px 3px 1px 3px !important;
+}
+
+/* top tabs */
+tabs tab[first-tab="true"]  { 
+  margin-left: 2px;
+}
+
+tabs tab  { 
+  margin-top: 2px;
+  border-bottom: none;
+  -moz-border-radius: 8px 8px 0px 0px;
+}
+
+tabs tab > .tab-box { 
+/*  -moz-border-radius: 4px 4px 0px 0px; */
+}
+
+/* bottom tabs */
+tabpanels + tabs > tab { 
+  margin-top: 0px;
+  margin-bottom: 2px;
+  border-top: none;
+  -moz-border-radius: 0px 0px 8px 8px;
+  padding: 1px 5px 3px 5px;
+}
+
+tabpanels + tabs > tab > .tab-box { 
+/*  -moz-border-radius: 0px 0px 4px 4px; */
+}
+
+/* left tabs */
+tabbox[orient="horizontal"] > tabs[orient="vertical"] tab[first-tab="true"]  { 
+  margin-top: 2px;
+}
+
+tabbox[orient="horizontal"] > tabs[orient="vertical"] tab  { 
+  margin-left: 2px;
+  border-right: none;
+  -moz-border-radius: 8px 0px 0px 8px;
+}
+
+tabbox[orient="horizontal"] > tabs[orient="vertical"] tab > .tab-box  { 
+/*  -moz-border-radius: 4px 0px 0px 4px; */
+}
+
+/* right tabs */
+tabbox[orient="horizontal"] > tabpanels + tabs[orient="vertical"] > tab { 
+  margin-right: 2px;
+  margin-left: 0px;
+  border-left: none;
+  -moz-border-radius: 0px 8px 8px 0px !important;
+}
+
+tabbox[orient="horizontal"] > tabpanels + tabs[orient="vertical"] > tab > .tab-box { 
+/*  -moz-border-radius: 0px 4px 4px 0px !important; */
+}
+
+/* selected tabs ============================= */
+
+tab[selected="true"]  {
+  font-weight: bold;
+}
+
+tab[selected="true"] {
+       font-weight: bold;
+        background-color: #008484;
+}
+
+tab:hover { 
+  background-color: #FFCF00;
+  color: #000000;
+  text-decoration: underline;
+}
+
+tab:hover:active { 
+  text-decoration: none;
+}
+