瀏覽代碼

compiled css

Eddie Machado 12 年之前
父節點
當前提交
5d8d9cdff1
共有 3 個文件被更改,包括 1292 次插入398 次删除
  1. 110 185
      library/css/ie.css
  2. 37 3
      library/css/login.css
  3. 1145 210
      library/css/style.css

+ 110 - 185
library/css/ie.css

@@ -1,6 +1,6 @@
 /******************************************************************
-Site Name: 
-Author: 
+Site Name:
+Author:
 
 Stylesheet: IE Stylesheet
 
@@ -10,43 +10,25 @@ Here, we import all the styles the standard stylesheet gets, only
 without the media queries. No need to worry about editing anything!
 
 ******************************************************************/
-/*
+/******************************************************************
+IMPORTS & DEPENDENCIES
 Remember, all the BASE styles are called already since IE can
-read those. Below, we need to import only the stuff IE can't 
+read those. Below, we need to import only the stuff IE can't
 understand (what's inside the media queries). We also need to
 import the mixins file so SASS can understand the variables.
-*/
-/* import mixins */
+******************************************************************/
 /******************************************************************
 Site Name:
 Author:
 
-Stylesheet: Mixins & Constants Stylesheet
+Stylesheet: Variables
 
-This is where you can take advantage of Sass' great features:
-Mixins & Constants. I won't go in-depth on how they work exactly,
-there are a few articles below that will help do that. What I will
-tell you is that this will help speed up simple changes like
-changing a color or adding CSS3 techniques gradients.
-
-A WORD OF WARNING: It's very easy to overdo it here. Be careful and
-remember less is more.
+Here is where we declare all our variables like colors, fonts,
+base values, and defaults. We want to make sure this file ONLY
+contains variables that way our files don't get all messy.
+No one likes a mess.
 
 ******************************************************************/
