Orbit/app/assets/stylesheets/member.css.erb

507 lines
10 KiB
Plaintext
Raw Normal View History

2011-11-17 12:02:58 +00:00
/*
*This is a manifest file that'll automatically include all the stylesheets available in this directory
*and any sub-directories. You're free to add application-wide styles to this file and they'll appear at
*the top of the compiled file, but it's generally better to create a new file per style scope.
*= require_self
*/
a, a:hover {
text-decoration: none;
outline:none;
}
html,body {
height:100%;
margin:0;
font-family: Helvetica, '微軟正黑體';
2011-11-18 08:43:14 +00:00
overflow-x:hidden
2011-11-17 12:02:58 +00:00
}
ul {
list-style:none;
list-style-image:none;
margin:0;
padding:0;
}
2011-11-19 13:47:18 +00:00
.info_input input{
2011-11-18 08:43:14 +00:00
border:none;
padding:5px;
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
}
input:focus, select:focus, textarea:focus {
outline:none;
-moz-outline-radius: 0;
}
2011-11-17 12:02:58 +00:00
.clear:after {
content:".";
clear:both;
height:0;
display:block;
visibility:hidden;
}
#content{
height:100%;
}
#sidebar {
position:fixed;
top:0;
left:0;
height: 100%;
width:220px;
/*background-color:rgba(245,245,245,1);*/
2011-11-18 08:43:14 +00:00
background:url(<%= asset_path '75.png' %>) repeat left top;
2011-11-17 12:02:58 +00:00
-moz-box-shadow: 3px 0px 4px #472a12; /* Firefox */
-webkit-box-shadow: 3px 0px 4px #472a12;/* Safari 和 Chrome */
box-shadow: 3px 0px 4px #472a12; /* Opera 10.5 + */
}
#search {
background:url(<%= asset_path 'search_block_bg.jpg' %>) repeat-x left top;
margin-top:43px;
padding:15px 12px;
height:20px;
}
#search input {
background:url(<%= asset_path 'search_bg.png' %>) no-repeat left top;
border:none;
2011-11-18 08:43:14 +00:00
width:154px;
2011-11-17 12:02:58 +00:00
height:20px;
2011-11-18 08:43:14 +00:00
padding: 0 20px;
font-family:Helvetica;
2011-11-17 12:02:58 +00:00
}
h1 {
background:url(<%= asset_path 'h1_bg.png' %>) repeat-x left top;
margin:0;
line-height:21px;
height:21px;
font-size:12px;
padding-left:10px;
font-weight:normal;
text-shadow:0px -1px 0px #000;
color:#FFF;
border-top:1px solid #424344;
border-bottom:1px solid #1b1b1b;
}
#user_list .member_setup ul li.set_1 {
background-position:left bottom;
border-top:1px solid #406cc3;
border-bottom:1px solid #242628;
}
#roles_list .member_setup ul li.set_2 {
background-position:left bottom;
border-top:1px solid #406cc3;
border-bottom:1px solid #242628;
}
2011-11-19 13:47:18 +00:00
#infos_list .member_setup ul li.set_3 {
background-position:left bottom;
border-top:1px solid #406cc3;
border-bottom:1px solid #242628;
}
2011-11-17 12:02:58 +00:00
#user_list .member_setup ul li.set_1 a span {
background-position:left bottom;
color:#eeeeee;
}
#roles_list .member_setup ul li.set_2 a span {
background-position:left bottom;
color:#eeeeee;
}
.member_setup ul {
color:#fff;
font-size:12px;
background:url(<%= asset_path 'line.png' %>) repeat-x left bottom;
}
.member_setup ul li {
background:url(<%= asset_path 'sidebar_li.jpg' %>) repeat-x left top;
/* line-height:31px;*/
border-top:1px solid #424344;
border-bottom:1px solid #000000;
}
.member_setup ul li:hover {
background-position:left bottom;
border-top:1px solid #406cc3;
border-bottom:1px solid #242628;
}
.member_setup ul li a {
display: block;
padding: 7px 0 6px 12px;
color:#c4c4c4;
}
.member_setup ul li a span {
background:url(<%= asset_path 'add_mamber.png' %>) left top no-repeat;
text-shadow: 0px 1px 0px #000;
line-height: 18px;
padding: 2px 0 1px 35px;
}
.member_setup ul li a:hover span {
background-position:left bottom;
color:#eeeeee;
}
#main{
position: relative;
margin-left: 260px;
padding-right: 40px;
height:100%;
}
.main_list {
padding-top:70px;
}
2011-11-19 13:47:18 +00:00
.main_list ul {
clear:both;
}
2011-11-17 12:02:58 +00:00
.main_list li {
2011-11-18 08:43:14 +00:00
background:url(<%= asset_path '75.png' %>) repeat left top;
2011-11-17 12:02:58 +00:00
margin-bottom:20px;
}
.main_list li span {
display:inline-block;
float:left;
padding-left:20px;
color:#fff;
font-size:14px;
line-height:40px;
width:18%;
}
.main_list li.list_head {
2011-11-18 08:43:14 +00:00
background:none;
2011-11-17 12:02:58 +00:00
margin-bottom:10px;
}
.main_list li.list_head span {
font-size:16px;
line-height:inherit;
text-shadow: 0px 1px 1px #3e2914;
}
.main_list li.list_item {
position:relative;
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
-moz-box-shadow: 0px 0px 6px #291508; /* Firefox */
-webkit-box-shadow: 0px 0px 6px #291508;/* Safari 和 Chrome */
box-shadow: 0px 0px 6px #291508; /* Opera 10.5 + */
}
.main_list li.list_item:hover {
border:1px solid #3699dd;
}
2011-11-19 13:47:18 +00:00
.main_list li.disable {
opacity:0.6;
}
2011-11-17 12:02:58 +00:00
.main_list li.list_item:hover span {
line-height:38px;
}
.main_list li .roles {
}
.main_list li .name {
}
.main_list li .email {
}
.main_list li .admin{
}
.main_list li .action{
float: right;
width:10%;
}
2011-11-18 08:43:14 +00:00
#main .action a{
2011-11-17 12:02:58 +00:00
background-image:url(<%= asset_path 'icon.png' %>);
text-indent:-9999px;
display:inline-block;
width:19px;
height:19px;
margin-top:8px;
margin-right:10px;
}
2011-11-18 08:43:14 +00:00
#main .action a.show{
2011-11-17 12:02:58 +00:00
background-position:left top;
}
2011-11-18 08:43:14 +00:00
#main .action a.edit{
2011-11-17 12:02:58 +00:00
background-position:-19px top;
}
2011-11-18 08:43:14 +00:00
#main .action a.delete{
2011-11-17 12:02:58 +00:00
background-position:-38px top;
}
2011-11-19 13:47:18 +00:00
#main a.switch{
background:url(<%= asset_path 'switch.png' %>) no-repeat left 3px;
width:40px;
}
#main .disable a.switch{
background:url(<%= asset_path 'switch.png' %>) no-repeat left bottom;
}
2011-11-18 08:43:14 +00:00
#main .action a.show:hover{
background-position:left -19px;
2011-11-17 12:02:58 +00:00
}
2011-11-18 08:43:14 +00:00
#main .action a.edit:hover{
background-position:-19px -19px;
2011-11-17 12:02:58 +00:00
}
2011-11-18 08:43:14 +00:00
#main .action a.delete:hover{
background-position:-38px -19px;
2011-11-17 12:02:58 +00:00
}
2011-11-18 08:43:14 +00:00
#main .list_item .roles {
2011-11-17 12:02:58 +00:00
background-image:url(<%= asset_path 'roles_type.jpg' %>);
background-repeat:repeat-x;
border-radius: 5px 0 0 5px;
-moz-border-radius: 5px 0 0 5px;
-webkit-border-radius: 5px 0 0 5px;
}
2011-11-18 08:43:14 +00:00
#roles_list .roles_block .action a{
margin-top:0;
margin-right:0;
}
2011-11-17 12:02:58 +00:00
.student {
background-position:0 -5px;
}
.teacher {
background-position:0 -54px;
}
#add_new a {
background-position:-54px -17px;
2011-11-18 08:43:14 +00:00
}
#add_new a:hover {
background-position: -54px 3px;
}
2011-11-19 13:47:18 +00:00
.buttom {
float:right;
}
2011-11-18 08:43:14 +00:00
#confirm a{
background-position:4px -70px;
}
#confirm a:hover{
background-position: 4px -51px;
}
2011-11-19 13:47:18 +00:00
#create a{
background-image: none;
padding: 0 10px;
}
#update a{
background-position:4px -112px;
}
#update a:hover{
background-position:4px -89px;
}
#back a{
background-position:4px -156px;
}
#back a:hover{
background-position:4px -133px;
}
2011-11-18 08:43:14 +00:00
.buttom a {
2011-11-19 13:47:18 +00:00
margin:0 0 20px 10px;
2011-11-18 08:43:14 +00:00
background-image:url(<%= asset_path 'icon.png' %>);
2011-11-17 12:02:58 +00:00
background-repeat:no-repeat;
font-size:12px;
color:#FFF;
display:inline-block;
padding:0 10px 0 25px;
background-color: rgba(0, 0, 0, 0.75);
line-height:24px;
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
-moz-box-shadow: 3px 0px 4px #180902; /* Firefox */
-webkit-box-shadow: 3px 0px 4px #180902;/* Safari 和 Chrome */
box-shadow: 3px 0px 4px #180902; /* Opera 10.5 + */
}
2011-11-18 08:43:14 +00:00
.buttom a:hover {
2011-11-17 12:02:58 +00:00
color:#000;
font-weight:bold;
background-color: rgba(255, 255, 255, 1);
2011-11-18 08:43:14 +00:00
}
#porfile{
padding-top:100px;
}
#porfile h2 {
color: #FFFFFF;
font-weight: normal;
margin: 0;
padding: 0;
text-shadow: 0 3px 2px #000000;
position:absolute;
top:-30px;
}
2011-11-19 13:47:18 +00:00
#porfile .user_mail {
text-align: center;
background:url(<%= asset_path 'upload_but.png' %>) repeat-x left top;
border:none;
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
padding:3px 10px 1px;
margin-top:10px;
width:110px;
height: 21px;
font-size: 12px;
color:#666666;
text-shadow: 0 1px 0 #FFFFFF;
}
2011-11-18 08:43:14 +00:00
#porfile label {
display:block;
text-shadow: 0 1px 0 #FFFFFF;
background:url(<%= asset_path 'upload_but.png' %>) repeat-x left top;
height: 25px;
width:110px;
padding: 0 0 0 18px;
border:1px solid #d8d8d8;
margin-top:10px;
color:#666666;
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
}
#porfile label:hover{
background-position:left bottom;
color:#000;
border:1px solid #a6a6a6;
}
#porfile label input {
border:none;
margin: 6px 15px 0 0;
float:left;
}
#porfile label span {
display:block;
float:left;
line-height:27px;
font-size:12px;
}
.roles_block {
min-width:710px;
margin-bottom:50px;
position:relative;
padding-bottom: 20px;
background:url(<%= asset_path '75.png' %>) repeat left top;
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
-moz-box-shadow: 0px 0px 4px #180902; /* Firefox */
-webkit-box-shadow: 0px 0px 4px #180902;/* Safari 和 Chrome */
box-shadow: 0px 0px 4px #180902; /* Opera 10.5 + */
}
#user_list .roles_block {
margin-left:180px;
}
#person {
2011-11-19 13:47:18 +00:00
text-align:center;
2011-11-18 08:43:14 +00:00
left: 265px;
position: fixed;
top: 75px;
}
#person img {
background-color:#FFF;
padding:5px;
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
-moz-box-shadow: 0px 0px 4px #180902; /* Firefox */
-webkit-box-shadow: 0px 0px 4px #180902;/* Safari 和 Chrome */
box-shadow: 0px 0px 4px #180902; /* Opera 10.5 + */
}
2011-11-19 13:47:18 +00:00
#person .mail {
color: #FFFFFF;
font-size: 12px;
text-shadow:0px 1px 0px #333;
font-weight:bold;
background:url(<%= asset_path 'line.png' %>) repeat-x left top;
padding-top:10px;
}
2011-11-18 08:43:14 +00:00
#upload, #edit{
2011-11-19 13:47:18 +00:00
margin: 0 auto;
2011-11-18 08:43:14 +00:00
display:block;
text-shadow: 0 1px 0 #FFFFFF;
background:url(<%= asset_path 'upload_but.png' %>) repeat-x left top;
height: 25px;
line-height:27px;
color:#666666;
width:128px;
text-align:center;
font-size:12px;
border:1px solid #d8d8d8;
margin-top:10px;
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
}
#upload:hover{
background-position:left bottom;
color:#000;
border:1px solid #a6a6a6;
}
#main hr{
height:8px;
border:none;
margin:0;
border-radius: 5px 5px 0px 0px;
-moz-border-radius: 5px 5px 0px 0px;
-webkit-border-radius: 5px 5px 0px 0px;
border-bottom:1px solid #000;
}
#basic_block hr{
background-color:#666666;
}
#teacher_block hr{
background-color:#0071a9;
}
#student_block hr{
background-color:#af0045;
}
.info_input {
padding:10px 20px;
}
.info_input table {
color:#fff;
width:100%;
font-size:14px;
}
.info_input table td {
padding:5px 10px 5px 0;
width: 10%;
}
.info_input .list_head {
background:url(<%= asset_path 'line.png' %>) left bottom repeat-x;
}
.info_input .list_head td {
}
.info_input .list_item {
color:#AEAEAE;
}
.info_input .add {
display:block;
padding-left:22px;
font-size:12px;
line-height:21px;
height:19px;
background:url(<%= asset_path 'icon.png' %>) no-repeat -59px 0;
margin-top: 10px;
color: #DDDDDD;
}
.info_input .add:hover {
color:#FFF;
background-position:-59px -19px;
}
.info_input li {
height:30px;
margin-bottom: 5px;
}
.info_input li span {
display:inline-block;
float:left;
color:#fff;
font-size:14px;
line-height:30px;
margin-right:10px;
}
#user_list .info_input li span {
width: 25%;
}
#roles_list .info_input li span {
width:15%;
}
.info_input li span:last-child {
}
#person select {
background:url(<%= asset_path 'upload_but.png' %>) repeat-x left top;
border:1px solid #d8d8d8;
margin-top: 10px;
width: 130px;
padding:3px 6px 3px 14px;
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border:none;
2011-11-17 12:02:58 +00:00
}