orbit-basic/app/assets/stylesheets/desktop/desktop-main.scss

799 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;
}
.o-loading {
font-size: 13px;
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; }
.admbg2 { background-color: #ddd; }
.admtxt { color: #666; }
.admtxt:hover { color: #666; }
.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;
}
#side {
width: 60px;
height: 516px;
position: absolute;
margin-right: 96px;
top: 120px;
left: 0;
z-index: 11;
}
#holder {
height: 516px;
width: auto;
position: relative;
}
#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;
padding: 0 6px;
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;
font-weight: normal;
}
}
/* panel */
#panel_l {
background-color: #f0f0f0;
float: left;
}
#panel_r {
margin-left: 252px;
position: relative;
}
/* Desktop Notification */
#orbitnote {
position: fixed;
top: 0;
left: 50%;
margin-left: -206px;
z-index: 99999;
width: 400px;
padding: 0 6px 6px 6px;
background-color: #000;
background-color: rgba(0,0,0,0.6);
.note_holder {
background-color: #f3f3f3;
border: solid 1px #fff;
border-top: none;
overflow: hidden;
padding: 24px 24px;
.note_type {
float: left;
img {
display: block;
}
}
.note_message {
color: #333;
margin: 10px 0 0 48px;
font-size: 15px;
font-weight: normal;
}
}
}
/* Desktop Dialogue */
#orbitdiag {
position: fixed;
width: 100%;
height: 100%;
left: 0;
top: 0;
z-index: 12;
.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;
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;
[data-sizex="1"] &,
.w1.h1 & {
text-align: center;
}
[data-sizey="2"] & {
font-size: 21px;
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;
[data-sizex="1"] & {
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;
}
.tile {
display: block;
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 0;
}
.widget.gs_w {
cursor: move;
}
/* 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;
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;
background-color: #fff;
}
.setting_btn {
display: block;
float: right;
font-size: 15px;
font-weight: normal;
line-height: 36px;
text-align: center;
border: 0;
}
.group_search{
float: left;
margin-right: 36px;
}
.search_result{
float: left;
margin-right: 24px;
max-width: 340px;
}
.g_sep {
2013-04-01 02:50:31 +00:00
width: 12px;
border-left: solid 1px #fff;
@include box-sizing;
}
#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-01 02:50:31 +00:00
.list_t_item { overflow: hidden; }
.list_t_title {
margin-bottom: 6px;
color: #333;
font-size: 15px;
font-weight: normal;
}
.list_t_des {
line-height: 1.5em;
color: #999;
margin-bottom: 4px;
font-size: 13px;
}
.list_item_function a {
display: inline-block;
padding: 4px;
font-size: 11px;
-webkit-text-size-adjust: none;
}
/* Journal Papers */
2013-04-01 02:50:31 +00:00
[page-name="journal_p_list"] {
.list_t_item .inner { padding-left: 30px; }
.list_item_action {
font-size: 12px;
float: left;
margin-left: -30px;
a {
display: block;
width: 20px;
height: 20px;
line-height: 20px;
margin: 1px 1px 6px 1px;
}
.icon-star-empty { color: #999; font-size: 20px; }
.icon-star { color: #faa732; font-size: 20px; }
.icon-check-empty { color: #999; font-size: 20px; }
.icon-check { color: #333; font-size: 20px; }
}
.file_view {
.list_t_des {
overflow: hidden;
}
.file {
float: left;
width: 120px;
height: 50px;
padding: 6px;
margin: 1px;
position: relative;
@include box-sizing;
2013-04-01 02:50:31 +00:00
&:hover {
background-color: lighten($gray, 10%);
}
img {
width: 38px;
height: 38px;
position: absolute;
left: 6px;
top: 6px;
}
.filetitle {
display: block;
width: 100%;
height: 38px;
padding-left: 40px;
overflow: hidden;
@include box-sizing;
}
}
}
}
/* Journal Paper Add */
2013-04-01 02:50:31 +00:00
#paper_add {
.s_grid_con {
float: left;
height: 456px;
margin-left: 12px;
padding-left: 12px;
border-left: solid 1px #eee;
&:first-child {
margin-left: 0;
padding-left: 0;
border: none;
}
}
.f_w { width: 336px; }
label { margin-right: 0; }
}
/* Journal Journal list */
2013-04-01 02:50:31 +00:00
[page-name="journal_p_journal"] {
.datalist_item .inner {
padding-left: 30px;
}
.list_item_action {
font-size: 12px;
float: left;
margin-left: -30px;
}
.list_item_action i {
color: #999;
font-size: 20px;
display: block;
width: 20px;
height: 20px;
line-height: 20px;
margin: 1px 1px 6px 1px;
}
.list_t_desc {
font-family: Arial, sans-serif;
font-size: 12px;
color: #999;
}
}
/* Journal Co-Author */
2013-04-01 02:50:31 +00:00
[page-name="journal_p_coauthor"] {
.list_t_item {
height: 110px;
}
.list_item_function {}
.list_item_function a {
display: inline-block;
padding: 4px;
font-family: Arial, sans-serif;
font-size: 11px;
-webkit-text-size-adjust: none;
}
.info {
font-family: Arial, sans-serif;
}
.info li {
margin-bottom: 8px;
color: #999;
}
.info .name {
font-size: 18px;
line-height: 24px;
color: #333;
}
}
2013-04-01 02:50:31 +00:00
/* Journal Co-Author Relationship*/
2013-04-01 02:50:31 +00:00
[page-name="journal_p_coauthor_relation"]{
.edit_co_author_relation {
/*margin-left: -10px;*/
}
.form_space {
margin-bottom: 10px;
font-size: 18px;
font-family: Arial, sans-serif;
}
}
/* Journal New Co-Author */
#new_co_author label {
margin-right: 0;
}
/* 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 {}
}