123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294 |
- /*
- * Title: Pure CSS3 Backend Panel
- * Author: Clear
- * Version: 1.0.0
- * Create: 2015-06-05
- * Update: 2015-06-05
- */
- /* CSS Reset */
- * {
- padding: 0;
- margin: 0;
- list-style: none;
- box-sizing: border-box;
- outline: none;
- font-weight: normal;
- }
- body {
- background: #1ABC9C;
- font-family: "Segoe UI","Microsoft YaHei";
- }
- a {
- color: #000;
- text-decoration: none;
- }
- header {
- color: #fff;
- text-align: center;
- min-height: 140px;
- margin-bottom: 60px;
- }
- header h1{
- /*margin-top: 100px;*/
- font-size: 50px;
- margin-bottom: 20px;
- font-weight: 100;
- }
- header a{
- font-size: 18px;
- margin-left: 20px;
- }
- .copyright {
- font-size: 25px;
- font-weight: 100;
- color: #fff;
- text-align: center;
- margin: 100px 0;
- }
- .copyright a {
- color: #fff;
- }
- .pb30{padding-bottom: 30px;}
- .fl {
- float: left
- }
- .fr {
- float: right
- }
- .ease {
- -webkit-transition: all .5s;
- -moz-transition: all .5s;
- -o-transition: all .5s;
- transition: all .5s;
- }
- .container {
- width: 100%;
- max-width: 1200px;
- margin: 0 auto;
- }
- /* Backend Panel Start */
- .clear-backend {
- background: #fff;
- width: 100%;
- /*height: 800px;*/
- height: 100%;
- /*position: relative;*/
- }
- .avatar {
- background: #f0f0f0;
- width: 200px;
- height: 200px;
- }
- .avatar div {
- width: 150px;
- height: 150px;
- border-radius: 50%;
- overflow: hidden;
- position: relative;
- top: 25px;
- left: 25px;
- }
- .avatar div img {
- width: 100%;
- height: auto;
- }
- .menu{
- width: 200px;
- display: block;
- }
- .menu > input {
- position: absolute;
- filter: alpha(opacity=0);
- opacity: 0;
- }
- .menu > input:hover {
- cursor: pointer;
- }
- .menu > input:hover + span,
- .menu > input:checked + span {
- background: #fff;
- color: #1ABC9C;
- }
- .menu > input:checked + span + i {
- color: #1ABC9C;
- }
- .menu > i {
- position: absolute;
- margin-top: -40px;
- padding: 0 20px;
- font-size: 20px;
- }
- .menu > span,
- .menu > i {
- -webkit-transition: all .5s;
- -moz-transition: all .5s;
- -o-transition: all .5s;
- transition: all .5s;
- }
- .menu > input,
- .menu > span {
- background: #f0f0f0;
- display: block;
- width: 200px;
- height: 60px;
- line-height: 60px;
- text-align: center;
- z-index: 9;
- }
- .top-bar {
- background: #f0f0f0;
- color: #000;
- position: absolute;
- top: 0;
- right: 0;
- width: calc(100% - 200px);
- height: 60px;
- line-height: 60px;
- font-size: 20px;
- z-index: 9;
- }
- .top-bar li {
- float: right;
- }
- .top-bar a {
- display: block;
- padding: 0 20px;
- -webkit-transition: all .5s;
- -moz-transition: all .5s;
- -o-transition: all .5s;
- transition: all .5s;
- }
- .top-bar a:hover {
- color: #1ABC9C;
- }
- .top-bar li:hover {
- background: #fff;
- }
- .tab-content {
- position: absolute;
- top: 0;
- right: 0;
- width: calc(100% - 200px);
- height: 100%;
- padding-top: 60px;
- overflow: hidden;
- }
- .tab-content section {
- position: absolute;
- width: 100%;
- height: 100%;
- padding: 20px;
- display: none;
- }
- .clear-backend > input.tab-1:checked ~ .tab-content .tab-item-1 {
- display: block;
- }
- .clear-backend > input.tab-2:checked ~ .tab-content .tab-item-2 {
- display: block;
- }
- .clear-backend > input.tab-3:checked ~ .tab-content .tab-item-3 {
- display: block;
- }
- .clear-backend > input.tab-4:checked ~ .tab-content .tab-item-4 {
- display: block;
- }
- .clear-backend > input.tab-5:checked ~ .tab-content .tab-item-5 {
- display: block;
- }
- .clear-backend > input.tab-6:checked ~ .tab-content .tab-item-6 {
- display: block;
- }
- .clear-backend > input.tab-7:checked ~ .tab-content .tab-item-7 {
- display: block;
- }
- .clear-backend > input.tab-8:checked ~ .tab-content .tab-item-8 {
- display: block;
- }
- .clear-backend > input.tab-9:checked ~ .tab-content .tab-item-9 {
- display: block;
- }
- .clear-backend > input.tab-10:checked ~ .tab-content .tab-item-10 {
- display: block;
- }
- /* Responsive */
- @media screen and (max-width: 1367px) {
- }
- @media screen and (max-width: 1281px) {
- }
- @media screen and (max-width: 1025px) {
- }
- @media only screen and (max-width: 961px) {
- }
- @media only screen and (max-width: 641px) {
- .avatar,
- .clear-backend > input,
- .clear-backend > span {
- width: 60px;
- height: 60px;
- }
- .clear-backend > span {
- filter: alpha(opacity=0);
- opacity: 0;
- }
- .avatar div {
- width: 40px;
- height: 40px;
- border-radius: 50%;
- top: 5px;
- left: 5px;
- }
- .top-bar,
- .tab-content {
- width: calc(100% - 60px);
- }
- }
- @media only screen and (max-width: 481px) {
- }
|