PHP Server File Manager Development summary (ii): layout design and CSS

Source: Internet
Author: User
Tags php server

The first is the method of quoting jquery and jQueryUI, in order to relieve the pressure on the server, the author refers to the source of the third party:

<link rel= "stylesheet" href= "Http://code.jquery.com/ui/1.11.3/themes/smoothness/jquery-ui.css" ><script Type= "Text/javascript" src= "http://code.jquery.com/jquery-1.11.2.min.js" ></script><script type= "text /javascript "src=" Http://code.jquery.com/ui/1.11.3/jquery-ui.min.js "></script>

You can also download the above source to use locally.


Also, use global.css locally to plan the layout of the page.

Note that since the design manager maintains only one page, all requests are dynamically displayed on the page through Ajax, so the layout of the page needs to be considered in advance for all cases to be displayed.


The contents of GLOBAL.CSS are listed directly below, and the usage of some features to specific locations will be described.

@CHARSET   "UTF-8";/* globals */body {font-family: pt-sans-narrow, sans-serif; font-size: 100%;line-height: 100%;p Adding: 0 6%;color: rgb (102, 102, 102);}. Wrapper,.section {position: relative;display: block;clear: both;float: left;}. wrapper {width: 97%;p adding: 1em 1.5% 0;margin: 0 0 1em;}. section {width: 100%;}. page-title {font-family:  ' Oswald ', sans-serif;font-size: 2rem;line-height: 1; text-align: center;margin-top: 0;}. section-title {font-family:  ' Oswald ', sans-serif;font-size: 1.5rem;line-height: 1.5; Font-weight: 400;color: rgb (209, 72, 54); Font-variant: small-caps;border-bottom:  .05em solid rgb (226, 226, 226);}. Section-subtitle {font-size: .9rem;line-height: 1.2;text-transform: uppercase;} Table{border-collapse:collapse;} Table,td,th{border: 1px solid blue;font-size: 15px;padding: 0.5em;} Td{text-align: right;}. Filename,.dirname{text-align: left;} /* header */.home .hgroup {margin-bottom: 8em;}. title,.desc {text-align: center;font-family:  ' Oswald ',  sans-serif;}. title {font-size: 3em;line-height: 1em;font-weight: 700;text-transform: uppercase; Margin: 1em 0 0;color: rgb (209, 72, 54);text-shadow: .02em .02em  0 rgb (255, 255, 255),  .05em .03em 0 rgb (102, 102, 102);}. Desc {font-size: 1em;line-height: 2em;font-weight: 300;margin: 0 0 1em;}. Sig{text-align: center;}. tabmenu{width: 24px;height: 24px;}. topmenu{width: 48px;height: 48px;} Ul li{list-style: none;float: left;}. Operations{padding: 0px;width: 12em;text-align: center;}. OperatIons a{display: block;width: 24px;height: 24px;margin: 0.1em;}. text-dialog{border:1px solid  #999; height:300px;overflow:auto;width:600px;text-align:left;} #navi  a{display: block;width: 48px;height: 48px;margin-left: 0.5em;}


This article is from the "Accplayer Small Place" blog, make sure to keep this source http://accplaystation.blog.51cto.com/9917407/1614567

PHP Server File Manager Development summary (ii): layout design and CSS

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.