浏览代码

Merge pull request #1557 from Alkarex/font-size-button-as-link

More uniform styling of A and BUTTON in drop-downs
Alexandre Alapetite 8 年之前
父节点
当前提交
5706186db8

+ 3 - 6
p/themes/BlueLagoon/BlueLagoon.css

@@ -368,16 +368,13 @@ a.btn {
 .dropdown-header {
 	display:none;
 }
-.dropdown-menu > .item > a {
-	padding: 0 25px;
-	line-height: 2.5em;
-	color: #ccc;
-}
+.dropdown-menu > .item > a,
 .dropdown-menu > .item > span,
 .dropdown-menu > .item > .as-link {
 	padding: 0 22px;
-	line-height: 2em;
+	line-height: 2.5em;
 	color: #ccc;
+	font-size: 0.8rem;
 }
 .dropdown-menu > .item:hover {
 	background: linear-gradient(180deg,  #0090FF 0%, #0062BE 100%) #E4992C;

+ 4 - 6
p/themes/Dark/dark.css

@@ -334,14 +334,12 @@ a.btn {
 	text-align: left;
 	color: #888;
 }
-.dropdown-menu > .item > a {
-	padding: 0 25px;
-	line-height: 2.5em;
-}
+.dropdown-menu > .item > a,
 .dropdown-menu > .item > span,
 .dropdown-menu > .item > .as-link {
 	padding: 0 22px;
-	line-height: 2em;
+	line-height: 2.5em;
+	font-size: 0.8rem;
 }
 .dropdown-menu > .item:hover {
 	background: #26303F;
@@ -810,7 +808,7 @@ a.btn {
 /*=== "Load more" part */
 #bigMarkAsRead {
 	text-align: center;
-	text-decoration: none;	
+	text-decoration: none;
 }
 #bigMarkAsRead:hover {
 	background: #111;

+ 3 - 5
p/themes/Flat/flat.css

@@ -334,14 +334,12 @@ a.btn {
 	text-align: left;
 	color: #34495e;
 }
-.dropdown-menu > .item > a {
-	padding: 0 25px;
-	line-height: 2.5em;
-}
+.dropdown-menu > .item > a,
 .dropdown-menu > .item > span,
 .dropdown-menu > .item > .as-link {
 	padding: 0 22px;
-	line-height: 2em;
+	line-height: 2.5em;
+	font-size: 0.8rem;
 }
 .dropdown-menu > .item:hover {
 	background: #2980b9;

+ 4 - 8
p/themes/Origine-compact/origine-compact.css

@@ -360,16 +360,12 @@ a.btn {
 	font-weight: bold;
 	text-align: left;
 }
-.dropdown-menu > .item {
-}
-.dropdown-menu > .item > a {
-	padding: 0 25px;
-	line-height: 2.5em;
-}
+.dropdown-menu > .item > a,
 .dropdown-menu > .item > span,
 .dropdown-menu > .item > .as-link {
 	padding: 0 22px;
-	line-height: 2em;
+	line-height: 2.5em;
+	font-size: 0.8rem;
 }
 .dropdown-menu > .item:hover {
 	background: #0062BE;
@@ -870,7 +866,7 @@ a.btn {
 /*=== "Load more" part */
 #bigMarkAsRead {
 	text-align: center;
-	text-decoration: none;	
+	text-decoration: none;
 	color: #666;
 	background: #fafafa;
 	font-size: 1.2em;

+ 4 - 8
p/themes/Origine/origine.css

@@ -358,16 +358,12 @@ a.btn {
 	font-weight: bold;
 	text-align: left;
 }
-.dropdown-menu > .item {
-}
-.dropdown-menu > .item > a {
-	padding: 0 25px;
-	line-height: 2.5em;
-}
+.dropdown-menu > .item > a,
 .dropdown-menu > .item > span,
 .dropdown-menu > .item > .as-link {
 	padding: 0 22px;
-	line-height: 2em;
+	line-height: 2.5em;
+	font-size: 0.8rem;
 }
 .dropdown-menu > .item:hover {
 	background: #0062BE;
@@ -853,7 +849,7 @@ a.btn {
 /*=== "Load more" part */
 #bigMarkAsRead {
 	text-align: center;
-	text-decoration: none;	
+	text-decoration: none;
 	text-shadow: 0 -1px 0 #aaa;
 	color: #666;
 	background: #fafafa;

+ 7 - 14
p/themes/Pafat/pafat.css

@@ -146,8 +146,8 @@ form th {
 .stick .dropdown + .dropdown > .btn {
 	border-left: none;
 
-}	
-	
+}
+
 .stick .btn + .dropdown > .btn {
 	border-left: none;
 	border-radius: 0 3px 3px 0;
@@ -338,20 +338,13 @@ a.btn {
 	font-weight: bold;
 	text-align: left;
 }
-.dropdown-menu > .item {
-}
-
-.dropdown-menu > .item > a {
-	padding: 0 22px;
-	line-height: 2.5em;
-	color: #666;
-	font-size: 0.8rem;
-}
 
+.dropdown-menu > .item > a,
 .dropdown-menu > .item > span,
 .dropdown-menu > .item > .as-link {
 	padding: 0 22px;
-	line-height: 2em;
+	line-height: 2.5em;
+	color: #666;
 	font-size: 0.8rem;
 }
 
@@ -550,7 +543,7 @@ a.btn {
 	text-decoration: none;
 	color : #C5C6CA;
 }
- 
+
 .header > .item.search input {
 	width: 230px;
 	height : 29px;
@@ -861,7 +854,7 @@ a.btn {
 /*=== "Load more" part */
 #bigMarkAsRead {
 	text-align: center;
-	text-decoration: none;	
+	text-decoration: none;
 	color: #666;
 	background: #fafafa;
 }

+ 3 - 8
p/themes/Screwdriver/screwdriver.css

@@ -368,18 +368,13 @@ a.btn {
 .dropdown-header {
 	display:none;
 }
-.dropdown-menu > .item {
-}
-.dropdown-menu > .item > a {
-	padding: 0 25px;
-	line-height: 2.5em;
-	color: #ccc;
-}
+.dropdown-menu > .item > a,
 .dropdown-menu > .item > span,
 .dropdown-menu > .item > .as-link {
 	padding: 0 22px;
-	line-height: 2em;
+	line-height: 2.5em;
 	color: #ccc;
+	font-size: 0.8rem;
 }
 .dropdown-menu > .item:hover {
 	background: #171717;

+ 2 - 5
p/themes/base-theme/base.css

@@ -251,14 +251,11 @@ a.btn {
 }
 .dropdown-menu > .item {
 }
-.dropdown-menu > .item > a {
-	padding: 0 25px;
-	line-height: 2.5em;
-}
+.dropdown-menu > .item > a,
 .dropdown-menu > .item > span,
 .dropdown-menu > .item > .as-link {
 	padding: 0 22px;
-	line-height: 2em;
+	line-height: 2.5em;
 }
 .dropdown-menu > .item:hover {
 }