Orbit/app/assets/stylesheets/desktop/desktop-main.scss

751 lines
12 KiB
SCSS
Raw Normal View History

@import "desktop-helper";
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
#container input, #container textarea, #container select, #container input:focus, #container textarea:focus {
border-radius: 0;
box-shadow: none;
font-family: inherit;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
/* basic setting */
body {
@include font-main(12);
background-color: #000;
}
a, a:hover { text-decoration: none; color: #666; }
a:focus { outline: none; }
.clear { clear: both; }
.clear:after {
display: table;
width: 100%;
content: '';
2013-04-01 02:50:31 +00:00
clear: both;
}
2013-04-29 07:13:36 +00:00
.valign:before {
content: '';
height: 100%;
display: inline-block;
vertical-align: middle;
}
.o-loading {
font-size: 13px;
2013-04-10 04:08:26 +00:00
// font-weight: normal;
2013-04-01 02:50:31 +00:00
.fullsize & {
padding: 12px;
}
i {
font-size: 20px;
}
}
#thmbackground {
min-height: 100%;
min-width: 980px;
width: 100%;
height: auto;
position: fixed;
top: 0;
left: 0;
z-index: -1;
}
#bgover {
position: fixed;
top: 0;
left: 0;
bottom: 0;
right: 0;
z-index: -1;
width: 100%;
height: 100%;
}
/* box-sizing element */
.w1, .w2, .w4, .wh1, .wh2, .wh3, .w100, .pw,
.h1, .h2, .h4, .hh1, .hh2, .hh3, .ph,
.appholder,
.appname,
.tinycanvas/*,
.tinycanvas .overview > .column,
.tinycanvas .overview > .column .datalist_item*/ {
@include box-sizing;
}
/* Desktop Global Style */
.admbg { background-color: #fff; }
2013-04-22 09:50:30 +00:00
.admbg2 { background-color: $gray; }
.admtxt { color: #666; }
2013-04-22 09:50:30 +00:00
a.admtxt.admbg2:hover {
color: #fff;
background-color: darken($gray, 20%);
}
.hfn {
font-size: 15px;
line-height: 36px;
float: left;
margin: 12px 12px 0 0;
position: relative;
}
.thmtxt { position: relative; }
.ini_input {
margin: 0;
padding: 0;
border: 0;
}
.ini_input:focus { outline: none; }
/* - Opacity */
@for $i from 0 through 10 {
$k: $i;
@if $k < 10 {
$k: 0#{$i};
}
.op#{$k} {
opacity: $i * 0.1;
}
}
/* - box set */
.w1 { width: 120px; }
.w2 { width: 252px; }
.w4 { width: 512px; }
.wh1 { width: 36px; }
.wh2 { width: 60px; }
.wh3 { width: 84px; }
.w100 { width: 100%; }
.pw { width: 540px; }
.h1 { height: 120px; }
.h2 { height: 252px; }
.h4 { height: 512px; }
.hh1 { height: 36px; }
.hh2 { height: 60px; }
.hh3 { height: 84px; }
.ph { height: 516px; }
.hp { padding-left: 12px; padding-right: 12px; }
.vp { padding-top: 12px; padding-bottom: 12px; }
.element {
margin: 0 12px 12px 0;
float: left;
position: relative;
}
.group{
float: left;
margin-right: 24px;
}
/* desktop layout */
#container {
padding: 48px 0 0 156px;
}
#header {
padding: 0 0 12px 0;
min-width: 800px;
height: 72px;
2013-04-16 07:48:14 +00:00
position: relative;
z-index: 2;
}
#side {
width: 60px;
height: 516px;
position: absolute;
margin-right: 96px;
top: 120px;
left: 0;
z-index: 11;
}
#holder {
height: 516px;
width: auto;
position: relative;
2013-04-16 07:48:14 +00:00
z-index: 1;
}
#rwidget {
height: 516px;
}
.widget_fn {
display: block;
overflow: hidden;
}
.widget_icon {
display: block;
width: 30px;
height: 30px;
margin: 15px 0 0 15px;
}
.docklist {
.d_cate {
position: relative;
.dock_child {
display: none;
overflow: hidden;
position: absolute;
left: 60px;
top: 0;
.dock_item {
float: left;
}
}
}
& .d_cate:hover .dock_child {
display: block;
}
}
.fn_des.admtxt {
line-height: 60px;
2013-04-10 09:05:12 +00:00
padding: 0 12px;
font-size: 15px;
position: absolute;
z-index: 9;
min-width: 48px;
text-align: center;
white-space: nowrap;
display: none;
}
#search_app {
position: relative;
background-color: #fff;
.form {
position: absolute;
left: 0;
top: 2px;
padding: 2px 12px;
width: 192px;
height: 28px;
line-height: 28px;
background: none;
border: 0;
}
.submit {
position: absolute;
right: 2px;
top: 2px;
width: 32px;
height: 32px;
overflow: hidden;
text-indent: -999px;
cursor: pointer;
}
}
.section_label {
float: left;
width: 132px;
height:516px;
li {
font-size: 15px;
}
li:first-child {
font-size: 18px;
2013-04-10 04:08:26 +00:00
// font-weight: normal;
}
}
/* panel */
#panel_l {
2013-04-24 05:46:36 +00:00
background-color: lighten($gray, 10%);
float: left;
}
#panel_r {
2013-04-24 05:46:36 +00:00
background-color: #fff;
margin-left: 252px;
position: relative;
2013-04-22 09:50:30 +00:00
width: auto;
}
/* Desktop Notification */
#orbitnote {
position: fixed;
top: 0;
left: 50%;
2013-04-16 07:48:14 +00:00
margin-left: -200px;
z-index: 99999;
width: 400px;
2013-04-16 07:48:14 +00:00
@include transition-type(height,2);
.note_holder {
overflow: hidden;
2013-04-16 07:48:14 +00:00
padding: 36px;
border: solid 2px $gray;
border-top: 0;
display: none;
.note_type {
2013-04-16 07:48:14 +00:00
display: inline-block;
vertical-align: middle;
width: 60px;
height: 60px;
color: #fff;
2013-04-16 07:48:14 +00:00
.sign {
display: block;
2013-04-16 07:48:14 +00:00
font-size: 40px;
width: 40px;
height: 40px;
padding: 10px;
border-radius: 30px;
text-align: center;
&.icon-ok { background-color: #5BB75B; }
&.icon-exclamation-sign { background-color: #DA4F49; }
&.icon-warning-sign { background-color: #FAA732; }
}
}
.note_message {
color: #333;
2013-04-16 07:48:14 +00:00
display: inline-block;
vertical-align: middle;
word-wrap: break-word;
width: 240px;
margin: 0 0 0 20px;
font-size: 15px;
2013-04-10 04:08:26 +00:00
// font-weight: normal;
}
}
}
/* Desktop Dialogue */
#orbitdiag {
position: fixed;
width: 100%;
height: 100%;
left: 0;
top: 0;
z-index: 12;
2013-04-16 07:48:14 +00:00
display: none;
.tile {
background-color: #000;
}
.diag_holder {
background-color: #000;
.diag_holder_inner {
width: 600px;
margin: 200px auto 0 auto;
position: relative;
padding: 30px 0;
.diag_message {
color: #fff;
font-size: 18px;
padding: 30px 0;
}
.diag_action {
clear: both;
text-align: right;
}
.diag_btn {
display: inline-block;
margin: 0 6px;
text-align: center;
font-size: 15px;
2013-04-10 04:08:26 +00:00
// font-weight: normal;
line-height: 36px;
&:hover {
outline: solid 2px #fff;
}
}
}
}
}
/* Tile */
.appname {
font-size: 13px;
line-height: 30px;
width: 100%;
height: 30px;
padding: 0 12px;
overflow: hidden;
cursor: default;
position: absolute;
left: 0;
bottom: 0;
z-index: 3;
2013-04-10 09:05:12 +00:00
white-space: nowrap;
[data-sizex="1"] &,
.w1.h1 & {
text-align: center;
}
[data-sizey="2"] & {
font-size: 21px;
2013-04-10 04:08:26 +00:00
// font-weight: normal;
}
.hh2 & {
position: relative;
width: auto;
padding: 0;
}
.fullsize & {
display: none;
}
}
.appicon {
display: block;
width: 60px;
height: 60px;
margin: 0 auto;
position: relative;
2013-05-02 06:02:41 +00:00
[data-sizex="1"] &, .w1.h1 & {
margin-top: 24px;
}
#sections & {
width: 30px;
height: 30px;
float: left;
margin-right: 6px;
}
}
.appholder {
position: relative;
z-index: 2;
padding: 12px;
padding-bottom: 30px;
width: 100%;
height: 100%;
overflow: hidden;
.fullsize & {
position: absolute;
padding: 0;
left: 0;
top: 0;
}
}
.dtitle {
font-size: 30px;
line-height: 60px;
float: left;
margin: 0 12px 0 0;
position: relative;
z-index: 9;
2013-04-03 07:38:59 +00:00
}
.tile {
display: block;
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 0;
2013-04-03 07:38:59 +00:00
}
2013-04-10 03:16:06 +00:00
.gridster ul {
margin: -6px 0 0 -6px;
}
.widget.gs_w {
cursor: move;
overflow: hidden;
}
2013-04-16 07:48:14 +00:00
.gs_w.dragging {
-webkit-transform: scale(0.92);
-moz-transform: scale(0.92);
transform: scale(0.92);
}
/* header drop menu */
.sdm_mdr .sdm_o { top: 36px; }
/* Setting Page */
.theme_list {}
.theme_list .ssl_item, .stock_wallpaper .ssl_item {
display: inline-block;
vertical-align: top;
margin: 0 0 12px 0;
padding: 6px 0px;
width: 132px;
text-align: center;
cursor: pointer
}
.theme_thumb, .stock_wallpaper img {
border: solid 1px #fff;
width: 120px;
margin: 0 auto;
}
.theme_thumb img, .stock_wallpaper img {
display: block;
}
.theme_name {
font-size: 15px;
padding: 8px 6px;
display: block;
}
.theme_preview {
width: 528px;
line-height: 36px;
font-size: 15px;
}
.theme_plate {
overflow: hidden;
> div {
float: left;
margin-right: 12px;
}
> div:first-child {
margin-right: 48px;
}
2013-04-01 02:50:31 +00:00
.g_sep {
margin-right: 0;
}
}
#color_input th {
vertical-align: bottom
}
.stock_wallpaper {
.ssl_item {
margin-bottom: 6px;
}
}
.s_title {
font-size: 21px;
2013-04-10 04:08:26 +00:00
// font-weight: normal;
line-height: 60px;
text-align: left;
2013-04-01 02:50:31 +00:00
&.size_large {
font-size: 36px;
}
&.size_small {
font-size: 15px;
line-height: 2em;
}
}
.s_subtitle {
font-size: 15px;
line-height: 1.5em;
color: #ccc;
padding: 12px 0 24px 0;
}
.s_action {
padding: 24px 0;
margin-top: 12px;
overflow: hidden;
border-top: solid 1px #eee;
2013-04-22 09:50:30 +00:00
// background-color: #fff;
2013-04-29 07:13:36 +00:00
.setting_btn {
margin-left: 12px;
}
}
.setting_btn {
display: block;
float: right;
font-size: 15px;
2013-04-10 04:08:26 +00:00
// font-weight: normal;
line-height: 36px;
text-align: center;
border: 0;
}
2013-04-29 07:13:36 +00:00
/* Apps Manager */
#app_info {
float: left;
2013-04-29 07:13:36 +00:00
width: 420px;
height: 516px;
margin-right: 36px;
2013-04-29 07:13:36 +00:00
.app_info_header {
height: 120px;
margin: -12px -12px 12px -12px;
position: relative;
background-color: lighten($gray, 10%);
@include box-sizing;
> * {
height: 100%;
}
.app_info_icon {
display: block;
margin: 0 auto;
margin-top: 30px;
@include box-sizing;
}
.app_info_name {
display: inline-block;
vertical-align: middle;
font-size: 2em;
width: 300px;
word-wrap: break-word;
}
.panel_close {
position: absolute;
right: 12px;
top: 12px;
font-size: 20px;
}
}
.app_info_list {
line-height: 1.5em;
overflow: hidden;
label {
color: darken($gray, 20%);
}
}
}
.search_result{
2013-04-29 07:13:36 +00:00
overflow: hidden;
}
#group_wrapper {}
.grp {
height:528px;
float: left;
}
.appgroup {
float: left;
}
.g_col {
height: 516px;
float: left;
}
.g_col_w1 { width: 132px; }
.g_col_w2 { width: 264px; }
.ui-sortable-placeholder {
background-color: rgba(0,0,0,0.2);
visibility: visible !important;
}
/* list item */
2013-04-22 09:50:30 +00:00
.list_t_item {
overflow: hidden;
}
.list_t_title {
2013-04-22 09:50:30 +00:00
padding-bottom: 6px;
color: #000;
font-size: 15px;
2013-04-22 09:50:30 +00:00
line-height: 1.3em;
2013-04-10 04:08:26 +00:00
// font-weight: normal;
}
.list_t_des {
line-height: 1.5em;
color: #999;
margin-bottom: 4px;
font-size: 13px;
}
2013-04-22 09:50:30 +00:00
.list_item_function {
position: absolute;
right: 0;
bottom: -30px;
width: 100%;
height: 30px;
line-height: 30px;
text-align: right;
@include transition-type(all,0.3);
2013-04-22 09:50:30 +00:00
a {
2013-04-01 02:50:31 +00:00
display: inline-block;
2013-04-22 09:50:30 +00:00
vertical-align: top;
margin-left: 4px;
padding: 0 6px;
2013-04-01 02:50:31 +00:00
font-size: 11px;
-webkit-text-size-adjust: none;
2013-04-22 09:50:30 +00:00
:first-child {
margin-left: 0;
}
2013-04-01 02:50:31 +00:00
}
2013-04-22 09:50:30 +00:00
.datalist_item:hover & {
bottom: 0;
2013-04-01 02:50:31 +00:00
}
}
/* App */
.app_frame {
margin: 48px 96px 48px 156px;
min-width: 800px;
min-height: 588px;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 12;
2013-04-01 02:50:31 +00:00
.app_holder {
background-color: #fff;
position: absolute;
width: 100%;
}
#header .icon-remove {
display: block;
float: right;
line-height: 60px;
font-size: 20px;
cursor: pointer;
}
}
/*Tooltip popup */
.desktop_toolpopup {
position: absolute;
z-index: 10px;
display: none;
padding: 12px;
cursor: default;
background-color: #fff;
span {
margin: 3px 0 3px 0;
}
h3 {}
h2 {}
}