소스 검색

twitter bootstrap inspired buttons/borders/colors

Adam Shaw 13 년 전
부모
커밋
fd6e82314b
1개의 변경된 파일61개의 추가작업 그리고 32개의 파일을 삭제
  1. 61 32
      src/common/common.css

+ 61 - 32
src/common/common.css

@@ -4,17 +4,17 @@
 
 
 .fc-widget-header,    /* <th>, usually */
 .fc-widget-header,    /* <th>, usually */
 .fc-widget-content {  /* <td>, usually */
 .fc-widget-content {  /* <td>, usually */
-	border: 1px solid #ccc;
+	border: 1px solid #ddd;
 	}
 	}
 	
 	
 .fc-state-highlight { /* <td> today cell */ /* TODO: add .fc-today to <th> */
 .fc-state-highlight { /* <td> today cell */ /* TODO: add .fc-today to <th> */
-	background: #ffc;
+	background: #fcf8e3;
 	}
 	}
 	
 	
 .fc-cell-overlay { /* semi-transparent rectangle while dragging */
 .fc-cell-overlay { /* semi-transparent rectangle while dragging */
-	background: #9cf;
-	opacity: .2;
-	filter: alpha(opacity=20); /* for IE */
+	background: #bce8f1;
+	opacity: .3;
+	filter: alpha(opacity=30); /* for IE */
 	}
 	}
 	
 	
 
 
@@ -63,39 +63,67 @@
 	*top: -50%;
 	*top: -50%;
 	}
 	}
 	
 	
-/* button states (determines colors)  */
-	
+/*
+  button states
+  taken from twitter bootstrap (http://twitter.github.com/bootstrap/)
+*/
+
 .fc-state-default {
 .fc-state-default {
-	border-style: solid;
-	border-color: #ccc #bbb #aaa;
-	background: #F3F3F3;
-	color: #000;
+	background-color: #f5f5f5;
+	*background-color: #e6e6e6;
+	background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
+	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
+	background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
+	background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
+	background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
+	background-repeat: repeat-x;
+	border-color: #e6e6e6 #e6e6e6 #bfbfbf;
+	border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
+	border-bottom-color: #b3b3b3;
+	color: #333;
+	text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
+	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
 	}
 	}
-	
-.fc-state-hover {
-	border-color: #999;
+
+.fc-state-hover,
+.fc-state-down,
+.fc-state-active,
+.fc-state-disabled {
+	color: #333333;
+	background-color: #e6e6e6;
+	*background-color: #d9d9d9;
 	}
 	}
-	
-.fc-state-down {
-	border-color: #555;
-	background: #777;
+
+.fc-state-hover {
+	color: #333333;
+	text-decoration: none;
+	background-position: 0 -15px;
+	-webkit-transition: background-position 0.1s linear;
+	   -moz-transition: background-position 0.1s linear;
+	     -o-transition: background-position 0.1s linear;
+	        transition: background-position 0.1s linear;
 	}
 	}
-	
+
+.fc-state-down,
 .fc-state-active {
 .fc-state-active {
-	border-color: #555;
-	background: #777;
-	color: #fff;
-	}
-	
-.fc-state-disabled {
-	color: #999;
-	border-color: #ddd;
+	background-color: #cccccc \9;
+	background-image: none;
+	outline: 0;
+	-webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
+	   -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
+	        box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
 	}
 	}
-	
+
 .fc-state-disabled {
 .fc-state-disabled {
 	cursor: default;
 	cursor: default;
+	background-image: none;
+	opacity: 0.65;
+	filter: alpha(opacity=65);
+	-webkit-box-shadow: none;
+	   -moz-box-shadow: none;
+	        box-shadow: none;
 	}
 	}
-	
+
 	
 	
 
 
 /* Global Event Styles
 /* Global Event Styles
@@ -103,9 +131,10 @@
 	 
 	 
 .fc-event {
 .fc-event {
 	overflow: hidden;
 	overflow: hidden;
-	border: 1px solid #36c; /* default BORDER color */
-	background-color: #36c; /* default BACKGROUND color */
-	color: #fff;            /* default TEXT color */
+	border: 1px solid #3a87ad; /* default BORDER color */
+	background-color: #3a87ad; /* default BACKGROUND color */
+	color: #fff;               /* default TEXT color */
+	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
 	font-size: .85em;
 	font-size: .85em;
 	cursor: default;
 	cursor: default;
 	}
 	}