orbit-basic/app/assets/stylesheets/member.css.erb

244 lines
5.4 KiB
Plaintext

/*
*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, '微軟正黑體';
}
ul {
list-style:none;
list-style-image:none;
margin:0;
padding:0;
}
.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);*/
background-color:rgba(0,0,0,0.75);
-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;
width:174px;
height:20px;
padding-left:20px;
}
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;
}
#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;
}
.main_list li {
background-color:rgba(0,0,0,0.75);
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 {
background-color:inherit;
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;
}
.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%;
}
.main_list li .action a{
background-image:url(<%= asset_path 'icon.png' %>);
text-indent:-9999px;
display:inline-block;
width:19px;
height:19px;
margin-top:8px;
margin-right:10px;
}
.main_list li .action a.show{
background-position:left top;
}
.main_list li .action a.edit{
background-position:-19px top;
}
.main_list li .action a.delete{
background-position:-38px top;
}
.main_list li .action a.show:hover{
background-position:left bottom;
}
.main_list li .action a.edit:hover{
background-position:-19px bottom;
}
.main_list li .action a.delete:hover{
background-position:-38px bottom;
}
.main_list li.list_item .roles {
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;
}
.student {
background-position:0 -5px;
}
.teacher {
background-position:0 -54px;
}
#add_new {
margin-bottom: 20px;
}
#add_new a {
background-image:url(<%= asset_path 'icon.png' %>);
background-position:-54px -17px;
background-repeat:no-repeat;
font-size:12px;
color:#FFF;
float:right;
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 + */
}
#add_new a:hover {
background-position: -54px 3px;
color:#000;
font-weight:bold;
background-color: rgba(255, 255, 255, 1);
}