Jelajahi Sumber

Ticket #967 - Core changes.

AntonLV 9 tahun lalu
induk
melakukan
db64e06ece
2 mengubah file dengan 28 tambahan dan 4 penghapusan
  1. 10 0
      modules/base/text/template/css/main.css
  2. 18 4
      template/css/vote.css

+ 10 - 0
modules/base/text/template/css/main.css

@@ -78,6 +78,16 @@ div.bx-base-text-breadcrumb i {
 .bx-base-text-unit-meta ul.bx-menu-custom li:first-child .bx-base-text-unit-meta-div {
 	display: none;
 }
+.bx-base-text-unit-meta ul.bx-menu-custom li .bx-base-text-unit-meta-div,
+.bx-base-text-unit-meta ul.bx-menu-custom li .bx-vote.bx-vote-stars {
+	position: relative;
+	display: inline-block;
+	vertical-align: middle;
+}
+.bx-base-text-unit-meta ul.bx-menu-custom li .bx-vote.bx-vote-stars {
+	margin-top: 0px;
+    margin-bottom: 0px;
+}
 
 .bx-base-text-unit-date {
     white-space: nowrap;

+ 18 - 4
template/css/vote.css

@@ -54,12 +54,23 @@ div.bx-vote div.bx-vote-counter-holder {
 }
 
 /*--- Stars based Element Styles ---*/
+.bx-vote-stars,
+.bx-vote-stars .bx-vote-do,
 .bx-vote-stars .bx-vote-element-holder,
 .bx-vote-stars .bx-vote-counter-holder {
-	line-height: 16px;
-	line-height: 1rem;
+	position: relative;
+    display: inline-block;
+    vertical-align: top;
+
+    line-height: 16px;
+    line-height: 1rem;
 }
 
+.bx-vote-stars .bx-vote-counter-holder {
+	border-width: 0px;
+}
+
+
 /*--- Stars Styles ---*/
 div.bx-vote-element {
 	position: relative;
@@ -76,9 +87,12 @@ div.bx-vote-slider {
     white-space: nowrap;
     overflow: hidden;
 }
-i.bx-vote-star,
-span.bx-vote-star {
+span.bx-vote-stars div.bx-vote-element a.bx-vote-button,
+span.bx-vote-stars div.bx-vote-element i.bx-vote-star,
+span.bx-vote-stars div.bx-vote-element span.bx-vote-star {
+	position: relative;
 	display: inline-block;
+	vertical-align: top;
 	height: 16px;
 	height: 1rem;
 	width: 16px;