diff --git a/source/Ox.UI/css/Ox.UI.css b/source/Ox.UI/css/Ox.UI.css index 1e5cb23c..3cb71c17 100644 --- a/source/Ox.UI/css/Ox.UI.css +++ b/source/Ox.UI/css/Ox.UI.css @@ -10,8 +10,9 @@ Base a { text-decoration: none; } -a:hover { +a:hover, .OxLink:hover { text-decoration: underline; + cursor: pointer; } body { margin: 0; @@ -843,6 +844,17 @@ OxSelect margin-right: -18px; } +/* +================================================================================ +Images +================================================================================ +*/ + +.OxReflection > img { + -moz-transform: scaleY(-1); + -webkit-transform: scaleY(-1); +} + /* ================================================================================ Layers @@ -950,10 +962,6 @@ Lists top: 0; right: 0; margin: auto; - //-moz-border-radius: 4px; - //-webkit-border-radius: 4px; - -moz-transform: scaleY(-1); - -webkit-transform: scaleY(-1); } .OxIconList .OxItem > .OxText { diff --git a/source/Ox.UI/themes/classic/css/classic.css b/source/Ox.UI/themes/classic/css/classic.css index d2d7165e..eb1b225d 100644 --- a/source/Ox.UI/themes/classic/css/classic.css +++ b/source/Ox.UI/themes/classic/css/classic.css @@ -1,6 +1,10 @@ body.OxThemeClassic { background: rgb(240, 240, 240); } +.OxThemeClassic a, +.OxThemeClassic span.OxLink { + color: rgb(0, 0, 128); +} .OxThemeClassic div { color: rgb(16, 16, 16); } @@ -19,11 +23,11 @@ Bars //background: -moz-linear-gradient(top, rgb(192, 192, 192), rgb(160, 160, 160)); //background: -webkit-gradient(linear, left top, left bottom, from(rgb(192, 192, 192)), to(rgb(160, 160, 160))); background: -moz-linear-gradient(top, rgb(224, 224, 224), rgb(192, 192, 192)); - background: -webkit-gradient(linear, left top, left bottom, from(rgb(224, 224, 224)), to(rgb(192, 192, 192))); + background: -webkit-linear-gradient(top, rgb(224, 224, 224), rgb(192, 192, 192)); } .OxThemeClassic .OxBar.OxMainMenu { background: -moz-linear-gradient(top, rgb(224, 224, 224), rgb(192, 192, 192)); - background: -webkit-gradient(linear, left top, left bottom, from(rgb(224, 224, 224)), to(rgb(192, 192, 192))); + background: -webkit-linear-gradient(top, rgb(224, 224, 224), rgb(192, 192, 192)); } .OxThemeClassic .OxResizebar > .OxLine { background-color: rgb(208, 208, 208); @@ -80,7 +84,7 @@ Dialog //background: -moz-linear-gradient(top, rgba(208, 208, 208, 0.96), rgba(176, 176, 176, 0.96)); //background: -webkit-gradient(linear, left top, left bottom, from(rgba(208, 208, 208, 0.96)), to(rgba(176, 176, 176, 0.96))); background: -moz-linear-gradient(top, rgba(224, 224, 224, 0.96), rgba(192, 192, 192, 0.96)); - background: -webkit-gradient(linear, left top, left bottom, from(rgba(224, 224, 224, 0.96)), to(rgba(192, 192, 192, 0.96))); + background: -webkit-linear-gradient(top, rgba(224, 224, 224, 0.96), rgba(192, 192, 192, 0.96)); } .OxThemeClassic .OxDialog .OxContent { @@ -141,7 +145,7 @@ Forms //background: -moz-linear-gradient(left top, left bottom, from(rgb(192, 192, 192)), to(rgb(160, 160, 160))); //background: -webkit-gradient(linear, left top, left bottom, from(rgb(192, 192, 192)), to(rgb(160, 160, 160))); background: -moz-linear-gradient(top, rgb(224, 224, 224), rgb(192, 192, 192)); - background: -webkit-gradient(linear, left top, left bottom, from(rgb(224, 224, 224)), to(rgb(192, 192, 192))); + background: -webkit-linear-gradient(top, rgb(224, 224, 224), rgb(192, 192, 192)); } .OxThemeClassic .OxButton:active { //background: rgb(160, 160, 160); @@ -150,7 +154,7 @@ Forms } .OxThemeClassic .OxCheckbox:active { background: -moz-linear-gradient(top, rgb(192, 192, 192), rgb(240, 240, 240)); - background: -webkit-gradient(linear, left top, left bottom, from(rgb(192, 192, 192)), to(rgb(240, 240, 240))); + background: -webkit-linear-gradient(top, rgb(192, 192, 192), rgb(240, 240, 240)); } .OxThemeClassic .OxButton:focus { -moz-box-shadow: 0 0 2px rgb(128, 128, 128); @@ -164,7 +168,7 @@ Forms .OxThemeClassic .OxButton.OxSelected, .OxThemeClassic .OxSelect.OxSelected { background: -moz-linear-gradient(top, rgb(160, 160, 160), rgb(192, 192, 192)); - background: -webkit-gradient(linear, left top, left bottom, from(rgb(160, 160, 160)), to(rgb(192, 192, 192))); + background: -webkit-linear-gradient(top, rgb(160, 160, 160), rgb(192, 192, 192)); //background: -moz-linear-gradient(top, rgb(128, 128, 128), rgb(160, 160, 160) 10%, rgb(192, 192, 192)); //background: -webkit-gradient(linear, left top, left bottom, from(rgb(128, 128, 128)), color-stop(0.1, rgb(160, 160, 160)), to(rgb(192, 192, 192))); color: rgb(32, 32, 32); @@ -195,7 +199,7 @@ Forms //background: -moz-linear-gradient(top, rgb(224, 224, 224), rgb(255, 255, 255)); //background: -webkit-gradient(linear, left top, left bottom, from(rgb(224, 224, 224)), to(rgb(255, 255, 255))); background: -moz-linear-gradient(top, rgb(208, 208, 208), rgb(255, 255, 255)); - background: -webkit-gradient(linear, left top, left bottom, from(rgb(208, 208, 208)), to(rgb(255, 255, 255))); + background: -webkit-linear-gradient(top, rgb(208, 208, 208), rgb(255, 255, 255)); } .OxThemeClassic div.OxInput.OxError input { color: rgb(192, 64, 64); @@ -228,6 +232,17 @@ Forms background: rgb(240, 240, 240); } +/* +================================================================================ +Images +================================================================================ +*/ + +.OxThemeClassic .OxReflection > div { + background: -moz-linear-gradient(top, rgba(240, 240, 240, 0.75), rgba(240, 240, 240, 1)); + background: -webkit-linear-gradient(top, rgba(240, 240, 240, 0.75), rgba(240, 240, 240, 1)); +} + /* ================================================================================ Lists @@ -237,7 +252,7 @@ Lists .OxThemeClassic .OxIconList .OxItem img.OxLoading { border-color: rgb(208, 208, 208); background: -moz-linear-gradient(top, rgb(255, 255, 255), rgb(224, 224, 224)); - background: -webkit-gradient(linear, left top, left bottom, color-stop(0, rgb(255, 255, 255)), color-stop(1, rgb(224, 224, 224))); + background: -webkit-linear-gradient(top, rgb(255, 255, 255), rgb(224, 224, 224)); } .OxThemeClassic .OxIconList .OxItem.OxSelected > .OxIcon img { border-color: rgb(160, 160, 160); @@ -249,10 +264,6 @@ Lists -moz-box-shadow: 0 0 4px rgba(128, 128, 128, 1); -webkit-box-shadow: 0 0 4px rgba(128, 128, 128, 1); } -.OxThemeClassic .OxIconList .OxItem > .OxReflection > div { - background: -moz-linear-gradient(top, rgba(240, 240, 240, 0.75), rgba(240, 240, 240, 1)); - background: -webkit-gradient(linear, left top, left bottom, color-stop(0, rgba(240, 240, 240, 0.75)), color-stop(1, rgba(240, 240, 240, 1))); -} .OxThemeClassic .OxIconList .OxItem > .OxText > div { text-shadow: rgb(255, 255, 255) 1px 1px 0; } @@ -299,11 +310,11 @@ Lists } .OxThemeClassic .OxTextList .OxBar { background: -moz-linear-gradient(top, rgb(240, 240, 240), rgb(208, 208, 208)); - background: -webkit-gradient(linear, left top, left bottom, from(rgb(240, 240, 240)), to(rgb(208, 208, 208))); + background: -webkit-linear-gradient(top, rgb(240, 240, 240), rgb(208, 208, 208)); } .OxThemeClassic .OxTextList .OxBar .OxSelected { background: -moz-linear-gradient(top, rgb(224, 224, 224), rgb(192, 192, 192)); - background: -webkit-gradient(linear, left top, left bottom, from(rgb(224, 224, 224)), to(rgb(192, 192, 192))); + background: -webkit-linear-gradient(top, rgb(224, 224, 224), rgb(192, 192, 192)); //color: rgb(0, 0, 0); } .OxThemeClassic .OxTextList .OxBar .OxOrder { @@ -354,7 +365,7 @@ Menus .OxThemeClassic .OxMainMenu > .OxTitle.OxSelected { background: -moz-linear-gradient(top, rgb(208, 208, 208), rgb(176, 176, 176)); - background: -webkit-gradient(linear, left top, left bottom, from(rgb(208, 208, 208)), to(rgb(176, 176, 176))); + background: -webkit-linear-gradient(top, rgb(208, 208, 208), rgb(176, 176, 176)); } .OxThemeClassic .OxMenu { @@ -392,12 +403,12 @@ Scrollbars .OxThemeClassic ::-webkit-scrollbar:horizontal { border-top: 1px solid rgb(176, 176, 176); border-bottom: 1px solid rgb(176, 176, 176); - background: -webkit-gradient(linear, left top, left bottom, from(rgb(224, 224, 224)), to(rgb(192, 192, 192))); + background: -webkit-linear-gradient(top, rgb(224, 224, 224), rgb(192, 192, 192)); } .OxThemeClassic ::-webkit-scrollbar:vertical { border-left: 1px solid rgb(176, 176, 176); border-right: 1px solid rgb(176, 176, 176); - background: -webkit-gradient(linear, left top, right top, from(rgb(224, 224, 224)), to(rgb(192, 192, 192))); + background: -webkit-linear-gradient(left, rgb(224, 224, 224), rgb(192, 192, 192)); } .OxThemeClassic ::-webkit-scrollbar-button:horizontal:decrement { background: url(../png/scrollbarHorizontalDecrement.png); @@ -414,25 +425,25 @@ Scrollbars .OxThemeClassic ::-webkit-scrollbar-corner { border-right: 1px solid rgb(176, 176, 176); border-bottom: 1px solid rgb(176, 176, 176); - background: -webkit-gradient(linear, left top, right bottom, from(rgb(224, 224, 224)), to(rgb(160, 160, 160))); + background: -webkit-linear-gradient(top left, rgb(224, 224, 224), rgb(160, 160, 160)); } .OxThemeClassic ::-webkit-scrollbar-thumb { border: 1px solid rgb(176, 176, 176); } .OxThemeClassic ::-webkit-scrollbar-thumb:horizontal { - background: -webkit-gradient(linear, left top, left bottom, from(rgb(224, 224, 224)), to(rgb(192, 192, 192))); + background: -webkit-linear-gradient(top, rgb(224, 224, 224), rgb(192, 192, 192)); } .OxThemeClassic ::-webkit-scrollbar-thumb:vertical { - background: -webkit-gradient(linear, left top, right top, from(rgb(224, 224, 224)), to(rgb(192, 192, 192))); + background: -webkit-linear-gradient(left, rgb(224, 224, 224), rgb(192, 192, 192)); } .OxThemeClassic ::-webkit-scrollbar-track { border: 1px solid rgb(176, 176, 176); } .OxThemeClassic ::-webkit-scrollbar-track:horizontal { - background: -webkit-gradient(linear, left top, left bottom, from(rgb(224, 224, 224)), to(rgb(255, 255, 255))); + background: -webkit-linear-gradient(top, rgb(224, 224, 224), rgb(255, 255, 255)); } .OxThemeClassic ::-webkit-scrollbar-track:vertical { - background: -webkit-gradient(linear, left top, right top, from(rgb(224, 224, 224)), to(rgb(255, 255, 255))); + background: -webkit-linear-gradient(left, rgb(224, 224, 224), rgb(255, 255, 255)); } .OxThemeClassic ::-webkit-scrollbar:active, .OxThemeClassic ::-webkit-scrollbar-thumb:active { diff --git a/source/Ox.UI/themes/modern/css/modern.css b/source/Ox.UI/themes/modern/css/modern.css index dd261ca1..bd3380b1 100644 --- a/source/Ox.UI/themes/modern/css/modern.css +++ b/source/Ox.UI/themes/modern/css/modern.css @@ -1,7 +1,8 @@ body.OxThemeModern { background: rgb(16, 16, 16); } -.OxThemeModern a { +.OxThemeModern a, +.OxThemeModern span.OxLink { color: rgb(128, 128, 255); } .OxThemeModern div { @@ -27,7 +28,7 @@ Bars //background: -moz-linear-gradient(left top, left bottom, from(rgb(96, 96, 96)), to(rgb(64, 64, 64))); //background: -webkit-gradient(linear, left top, left bottom, from(rgb(96, 96, 96)), to(rgb(64, 64, 64))); background: -moz-linear-gradient(top, rgb(64, 64, 64), rgb(32, 32, 32)); - background: -webkit-gradient(linear, left top, left bottom, from(rgb(64, 64, 64)), to(rgb(32, 32, 32))); + background: -webkit-linear-gradient(top, rgb(64, 64, 64), rgb(32, 32, 32)); } .OxThemeModern .OxResizebar > .OxLine { @@ -84,7 +85,7 @@ Dialog .OxThemeModern .OxDialog .OxBar { background: -moz-linear-gradient(top, rgba(64, 64, 64, 0.96), rgba(32, 32, 32, 0.96)); - background: -webkit-gradient(linear, left top, left bottom, from(rgba(64, 64, 64, 0.96)), to(rgba(32, 32, 32, 0.96))); + background: -webkit-linear-gradient(top, rgba(64, 64, 64, 0.96), rgba(32, 32, 32, 0.96)); } .OxThemeModern .OxDialog .OxContent { @@ -145,7 +146,7 @@ Forms .OxThemeModern div.OxInput, .OxThemeModern .OxSelect { background: -moz-linear-gradient(top, rgb(96, 96, 96), rgb(64, 64, 64)); - background: -webkit-gradient(linear, left top, left bottom, from(rgb(96, 96, 96)), to(rgb(64, 64, 64))); + background: -webkit-linear-gradient(top, rgb(96, 96, 96), rgb(64, 64, 64)); //background: -moz-linear-gradient(left top, left bottom, from(rgb(64, 64, 64)), to(rgb(32, 32, 32))); //background: -webkit-gradient(linear, left top, left bottom, from(rgb(64, 64, 64)), to(rgb(32, 32, 32))); } @@ -155,7 +156,7 @@ Forms } .OxThemeModern .OxCheckbox:active { background: -moz-linear-gradient(top, rgb(16, 16, 16), rgb(48, 48, 48)); - background: -webkit-gradient(linear, left top, left bottom, from(rgb(16, 16, 16)), to(rgb(48, 48, 48))); + background: -webkit-linear-gradient(top, rgb(16, 16, 16), rgb(48, 48, 48)); } .OxThemeModern .OxButton.OxDisabled { @@ -168,7 +169,8 @@ Forms //background: -moz-linear-gradient(left top, left bottom, from(rgb(80, 80, 80)), to(rgb(112, 112, 112))); //background: -webkit-gradient(linear, left top, left bottom, from(rgb(80, 80, 80)), to(rgb(112, 112, 112))); background: -moz-linear-gradient(top, rgb(0, 0, 0), rgb(32, 32, 32) 10%, rgb(64, 64, 64)); - background: -webkit-gradient(linear, left top, left bottom, from(rgb(0, 0, 0)), color-stop(0.1, rgb(32, 32, 32)), to(rgb(64, 64, 64))); + background: -webkit-linear-gradient(top, rgb(0, 0, 0), rgb(32, 32, 32) 10%, rgb(64, 64, 64)); + //background: -webkit-gradient(linear, left top, left bottom, from(rgb(0, 0, 0)), color-stop(0.1, rgb(32, 32, 32)), to(rgb(64, 64, 64))); color: rgb(224, 224, 224); } .OxThemeModern .OxButton.OxTab.OxSelected { @@ -186,7 +188,7 @@ Forms .OxThemeModern input.OxInput, .OxThemeModern .OxTrack { background: -moz-linear-gradient(top, rgb(0, 0, 0), rgb(32, 32, 32)); - background: -webkit-gradient(linear, left top, left bottom, from(rgb(0, 0, 0)), to(rgb(32, 32, 32))); + background: -webkit-linear-gradient(top, rgb(0, 0, 0), rgb(32, 32, 32)); } .OxThemeModern div.OxInput.OxError input { color: rgb(255, 64, 64); @@ -214,6 +216,17 @@ Forms background: rgb(16, 16, 16); } +/* +================================================================================ +Images +================================================================================ +*/ + +.OxThemeModern .OxReflection > div { + background: -moz-linear-gradient(top, rgba(16, 16, 16, 0.75), rgba(16, 16, 16, 1)); + background: -webkit-linear-gradient(top, rgba(16, 16, 16, 0.75), rgba(16, 16, 16, 1)); +} + /* ================================================================================ Lists @@ -223,7 +236,7 @@ Lists .OxThemeModern .OxIconList .OxItem img.OxLoading { border-color: rgb(48, 48, 48); background: -moz-linear-gradient(top, rgb(32, 32, 32), rgb(0, 0, 0)); - background: -webkit-gradient(linear, left top, left bottom, color-stop(0, rgb(32, 32, 32)), color-stop(1, rgb(0, 0, 0))); + background: -webkit-linear-gradient(top, rgb(32, 32, 32), rgb(0, 0, 0)); } .OxThemeModern .OxIconList .OxItem.OxSelected > .OxIcon img { border-color: rgb(96, 96, 96); @@ -235,10 +248,6 @@ Lists -moz-box-shadow: 0 0 4px rgba(128, 128, 128, 1); -webkit-box-shadow: 0 0 4px rgba(128, 128, 128, 1); } -.OxThemeModern .OxIconList .OxItem > .OxReflection > div { - background: -moz-linear-gradient(top, rgba(16, 16, 16, 0.75), rgba(16, 16, 16, 1)); - background: -webkit-gradient(linear, left top, left bottom, color-stop(0, rgba(16, 16, 16, 0.75)), color-stop(1, rgba(16, 16, 16, 1))); -} .OxThemeModern .OxIconList .OxItem > .OxText > div { text-shadow: rgb(0, 0, 0) 1px 1px 0; } @@ -285,7 +294,7 @@ Lists } .OxThemeModern .OxTextList .OxBar .OxSelected { background: -moz-linear-gradient(top, rgb(80, 80, 80), rgb(48, 48, 48)); - background: -webkit-gradient(linear, left top, left bottom, color-stop(0, rgb(80, 80, 80)), color-stop(1, rgb(48, 48, 48))); + background: -webkit-linear-gradient(top, rgb(80, 80, 80), rgb(48, 48, 48)); color: rgb(255, 255, 255); } .OxThemeModern .OxTextList .OxBar .OxOrder { @@ -336,7 +345,7 @@ Menus .OxThemeModern .OxMainMenu > .OxTitle.OxSelected { background: -moz-linear-gradient(top, rgb(80, 80, 80), rgb(48, 48, 48)); - background: -webkit-gradient(linear, left top, left bottom, from(rgb(80, 80, 80)), to(rgb(48, 48, 48))); + background: -webkit-linear-gradient(top, rgb(80, 80, 80), rgb(48, 48, 48)); } .OxThemeModern .OxMenu { @@ -368,12 +377,12 @@ Scrollbars .OxThemeModern ::-webkit-scrollbar:horizontal { border-top: 1px solid rgb(48, 48, 48); border-bottom: 1px solid rgb(48, 48, 48); - background: -webkit-gradient(linear, left top, left bottom, from(rgb(96, 96, 96)), to(rgb(64, 64, 64))); + background: -webkit-linear-gradient(top, rgb(96, 96, 96), rgb(64, 64, 64)); } .OxThemeModern ::-webkit-scrollbar:vertical { border-left: 1px solid rgb(48, 48, 48); border-right: 1px solid rgb(48, 48, 48); - background: -webkit-gradient(linear, left top, right top, from(rgb(96, 96, 96)), to(rgb(64, 64, 64))); + background: -webkit-linear-gradient(left, rgb(96, 96, 96), rgb(64, 64, 64)); } .OxThemeModern ::-webkit-scrollbar-button:horizontal:decrement { background: url(../png/scrollbarHorizontalDecrement.png); @@ -390,25 +399,25 @@ Scrollbars .OxThemeModern ::-webkit-scrollbar-corner { border-right: 1px solid rgb(48, 48, 48); border-bottom: 1px solid rgb(48, 48, 48); - background: -webkit-gradient(linear, left top, right bottom, from(rgb(96, 96, 96)), to(rgb(32, 32, 32))); + background: -webkit-linear-gradient(left top, rgb(96, 96, 96), rgb(32, 32, 32)); } .OxThemeModern ::-webkit-scrollbar-thumb { border: 1px solid rgb(48, 48, 48); } .OxThemeModern ::-webkit-scrollbar-thumb:horizontal { - background: -webkit-gradient(linear, left top, left bottom, from(rgb(96, 96, 96)), to(rgb(64, 64, 64))); + background: -webkit-linear-gradient(top, rgb(96, 96, 96), rgb(64, 64, 64)); } .OxThemeModern ::-webkit-scrollbar-thumb:vertical { - background: -webkit-gradient(linear, left top, right top, from(rgb(96, 96, 96)), to(rgb(64, 64, 64))); + background: -webkit-linear-gradient(left, rgb(96, 96, 96), rgb(64, 64, 64)); } .OxThemeModern ::-webkit-scrollbar-track { border: 1px solid rgb(32, 32, 32); } .OxThemeModern ::-webkit-scrollbar-track:horizontal { - background: -webkit-gradient(linear, left top, left bottom, from(rgb(0, 0, 0)), to(rgb(32, 32, 32))); + background: -webkit-linear-gradient(top, rgb(0, 0, 0), rgb(32, 32, 32)); } .OxThemeModern ::-webkit-scrollbar-track:vertical { - background: -webkit-gradient(linear, left top, right top, from(rgb(0, 0, 0)), to(rgb(32, 32, 32))); + background: -webkit-linear-gradient(left, rgb(0, 0, 0), rgb(32, 32, 32)); } .OxThemeModern ::-webkit-scrollbar:active, .OxThemeModern ::-webkit-scrollbar-thumb:active {