-/*********************
-CLEARFIXIN'
-*********************/
-.clearfix { zoom: 1; }
-.clearfix:before, .clearfix:after { content: ""; display: table; }
-.clearfix:after { clear: both; }
-
-/*********************
-TOOLS
-*********************/
-* { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
-
-.image-replacement { text-indent: 100%; white-space: nowrap; overflow: hidden; }
-
 /*********************
 COLORS
 Need help w/ choosing your colors? Try this site out:
@@ -57,41 +39,27 @@ Here's a great tutorial on how to
 use color variables properly:
 http://sachagreif.com/sass-color-variables/
 */
-/*********************
-TYPOGRAPHY
-*********************/
-/* 	To embed your own fonts, use this syntax
-	and place your fonts inside the
-	library/fonts folder. For more information
-	on embedding fonts, go to:
-	http://www.fontsquirrel.com/
-	Be sure to remove the comment brackets.
-*/
-/*	@font-face { 	font-family: 'Font Name'; 	src: url('library/fonts/font-name.eot'); 	src: url('library/fonts/font-name.eot?#iefix') format('embedded-opentype'), url('library/fonts/font-name.woff') format('woff'), url('library/fonts/font-name.ttf') format('truetype'), url('library/fonts/font-name.svg#font-name') format('svg'); 	font-weight: normal; 	font-style: normal;
-	}
-*/
-/*
-use the best ampersand
-http://simplebits.com/notebook/2008/08/14/ampersands-2/
-*/
-span.amp { font-family: Baskerville,'Goudy Old Style',Palatino,'Book Antiqua',serif !important; font-style: italic; }
-
-.text-left { text-align: left; }
-
-.text-center { text-align: center; }
-
-.text-right { text-align: right; }
-
-.alert-help, .alert-info, .alert-error, .alert-success { margin: 10px; padding: 5px 18px; border: 1px solid; }
+/******************************************************************
+Site Name:
+Author:
 
-.alert-help { border-color: #e8dc59; background: #ebe16f; }
+Stylesheet: Mixins Stylesheet
 
-.alert-info { border-color: #bfe4f4; background: #d5edf8; }
+This is where you can take advantage of Sass' great features: Mixins.
+I won't go in-depth on how they work exactly,
+there are a few articles below that will help do that. What I will
+tell you is that this will help speed up simple changes like
+changing a color or adding CSS3 techniques gradients.
 
-.alert-error { border-color: #f8cdce; background: #fbe3e4; }
+A WORD OF WARNING: It's very easy to overdo it here. Be careful and
+remember less is more.
 
-.alert-success { border-color: #deeaae; background: #e6efc2; }
+Helpful:
+http://sachagreif.com/useful-sass-mixins/
+http://thesassway.com/intermediate/leveraging-sass-mixins-for-cleaner-code
+http://web-design-weekly.com/blog/2013/05/12/handy-sass-mixins/
 
+******************************************************************/
 /*********************
 TRANSITION
 *********************/
@@ -113,120 +81,82 @@ BOX SIZING
 /* @include box-sizing(border-box); */
 /* NOTE: value of "padding-box" is only supported in Gecko. So
 probably best not to use it. I mean, were you going to anyway? */
-/*********************
-BUTTONS
-*********************/
-.button, .button:visited { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; border: 1px solid #be0d37; border-top-color: #db0f3f; border-left-color: #db0f3f; padding: 4px 12px; color: white; display: inline-block; font-size: 11px; font-weight: bold; text-decoration: none; text-shadow: 0 1px rgba(0, 0, 0, 0.75); cursor: pointer; margin-bottom: 20px; line-height: 21px; border-radius: 4px; background-color: #e40f42; background-image: -webkit-gradient(linear, left top, left bottom, from(#f01d4f), to(#e40f42)); background-image: -webkit-linear-gradient(top, #f01d4f, #e40f42); background-image: -moz-linear-gradient(top, #f01d4f, #e40f42); background-image: -o-linear-gradient(top, #f01d4f, #e40f42); background-image: linear-gradient(to bottom, #f01d4f, #e40f42); }
-.button:hover, .button:focus, .button:visited:hover, .button:visited:focus { color: white; border: 1px solid #be0d37; border-top-color: #9d0a2d; border-left-color: #9d0a2d; background-color: #cc0e3b; background-image: -webkit-gradient(linear, left top, left bottom, from(#e40f42), to(#cc0e3b)); background-image: -webkit-linear-gradient(top, #e40f42, #cc0e3b); background-image: -moz-linear-gradient(top, #e40f42, #cc0e3b); background-image: -o-linear-gradient(top, #e40f42, #cc0e3b); background-image: linear-gradient(to bottom, #e40f42, #cc0e3b); }
-.button:active, .button:visited:active { background-color: #f01d4f; background-image: -webkit-gradient(linear, left top, left bottom, from(#e40f42), to(#f01d4f)); background-image: -webkit-linear-gradient(top, #e40f42, #f01d4f); background-image: -moz-linear-gradient(top, #e40f42, #f01d4f); background-image: -o-linear-gradient(top, #e40f42, #f01d4f); background-image: linear-gradient(to bottom, #e40f42, #f01d4f); }
-
-.blue-button, .blue-button:visited { border-color: #1472ad; text-shadow: 0 1px 1px #1472ad; background-color: #1681c4; background-image: -webkit-gradient(linear, left top, left bottom, from(#1990db), to(#1681c4)); background-image: -webkit-linear-gradient(top, #1990db, #1681c4); background-image: -moz-linear-gradient(top, #1990db, #1681c4); background-image: -o-linear-gradient(top, #1990db, #1681c4); background-image: linear-gradient(to bottom, #1990db, #1681c4); box-shadow: inset 0 0 3px #59b3ec; }
-.blue-button:hover, .blue-button:focus, .blue-button:visited:hover, .blue-button:visited:focus { border-color: #116396; background-color: #1472ad; background-image: -webkit-gradient(linear, left top, left bottom, from(#1784c9), to(#1472ad)); background-image: -webkit-linear-gradient(top, #1784c9, #1472ad); background-image: -moz-linear-gradient(top, #1784c9, #1472ad); background-image: -o-linear-gradient(top, #1784c9, #1472ad); background-image: linear-gradient(to bottom, #1784c9, #1472ad); }
-.blue-button:active, .blue-button:visited:active { background-color: #1990db; background-image: -webkit-gradient(linear, left top, left bottom, from(#1681c4), to(#1990db)); background-image: -webkit-linear-gradient(top, #1681c4, #1990db); background-image: -moz-linear-gradient(top, #1681c4, #1990db); background-image: -o-linear-gradient(top, #1681c4, #1990db); background-image: linear-gradient(to bottom, #1681c4, #1990db); }
-
 /******************************************************************
 Site Name:
 Author:
 
-Stylesheet: Grid Stylesheet
+Stylesheet: IE Grid Styles
 
-I've seperated the grid so you can swap it out easily. It's
-called at the top the style.scss stylesheet.
+Since the example grid is based on media queries, so rather than
+setup some js library that would make IE8 and below understand
+media queries, let's just add some styles that serves a fixed grid.
 
-There are a ton of grid solutions out there. You should definitely
-experiment with your own. Here are some recommendations:
-
-http://gridsetapp.com - Love this site. Responsive Grids made easy.
-http://susy.oddbird.net/ - Grids using Compass. Very elegant.
-http://gridpak.com/ - Create your own responsive grid.
-
-The grid below is a combination of the 1140 grid and Twitter Boostrap. 
-I liked 1140 but Boostrap's grid was way more detailed so I merged them 
-together, let's see how this works out. If you want to use 1140, the original 
-values are commented out on each line.
+Again, if you want to roll your own, just remove this junk and put
+whatever you use in here.
 
 ******************************************************************/
-.onecol { width: 5.801104972%; }
-
-/* 4.85%;  } /* grid_1  */
-.twocol { width: 14.364640883%; }
-
-/* 13.45%; } /* grid_2  */
-.threecol { width: 22.928176794%; }
-
-/* 22.05%; } /* grid_3  */
-.fourcol { width: 31.491712705%; }
-
-/* 30.75%; } /* grid_4  */
-.fivecol { width: 40.055248616%; }
-
-/* 39.45%; } /* grid_5  */
-.sixcol { width: 48.618784527%; }
-
-/* 48%;    } /* grid_6  */
-.sevencol { width: 57.182320438000005%; }
-
-/* 56.75%; } /* grid_7  */
-.eightcol { width: 65.74585634900001%; }
-
-/* 65.4%;  } /* grid_8  */
-.ninecol { width: 74.30939226%; }
-
-/* 74.05%; } /* grid_9  */
-.tencol { width: 82.87292817100001%; }
-
-/* 82.7%;  } /* grid_10 */
-.elevencol { width: 91.436464082%; }
-
-/* 91.35%; } /* grid_11 */
-.twelvecol { width: 99.999999993%; }
-
-/* 100%;   } /* grid_12 */
-.onecol, .twocol, .threecol, .fourcol, .fivecol, .sixcol, .sevencol, .eightcol, .ninecol, .tencol, .elevencol, .twelvecol { position: relative; float: left; margin-left: 2.762430939%; }
-
-.first { margin-left: 0; }
-
-.last { float: right; }
-
 /******************************************************************
-Site Name: 
-Author: 
+Site Name:
+Author:
 
 Stylesheet: 481px and Up Stylesheet
 
-This stylesheet is loaded for larger devices. It's set to 
+This stylesheet is loaded for larger devices. It's set to
 481px because at 480px it would load on a landscaped iPhone.
 This isn't ideal because then you would be loading all those
-extra styles on that same mobile connection. 
+extra styles on that same mobile connection.
 
 A word of warning. This size COULD be a larger mobile device,
 so you still want to keep it pretty light and simply expand
 upon your base.scss styles.
 
 ******************************************************************/
+/*
+IMPORTANT NOTE ABOUT SASS 3.3 & UP
+You can't use @extend within media queries
+anymore, so just be aware that if you drop
+them in here, they won't work.
+*/
 /*********************
 NAVIGATION STYLES
 *********************/
 /* .menu is clearfixed inside mixins.scss */
-.menu { /* end .menu ul */ }
-.menu ul { /* end .menu ul li */ /* highlight current page */ /* end current highlighters */ }
-.menu ul li { /*
-plan your menus and drop-downs wisely.
-*/ }
-.menu ul li a { /*
-you can use hover styles here even though this size
-has the possibility of being a mobile device.
-*/ }
+.menu {
+  /* end .menu ul */ }
+  .menu ul {
+    /* end .menu ul li */
+    /* highlight current page */
+    /* end current highlighters */ }
+    .menu ul li {
+      /*
+      plan your menus and drop-downs wisely.
+      */ }
+      .menu ul li a {
+        /*
+        you can use hover styles here even though this size
+        has the possibility of being a mobile device.
+        */ }
 
 /* end .menu */
 /*********************
 POSTS & CONTENT STYLES
 *********************/
 /* entry content */
-.entry-content { /* at this larger size, we can start to align images */ }
-.entry-content .alignleft, .entry-content img.alignleft { margin-right: 1.5em; display: inline; float: left; }
-.entry-content .alignright, .entry-content img.alignright { margin-left: 1.5em; display: inline; float: right; }
-.entry-content .aligncenter, .entry-content img.aligncenter { margin-right: auto; margin-left: auto; display: block; clear: both; }
+.entry-content {
+  /* at this larger size, we can start to align images */ }
+  .entry-content .alignleft, .entry-content img.alignleft {
+    margin-right: 1.5em;
+    display: inline;
+    float: left; }
+  .entry-content .alignright, .entry-content img.alignright {
+    margin-left: 1.5em;
+    display: inline;
+    float: right; }
+  .entry-content .aligncenter, .entry-content img.aligncenter {
+    margin-right: auto;
+    margin-left: auto;
+    display: block;
+    clear: both; }
 
 /* end .entry-content */
 /*********************
@@ -256,7 +186,8 @@ GENERAL STYLES
 /*********************
 LAYOUT & GRID STYLES
 *********************/
-.wrap { max-width: 1140px; }
+.wrap {
+  width: 760px; }
 
 /*********************
 HEADER STYLES
@@ -264,32 +195,13 @@ HEADER STYLES
 /*********************
 NAVIGATION STYLES
 *********************/
-<<<<<<< HEAD
-.nav { background: #eee; border: 0; /* end .menu ul li */ /* highlight current page */ /* end current highlighters */ }
-.nav li { float: left; position: relative; /*
-plan your menus and drop-downs wisely.
-*/ /* showing sub-menus */ }
-.nav li a { border-bottom: 0; /*
-you can use hover styles here even though this size
-has the possibility of being a mobile device.
-*/ }
-.nav li a:hover, .nav li a:focus { background-color: #dedede; }
-.nav li ul.sub-menu, .nav li ul.children { margin-top: 0; border: 1px solid #ccc; border-top: 0; position: absolute; display: none; z-index: 8999; /* highlight sub-menu current page */ }
-.nav li ul.sub-menu li, .nav li ul.children li { /*
-if you need to go deeper, go nuts
-just remember deeper menus suck
-for usability. k, bai.
-*/ }
-.nav li ul.sub-menu li a, .nav li ul.children li a { padding-left: 10px; border-right: 0; display: block; width: 180px; border-bottom: 1px solid #ccc; }
-.nav li ul.sub-menu li:last-child a, .nav li ul.children li:last-child a { border-bottom: 0; }
-.nav li:hover ul { top: auto; display: block; }
-=======
 .nav {
-  background: #eee;
   border: 0;
   /* end .menu ul li */
   /* highlight current page */
   /* end current highlighters */ }
+  .nav ul {
+    margin-top: 0; }
   .nav li {
     float: left;
     position: relative;
@@ -304,7 +216,8 @@ for usability. k, bai.
       has the possibility of being a mobile device.
       */ }
       .nav li a:hover, .nav li a:focus {
-        background-color: #dedede; }
+        color: white;
+        text-decoration: underline; }
     .nav li ul.sub-menu,
     .nav li ul.children {
       margin-top: 0;
@@ -335,20 +248,28 @@ for usability. k, bai.
     .nav li:hover ul {
       top: auto;
       overflow: visible;
-      visibility:visible; }
->>>>>>> FETCH_HEAD
+      visibility: visible; }
 
 /* end .nav */
 /*********************
 SIDEBARS & ASIDES
 *********************/
-.sidebar { margin-top: 2.2em; }
-
-.widgettitle { border-bottom: 2px solid #444; margin-bottom: 0.75em; }
-
-.widget { padding: 0 10px; margin: 2.2em 0; }
-.widget ul li { margin-bottom: 0.75em; /* deep nesting */ }
-.widget ul li ul { margin-top: 0.75em; padding-left: 1em; }
+.sidebar {
+  margin-top: 2.2em; }
+
+.widgettitle {
+  border-bottom: 2px solid #444;
+  margin-bottom: 0.75em; }
+
+.widget {
+  padding: 0 10px;
+  margin: 2.2em 0; }
+  .widget ul li {
+    margin-bottom: 0.75em;
+    /* deep nesting */ }
+    .widget ul li ul {
+      margin-top: 0.75em;
+      padding-left: 1em; }
 
 /* links widget */
 /* meta widget */
@@ -369,25 +290,29 @@ you'll probably need to do quite a bit
 of overriding here if you styled them for
 mobile. Make sure to double check these!
 */
-.footer-links ul li { /*
-be careful with the depth of your menus.
-it's very rare to have multi-depth menus in
-the footer.
-*/ }
+.footer-links ul li {
+  /*
+  be careful with the depth of your menus.
+  it's very rare to have multi-depth menus in
+  the footer.
+  */ }
 
 /* end .footer-links */
 /******************************************************************
-Site Name: 
-Author: 
+Site Name:
+Author:
 
 Stylesheet: Desktop Stylsheet
 
 This is the desktop size. It's larger than an iPad so it will only
-be seen on the Desktop. 
+be seen on the Desktop.
 
 ******************************************************************/
-/* 
-you can call the larger styles if you want, but there's really no need 
+.wrap {
+  width: 1040px; }
+
+/*
+you can call the larger styles if you want, but there's really no need
 */
 /******************************************************************
 ADDITIONAL IE FIXES

+ 37 - 3
library/css/login.css

@@ -18,14 +18,48 @@ This is the Wordpress logo in the admin area.
 You'll have to load your own images and mess
 with the width and height.
 */
-.login h1 a { background: url(../images/login-logo.png) no-repeat top center; /* make sure to replace this! */ width: 326px; height: 67px; text-indent: -9999px; overflow: hidden; padding-bottom: 15px; display: block; }
+.login h1 a {
+  background: url(../images/login-logo.png) no-repeat top center;
+  /* make sure to replace this! */
+  width: 326px;
+  height: 67px;
+  text-indent: -9999px;
+  overflow: hidden;
+  padding-bottom: 15px;
+  display: block; }
 
-form { margin-left: 8px; padding: 26px 24px 46px; font-weight: normal; background: white; border: 1px solid #E5E5E5; border-radius: 3px; box-shadow: none; }
+form {
+  margin-left: 8px;
+  padding: 26px 24px 46px;
+  font-weight: normal;
+  background: white;
+  border: 1px solid #E5E5E5;
+  border-radius: 3px;
+  box-shadow: none; }
 
-body form .input { font-family: "HelveticaNeue-Light","Helvetica Neue Light","Helvetica Neue",sans-serif; font-weight: 200; font-size: 24px; width: 97%; padding: 3px; margin-top: 2px; margin-right: 6px; margin-bottom: 16px; border: 1px solid #E5E5E5; background: #FBFBFB; outline: none; box-shadow: inset 1px 1px 2px rgba(200, 200, 200, 0.2); }
+body form .input {
+  font-family: "HelveticaNeue-Light","Helvetica Neue Light","Helvetica Neue",sans-serif;
+  font-weight: 200;
+  font-size: 24px;
+  width: 97%;
+  padding: 3px;
+  margin-top: 2px;
+  margin-right: 6px;
+  margin-bottom: 16px;
+  border: 1px solid #E5E5E5;
+  background: #FBFBFB;
+  outline: none;
+  box-shadow: inset 1px 1px 2px rgba(200, 200, 200, 0.2); }
 
 /*
 You'll have to override some of the default styles
 but since we're referencing the id, it should be easy.
 */
 /* login button*/
+/*
+retina login logo
+*/
+@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min--moz-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 1.5) {
+  .login h1 a {
+    background: url(../images/login-logo@2x.png) no-repeat top center;
+    /* make sure to replace this! */ } }

文件差異過大導致無法顯示
+ 1145 - 210
library/css/style.css


部分文件因文件數量過多而無法顯示