/* * Author = Dian Hermanto * Create Date = 16 Maret 2014 * File Name = style.css * Function = Default page after login * Location = ./css/style.css */ @charset "utf-8"; /* CSS Document */ /* =Layout ------------------------------------------------------------------------------------------------*/ #masthead, #main, #footer{ clear:both; margin:0 1.5%; /* setting margin kiri halaman */ width:97%; } #navigation{ /*background-color:#FFCB2D;*/ clear:both; margin:0 1.5%; /* setting margin kiri halaman */ width:97%; vertical-align:top; } /* =Layout Masthead ------------------------------------------------------------------------------------------------*/ #masthead{ background:url(../images/header.png) no-repeat scroll; background-size: 100% 100%; min-height: 110px; } #masthead h1{ display:none; } /* =Layout Navigation ------------------------------------------------------------------------------------------------*/ #menu_tab{ background:#FFCB2D url(../images/nav_bg.png) repeat-x bottom left; float:left; list-style:none; margin:0; padding:10px 10% 0 10%; width:80%; } #menu_tab li{ float:left; } #menu_tab a{ background:#F9E9A9 url(../images/off_bg.png) repeat-x top left; border:1px solid #9B8748; border-bottom:none; color:#333; display:block; float:left; margin:0 1px 0 0; padding:4px 8px; text-decoration:none; } #menu_tab a:hover, body#absen #tab_absen a, body#rekap #tab_rekap a, body#siswa #tab_siswa a, body#semester #tab_semester a, body#kelas #tab_kelas a{ background: #fff url(../images/on_bg.png) repeat-x top left; border-color: #727377; color: #333; padding-bottom: 5px; } /* =Layout Main ------------------------------------------------------------------------------------------------*/ #main{ padding:5px 0; height:450px; } #mainPopUp{ padding:5px 0; height:360px; } /* =Layout Footer ------------------------------------------------------------------------------------------------*/ #footer{ border-top:1px solid #FFCB2D; font-size:smaller; font-weight:bold; padding-top:3px; text-align:center; } /* =Table ------------------------------------------------------------------------------------------------*/ table{ font-size:12px; } table th{ /*text-transform:uppercase;*/ /*font-weight:bold;*/ /*background:#464F4A; */ } table td, table th { text-align:left; padding:2px 5px 2px 5px;/*padding:4px 10px 4px 10px;*/ } .zebra { /*background:#666666; background:#6600FF;*/ } /* =Form ------------------------------------------------------------------------------------------------*/ form{ padding:0px; /* awalnya 3px */ } p label{ display:block; float:left; margin-right:10px; text-align:right; width:140px; } form p{ margin-bottom:10px; } .form_field{ border:#666 solid 1px; } .form_field:focus{ background-color:#F9E9A9; } p.message{ color:#900; font-weight:bold; margin-bottom:10px; background-color:#6F6; padding:5px; border:1px solid #090; } .field_error{ clear:both; color:#F00; margin-left:150px; } fieldset{ border:1px solid; padding-left:10px; margin-bottom:10px; } /* =Link ------------------------------------------------------------------------------------------------*/ a.add, a.update, a.delete, a.back, a.next, a.excel, a.aktif, a.nonaktif{ font-size: 9pt; color:#000000; font-weight:bold; padding-left:2px; text-decoration: none; } a.add:hover, a.update:hover, a.delete:hover, a.back:hover, a.next:hover, a.excel:hover, a.aktif:hover a.nonaktif:hover{ color:#0099FF; /* setting color text when hover */ } a.add { background:url(../images/2.png) left center no-repeat; } a.update { /*background:url(../images/12.png) left center no-repeat;*/ font-weight:bold; text-decoration:none; } a.delete { background:url(../images/7.png) left center no-repeat; } a.next { background:url(../images/9.png) left center no-repeat; } a.back { background:url(../images/10.png) left center no-repeat; } a.excel { background:url(../images/13.png) left center no-repeat; } a.aktif { background:url(../images/8.png) left center no-repeat; } a.nonaktif { background:url(../images/1.png) left center no-repeat; } p#bottom_link{ margin-top:10px; } /* =Pagination ------------------------------------------------------------------------------------------------*/ #pagination{ margin-bottom:10px; color:#900; } #pagination a{ text-decoration:none; } #pagination a:hover{ color:#900; font-size:150%; font-weight:bold; } p strong { font-size:150%; font-weight:bold; } /* =Misc ------------------------------------------------------------------------------------------------*/ h2{ border-bottom:1px solid #FFCB2D; font-size:1.5em; font-weight:bold; margin-bottom:10px; } p.message{ color:#900; font-weight:bold; background-color:#6F6; padding:5px; border:1px solid #090; } /*input#gobutton{ cursor:pointer; /*forces the cursor to change to a hand when the button is hovered*/ /*padding:5px 25px; /*add some padding to the inside of the button*/ /*background:#35b128; /*the colour of the button*/ /*border:1px solid #33842a; /*required or the default border for the browser will appear*/ /*give the button curved corners, alter the size as required*/ /*-moz-border-radius: 10px; /*-webkit-border-radius: 10px; border-radius: 10px; /*give the button a drop shadow*/ /*-webkit-box-shadow: 0 0 4px rgba(0,0,0, .75); -moz-box-shadow: 0 0 4px rgba(0,0,0, .75); box-shadow: 0 0 4px rgba(0,0,0, .75); /*style the text*/ /*color:#f3f3f3; font-size:1.1em; } /***NOW STYLE THE BUTTON'S HOVER AND FOCUS STATES***/ /*input#gobutton:hover, input#gobutton:focus{ background-color :#399630; /*make the background a little darker*/ /*reduce the drop shadow size to give a pushed button effect*/ /*-webkit-box-shadow: 0 0 1px rgba(0,0,0, .75); -moz-box-shadow: 0 0 1px rgba(0,0,0, .75); box-shadow: 0 0 1px rgba(0,0,0, .75); }*/ .button_css{ /*border:1px solid #b7b7b7; -webkit-border-radius: 3px; -moz-border-radius: 3px;border-radius: 3px;font-size:12px;font-family:arial, helvetica, sans-serif; padding: 4px 4px 4px 4px; */ border:1px solid #b7b7b7; -webkit-border-radius: 3px; -moz-border-radius: 3px;border-radius: 3px;font-size:12px;font-family:arial, helvetica, sans-serif; padding: 4px 4px 4px 4px; text-decoration:none; display:inline-block;text-shadow: 1px 1px 0 rgba(0,0,0,0.3);font-weight:bold; color: #FFFFFF; background-color: #d3d3d3; background-image: -webkit-gradient(linear, left top, left bottom, from(#d3d3d3), to(#707070)); background-image: -webkit-linear-gradient(top, #99CC33, #707070); background-image: -moz-linear-gradient(top, #99CC33, #707070); background-image: -ms-linear-gradient(top, #99CC33, #707070); background-image: -o-linear-gradient(top, #99CC33, #707070); background-image: linear-gradient(to bottom, #99CC33, #707070);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#d3d3d3, endColorstr=#707070); } .button_css:hover{ /*border:1px solid #a0a0a0;*/ background-color: #bababa; background-image: -webkit-gradient(linear, left top, left bottom, from(#99CC33), to(#CC9933)); background-image: -webkit-linear-gradient(top, #99CC33, #CC9933); background-image: -moz-linear-gradient(top, #99CC33, #CC9933); background-image: -ms-linear-gradient(top, #99CC33, #CC9933); background-image: -o-linear-gradient(top, #99CC33, #CC9933); background-image: linear-gradient(to bottom, #99CC33, #CC9933);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#99CC33, endColorstr=#CC9933); } .button_css_dark{ /*border:1px solid #b7b7b7; -webkit-border-radius: 3px; -moz-border-radius: 3px;border-radius: 3px;font-size:12px;font-family:arial, helvetica, sans-serif; padding: 4px 4px 4px 4px; */ border:1px solid #b7b7b7; -webkit-border-radius: 3px; -moz-border-radius: 3px;border-radius: 3px;font-size:12px;font-family:arial, helvetica, sans-serif; padding: 4px 4px 4px 4px; text-decoration:none; display:inline-block;text-shadow: 1px 1px 0 rgba(0,0,0,0.3);font-weight:bold; color: #FFFFFF; background-color: #d3d3d3; background-image: -webkit-gradient(linear, left top, left bottom, from(#d3d3d3), to(#707070)); background-image: -webkit-linear-gradient(top, #99CC33, #707070); background-image: -moz-linear-gradient(top, #99CC33, #707070); background-image: -ms-linear-gradient(top, #99CC33, #707070); background-image: -o-linear-gradient(top, #99CC33, #707070); background-image: linear-gradient(to bottom, #99CC33, #707070);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#d3d3d3, endColorstr=#707070); } .button_css_dark:hover{ border:1px solid #a0a0a0; background-color: #bababa; background-image: -webkit-gradient(linear, left top, left bottom, from(#bababa), to(#575757)); background-image: -webkit-linear-gradient(top, #bababa, #575757); background-image: -moz-linear-gradient(top, #bababa, #575757); background-image: -ms-linear-gradient(top, #bababa, #575757); background-image: -o-linear-gradient(top, #bababa, #575757); background-image: linear-gradient(to bottom, #bababa, #575757);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#bababa, endColorstr=#575757); } .textbox { border: 1px solid #c4c4c4; height: 15px; /* awalnya 17 */ font-size: 13px; padding: 4px 4px 4px 4px; border-radius: 2px; /* awalnya 4 */ -moz-border-radius: 4px; -webkit-border-radius: 4px; box-shadow: 0px 0px 8px #d9d9d9; -moz-box-shadow: 0px 0px 8px #d9d9d9; -webkit-box-shadow: 0px 0px 8px #d9d9d9; } .textbox:focus { outline: none; border: 1px solid #7bc1f7; box-shadow: 0px 0px 8px #7bc1f7; -moz-box-shadow: 0px 0px 8px #7bc1f7; -webkit-box-shadow: 0px 0px 8px #7bc1f7; } .listmenu { border: 1px solid #c4c4c4; height: 28px; font-size: 12px; padding: 3px 3px 3px 3px; border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; box-shadow: 0px 0px 8px #d9d9d9; -moz-box-shadow: 0px 0px 8px #d9d9d9; -webkit-box-shadow: 0px 0px 8px #d9d9d9; } .listmenu:focus { outline: none; border: 1px solid #7bc1f7; box-shadow: 0px 0px 8px #7bc1f7; -moz-box-shadow: 0px 0px 8px #7bc1f7; -webkit-box-shadow: 0px 0px 8px #7bc1f7; } CSSTableGenerator { margin:0px;padding:0px; width:100%; box-shadow: 10px 10px 5px #888888; border:1px solid #000000; -moz-border-radius-bottomleft:0px; -webkit-border-bottom-left-radius:0px; border-bottom-left-radius:0px; -moz-border-radius-bottomright:0px; -webkit-border-bottom-right-radius:0px; border-bottom-right-radius:0px; -moz-border-radius-topright:0px; -webkit-border-top-right-radius:0px; border-top-right-radius:0px; -moz-border-radius-topleft:0px; -webkit-border-top-left-radius:0px; border-top-left-radius:0px; }.CSSTableGenerator table{ border-collapse: collapse; border-spacing: 0; width:100%; height:100%; margin:0px;padding:0px; }.CSSTableGenerator tr:last-child td:last-child { -moz-border-radius-bottomright:0px; -webkit-border-bottom-right-radius:0px; border-bottom-right-radius:0px; } .CSSTableGenerator table tr:first-child td:first-child { -moz-border-radius-topleft:0px; -webkit-border-top-left-radius:0px; border-top-left-radius:0px; } .CSSTableGenerator table tr:first-child td:last-child { -moz-border-radius-topright:0px; -webkit-border-top-right-radius:0px; border-top-right-radius:0px; }.CSSTableGenerator tr:last-child td:first-child{ -moz-border-radius-bottomleft:0px; -webkit-border-bottom-left-radius:0px; border-bottom-left-radius:0px; }.CSSTableGenerator tr:hover td{ } .CSSTableGenerator tr:nth-child(odd){ background-color:#e5e5e5; } .CSSTableGenerator tr:nth-child(even) { background-color:#ffffff; }.CSSTableGenerator td{ vertical-align:middle; border:1px solid #000000; border-width:0px 1px 1px 0px; text-align:left; padding:7px; font-size:12px; font-family:Arial; font-weight:normal; color:#000000; }.CSSTableGenerator tr:last-child td{ border-width:0px 1px 0px 0px; }.CSSTableGenerator tr td:last-child{ border-width:0px 0px 1px 0px; }.CSSTableGenerator tr:last-child td:last-child{ border-width:0px 0px 0px 0px; } .CSSTableGenerator tr:first-child td{ background:-o-linear-gradient(bottom, #4c4c4c 5%, #000000 100%); background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #4c4c4c), color-stop(1, #000000) ); background:-moz-linear-gradient( left top right, #4c4c4c 5%, #000000 100% ); filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#4c4c4c", endColorstr="#000000"); background: -o-linear-gradient(top,#4c4c4c,000000); background-color:#4c4c4c; border:0px solid #000000; text-align:left; border-width:0px 0px 1px 1px; font-size:14px; font-family:Arial; font-weight:bold; color:#ffffff; } .CSSTableGenerator tr:first-child:hover td{ background:-o-linear-gradient(bottom, #4c4c4c 5%, #000000 100%); background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #4c4c4c), color-stop(1, #000000) ); background:-moz-linear-gradient( center top, #4c4c4c 5%, #000000 100% ); filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#4c4c4c", endColorstr="#000000"); background: -o-linear-gradient(top,#4c4c4c,000000); background-color:#4c4c4c; } .CSSTableGenerator tr:first-child td:first-child{ border-width:0px 0px 1px 0px; } .CSSTableGenerator tr:first-child td:last-child{ border-width:0px 0px 1px 1px; } ul.tsc_pagination { margin:4px 0; padding:0px; height:100%; overflow:hidden; font:12px 'Tahoma'; list-style-type:none; } ul.tsc_pagination li { float:left; margin:0px; padding:0px; margin-left:0px; } ul.tsc_pagination li a { color:black; display:block; text-decoration:none; padding:7px 10px 7px 10px; } ul.tsc_paginationA li a { color:#FFFFFF; border-radius:3px; -moz-border-radius:3px; -webkit-border-radius:3px; } ul.tsc_paginationA01 li a { color:#474747; border:solid 1px #B6B6B6; padding:6px 9px 6px 9px; background:#E6E6E6; background:-moz-linear-gradient(top, #FFFFFF 1px, #F3F3F3 1px, #E6E6E6); background:-webkit-gradient(linear, 0 0, 0 100%, color-stop(0.02, #FFFFFF), color-stop(0.02, #F3F3F3), color-stop(1, #E6E6E6)); } ul.tsc_paginationA01 li:hover a, ul.tsc_paginationA01 li.current a { background:#FFFFFF; } myStyle { top:10px; }