Server IP : 202.29.229.35 / Your IP : 3.143.215.114 Web Server : Apache System : Linux aapanel2 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 User : www ( 1001) PHP Version : 5.5.38 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /www/wwwroot/www.ivecr2.ac.th/ncvet5/std2021/z_css/ |
Upload File : |
/*---------- Menu Bar -----------*/ :focus { outline: none; } .row { margin-right: 0; margin-left: 0; } /* Sometimes the sub menus get too large for the page and prevent the menu from scrolling, limiting functionality A quick fix is to change .side-menu to -> position:absolute and uncomment the code below. You also need to uncomment -> <div class="absolute-wrapper"> </div> in the html file you also need to tweek the animation. Just uncomment the code in that section -------------------------------------------------------------------------------------------------------------------- If you want to make it really neat i suggest you look into an alternative like http://areaaperta.com/nicescroll/ This will allow the menu to say fixed on body scoll and scoll on the side bar if it get to large */ /*.absolute-wrapper{ position: fixed; width: 300px; height: 100%; background-color: #f8f8f8; border-right: 1px solid #e7e7e7; }*/ .side-menu { position: fixed; width: 300px; height: 100%; background-color: #f8f8f8; border-right: 1px solid #e7e7e7; } .side-menu .navbar { border: none; } .side-menu .navbar-header { width: 100%; border-bottom: 1px solid #e7e7e7; } .side-menu .navbar-nav .active a { background-color: transparent; margin-right: -1px; border-right: 5px solid #e7e7e7; } .side-menu .navbar-nav li { display: block; width: 100%; border-bottom: 1px solid #e7e7e7; } .side-menu .navbar-nav li a { padding: 15px; margin-left:25px; } .side-menu .navbar-nav li a .glyphicon { padding-right: 10px; } .side-menu #dropdown { border: 0; margin-bottom: 0; border-radius: 0; background-color: transparent; box-shadow: none; } .side-menu #dropdown .caret { float: right; margin: 9px 5px 0; } .side-menu #dropdown .indicator { float: right; } .side-menu #dropdown > a { border-bottom: 1px solid #e7e7e7; } .side-menu #dropdown .panel-body { padding: 0; background-color: #f3f3f3; } .side-menu #dropdown .panel-body .navbar-nav { width: 100%; } .side-menu #dropdown .panel-body .navbar-nav li { padding-left: 15px; border-bottom: 1px solid #e7e7e7; } .side-menu #dropdown .panel-body .navbar-nav li:last-child { border-bottom: none; } .side-menu #dropdown .panel-body .panel > a { margin-left: -20px; padding-left: 35px; } .side-menu #dropdown .panel-body .panel-body { margin-left: -15px; } .side-menu #dropdown .panel-body .panel-body li { padding-left: 30px; } .side-menu #dropdown .panel-body .panel-body li:last-child { border-bottom: 1px solid #e7e7e7; } .side-menu #search-trigger { background-color: #f3f3f3; border: 0; border-radius: 0; position: absolute; top: 0; right: 0; padding: 15px 18px; } .side-menu .brand-name-wrapper { min-height: 50px; } .side-menu .brand-name-wrapper .navbar-brand { display: block; } .side-menu #search { position: relative; z-index: 1000; } .side-menu #search .panel-body { padding: 0; } .side-menu #search .panel-body .navbar-form { padding: 0; padding-right: 50px; width: 100%; margin: 0; position: relative; border-top: 1px solid #e7e7e7; } .side-menu #search .panel-body .navbar-form .form-group { width: 100%; position: relative; } .side-menu #search .panel-body .navbar-form input { border: 0; border-radius: 0; box-shadow: none; width: 100%; height: 50px; } .side-menu #search .panel-body .navbar-form .btn { position: absolute; right: 0; top: 0; border: 0; border-radius: 0; background-color: #f3f3f3; padding: 15px 18px; } /* Main body section */ .side-body { margin-left: 310px; } /* small screen */ @media (max-width: 768px) { .side-menu { position: relative; width: 100%; height: 0; border-right: 0; border-bottom: 1px solid #e7e7e7; } .side-menu .brand-name-wrapper .navbar-brand { display: inline-block; } /* Slide in animation */ @-moz-keyframes slidein { 0% { left: -300px; } 100% { left: 10px; } } @-webkit-keyframes slidein { 0% { left: -300px; } 100% { left: 10px; } } @keyframes slidein { 0% { left: -300px; } 100% { left: 10px; } } @-moz-keyframes slideout { 0% { left: 0; } 100% { left: -300px; } } @-webkit-keyframes slideout { 0% { left: 0; } 100% { left: -300px; } } @keyframes slideout { 0% { left: 0; } 100% { left: -300px; } } /* Slide side menu*/ /* Add .absolute-wrapper.slide-in for scrollable menu -> see top comment */ .side-menu-container > .navbar-nav.slide-in { -moz-animation: slidein 300ms forwards; -o-animation: slidein 300ms forwards; -webkit-animation: slidein 300ms forwards; animation: slidein 300ms forwards; -webkit-transform-style: preserve-3d; transform-style: preserve-3d; } .side-menu-container > .navbar-nav { /* Add position:absolute for scrollable menu -> see top comment */ position: fixed; left: -300px; width: 300px; top: 43px; height: 100%; border-right: 1px solid #e7e7e7; background-color: #f8f8f8; -moz-animation: slideout 300ms forwards; -o-animation: slideout 300ms forwards; -webkit-animation: slideout 300ms forwards; animation: slideout 300ms forwards; -webkit-transform-style: preserve-3d; transform-style: preserve-3d; } /* Uncomment for scrollable menu -> see top comment */ /*.absolute-wrapper{ width:285px; -moz-animation: slideout 300ms forwards; -o-animation: slideout 300ms forwards; -webkit-animation: slideout 300ms forwards; animation: slideout 300ms forwards; -webkit-transform-style: preserve-3d; transform-style: preserve-3d; }*/ @-moz-keyframes bodyslidein { 0% { left: 0; } 100% { left: 300px; } } @-webkit-keyframes bodyslidein { 0% { left: 0; } 100% { left: 300px; } } @keyframes bodyslidein { 0% { left: 0; } 100% { left: 300px; } } @-moz-keyframes bodyslideout { 0% { left: 300px; } 100% { left: 0; } } @-webkit-keyframes bodyslideout { 0% { left: 300px; } 100% { left: 0; } } @keyframes bodyslideout { 0% { left: 300px; } 100% { left: 0; } } /* Slide side body*/ .side-body { margin-left: 5px; margin-top: 70px; position: relative; -moz-animation: bodyslideout 300ms forwards; -o-animation: bodyslideout 300ms forwards; -webkit-animation: bodyslideout 300ms forwards; animation: bodyslideout 300ms forwards; -webkit-transform-style: preserve-3d; transform-style: preserve-3d; } .body-slide-in { -moz-animation: bodyslidein 300ms forwards; -o-animation: bodyslidein 300ms forwards; -webkit-animation: bodyslidein 300ms forwards; animation: bodyslidein 300ms forwards; -webkit-transform-style: preserve-3d; transform-style: preserve-3d; } /* Hamburger */ .navbar-toggle { border: 0; float: left; padding: 18px; margin: 0; border-radius: 0; background-color: #f3f3f3; } /* Search */ #search .panel-body .navbar-form { border-bottom: 0; } #search .panel-body .navbar-form .form-group { margin: 0; } .navbar-header { /* this is probably redundant */ position: fixed; z-index: 3; background-color: #f8f8f8; } /* Dropdown tweek */ #dropdown .panel-body .navbar-nav { margin: 0; } } /*---------- Label & Badge -----------*/ .label { border-radius: 0; text-shadow: none; font-size: 11px; font-weight: normal; padding: 3px 5px 3px; background-color: #abbac3!important } .label[class*="span"][class*="arrow"] { min-height: 0 } .badge {text-shadow: none; font-size: 12px; padding: 1px 15px; font-weight: normal; line-height: 15px; background-color: #ABBAC3!important; } .label-transparent, .badge-transparent { background-color: transparent!important } .label-grey, .badge-grey { background-color: #a0a0a0!important } .label-info, .badge-info { background-color: #3a87ad!important } .label-primary, .badge-primary { background-color: #2283c5!important } .label-success, .badge-success { background-color: #82af6f!important } .label-important, .badge-important { background-color: #d15b47!important } .label-inverse, .badge-inverse { background-color: #333!important } .label-warning, .badge-warning { background-color: #f89406!important } .label-pink, .badge-pink { background-color: #d6487e!important } .label-purple, .badge-purple { background-color: #9585bf!important } .label-yellow, .badge-yellow { background-color: #fee188!important } .label-light, .badge-light { background-color: #e7e7e7!important } .badge-yellow, .label-yellow { color: #963!important; border-color: #fee188 } .badge-light, .label-light { color: #888!important } .label.arrowed, .label.arrowed-in { position: relative; margin-left: 9px } .label.arrowed:before, .label.arrowed-in:before { display: inline-block; content: ""; position: absolute; left: -14px; top: 0; border: 9px solid transparent; border-width: 9px 7px; border-right-color: #abbac3 } .label.arrowed-in:before { border-color: #abbac3; border-left-color: transparent!important; left: -9px } .label.arrowed-right, .label.arrowed-in-right { position: relative; margin-right: 9px } .label.arrowed-right:after, .label.arrowed-in-right:after { display: inline-block; content: ""; position: absolute; right: -14px; top: 0; border: 9px solid transparent; border-width: 9px 7px; border-left-color: #abbac3 } .label.arrowed-in-right:after { border-color: #abbac3; border-right-color: transparent!important; right: -9px } .label-info.arrowed:before { border-right-color: #3a87ad } .label-info.arrowed-in:before { border-color: #3a87ad } .label-info.arrowed-right:after { border-left-color: #3a87ad } .label-info.arrowed-in-right:after { border-color: #3a87ad } .label-primary.arrowed:before { border-right-color: #2283c5 } .label-primary.arrowed-in:before { border-color: #2283c5 } .label-primary.arrowed-right:after { border-left-color: #2283c5 } .label-primary.arrowed-in-right:after { border-color: #2283c5 } .label-success.arrowed:before { border-right-color: #82af6f } .label-success.arrowed-in:before { border-color: #82af6f } .label-success.arrowed-right:after { border-left-color: #82af6f } .label-success.arrowed-in-right:after { border-color: #82af6f } .label-warning.arrowed:before { border-right-color: #f89406 } .label-warning.arrowed-in:before { border-color: #f89406 } .label-warning.arrowed-right:after { border-left-color: #f89406 } .label-warning.arrowed-in-right:after { border-color: #f89406 } .label-important.arrowed:before { border-right-color: #d15b47 } .label-important.arrowed-in:before { border-color: #d15b47 } .label-important.arrowed-right:after { border-left-color: #d15b47 } .label-important.arrowed-in-right:after { border-color: #d15b47 } .label-inverse.arrowed:before { border-right-color: #333 } .label-inverse.arrowed-in:before { border-color: #333 } .label-inverse.arrowed-right:after { border-left-color: #333 } .label-inverse.arrowed-in-right:after { border-color: #333 } .label-pink.arrowed:before { border-right-color: #d6487e } .label-pink.arrowed-in:before { border-color: #d6487e } .label-pink.arrowed-right:after { border-left-color: #d6487e } .label-pink.arrowed-in-right:after { border-color: #d6487e } .label-purple.arrowed:before { border-right-color: #9585bf } .label-purple.arrowed-in:before { border-color: #9585bf } .label-purple.arrowed-right:after { border-left-color: #9585bf } .label-purple.arrowed-in-right:after { border-color: #9585bf } .label-yellow.arrowed:before { border-right-color: #fee188 } .label-yellow.arrowed-in:before { border-color: #fee188 } .label-yellow.arrowed-right:after { border-left-color: #fee188 } .label-yellow.arrowed-in-right:after { border-color: #fee188 } .label-light.arrowed:before { border-right-color: #e7e7e7 } .label-light.arrowed-in:before { border-color: #e7e7e7 } .label-light.arrowed-right:after { border-left-color: #e7e7e7 } .label-light.arrowed-in-right:after { border-color: #e7e7e7 } .label-grey.arrowed:before { border-right-color: #a0a0a0 } .label-grey.arrowed-in:before { border-color: #a0a0a0 } .label-grey.arrowed-right:after { border-left-color: #a0a0a0 } .label-grey.arrowed-in-right:after { border-color: #a0a0a0 } .label-large { font-size: 13px; padding: 3px 8px 4px } .label-large.arrowed, .label-large.arrowed-in { margin-left: 12px } .label-large.arrowed:before, .label-large.arrowed-in:before { left: -16px; border-width: 11px 8px } .label-large.arrowed-in:before { left: -12px } .label-large.arrowed-right, .label-large.arrowed-in-right { margin-right: 11px } .label-large.arrowed-right:after, .label-large.arrowed-in-right:after { right: -16px; border-width: 11px 8px } .label-large.arrowed-in-right:after { right: -12px } /*---------- ghrap -----------*/ dl { display: flex; background-color: white; flex-direction: column; width: 100%; max-width: 90%; position: relative; padding: 20px; } dt { align-self: flex-start; width: 100%; font-weight: 700; display: block; text-align: center; font-size: 1.2em; font-weight: 700; margin-bottom: 20px; margin-left: 130px; } .text { font-weight: 600; display: flex; align-items: center; height: 20px; width: 130px; background-color: white; position: absolute; left: 0; justify-content: flex-end; } .percentage { font-size: .8em; line-height: 1; text-transform: uppercase; width: 100%; height: 20px; margin-left: 130px; background: repeating-linear-gradient(to right, #ddd, #ddd 1px, #fff 1px, #fff 5%); } .percentage:after { content: ""; display: block; background-color: #3d9970; width: 50px; margin-bottom: 10px; height: 90%; position: relative; top: 50%; transform: translateY(-50%); transition: background-color .3s ease; cursor: pointer; } .percentage:hover:after, .percentage:focus:after { background-color: #aaa; } .percentage-0:after { width: 0%; } .percentage-1:after { width: 1%; } .percentage-2:after { width: 2%; } .percentage-3:after { width: 3%; } .percentage-4:after { width: 4%; } .percentage-5:after { width: 5%; } .percentage-6:after { width: 6%; } .percentage-7:after { width: 7%; } .percentage-8:after { width: 8%; } .percentage-9:after { width: 9%; } .percentage-10:after { width: 10%; } .percentage-11:after { width: 11%; } .percentage-12:after { width: 12%; } .percentage-13:after { width: 13%; } .percentage-14:after { width: 14%; } .percentage-15:after { width: 15%; } .percentage-16:after { width: 16%; } .percentage-17:after { width: 17%; } .percentage-18:after { width: 18%; } .percentage-19:after { width: 19%; } .percentage-20:after { width: 20%; } .percentage-21:after { width: 21%; } .percentage-22:after { width: 22%; } .percentage-23:after { width: 23%; } .percentage-24:after { width: 24%; } .percentage-25:after { width: 25%; } .percentage-26:after { width: 26%; } .percentage-27:after { width: 27%; } .percentage-28:after { width: 28%; } .percentage-29:after { width: 29%; } .percentage-30:after { width: 30%; } .percentage-31:after { width: 31%; } .percentage-32:after { width: 32%; } .percentage-33:after { width: 33%; } .percentage-34:after { width: 34%; } .percentage-35:after { width: 35%; } .percentage-36:after { width: 36%; } .percentage-37:after { width: 37%; } .percentage-38:after { width: 38%; } .percentage-39:after { width: 39%; } .percentage-40:after { width: 40%; } .percentage-41:after { width: 41%; } .percentage-42:after { width: 42%; } .percentage-43:after { width: 43%; } .percentage-44:after { width: 44%; } .percentage-45:after { width: 45%; } .percentage-46:after { width: 46%; } .percentage-47:after { width: 47%; } .percentage-48:after { width: 48%; } .percentage-49:after { width: 49%; } .percentage-50:after { width: 50%; } .percentage-51:after { width: 51%; } .percentage-52:after { width: 52%; } .percentage-53:after { width: 53%; } .percentage-54:after { width: 54%; } .percentage-55:after { width: 55%; } .percentage-56:after { width: 56%; } .percentage-57:after { width: 57%; } .percentage-58:after { width: 58%; } .percentage-59:after { width: 59%; } .percentage-60:after { width: 60%; } .percentage-61:after { width: 61%; } .percentage-62:after { width: 62%; } .percentage-63:after { width: 63%; } .percentage-64:after { width: 64%; } .percentage-65:after { width: 65%; } .percentage-66:after { width: 66%; } .percentage-67:after { width: 67%; } .percentage-68:after { width: 68%; } .percentage-69:after { width: 69%; } .percentage-70:after { width: 70%; } .percentage-71:after { width: 71%; } .percentage-72:after { width: 72%; } .percentage-73:after { width: 73%; } .percentage-74:after { width: 74%; } .percentage-75:after { width: 75%; } .percentage-76:after { width: 76%; } .percentage-77:after { width: 77%; } .percentage-78:after { width: 78%; } .percentage-79:after { width: 79%; } .percentage-80:after { width: 80%; } .percentage-81:after { width: 81%; } .percentage-82:after { width: 82%; } .percentage-83:after { width: 83%; } .percentage-84:after { width: 84%; } .percentage-85:after { width: 85%; } .percentage-86:after { width: 86%; } .percentage-87:after { width: 87%; } .percentage-88:after { width: 88%; } .percentage-89:after { width: 89%; } .percentage-90:after { width: 90%; } .percentage-91:after { width: 91%; } .percentage-92:after { width: 92%; } .percentage-93:after { width: 93%; } .percentage-94:after { width: 94%; } .percentage-95:after { width: 95%; } .percentage-96:after { width: 96%; } .percentage-97:after { width: 97%; } .percentage-98:after { width: 98%; } .percentage-99:after { width: 99%; } .percentage-100:after { width: 100%; }