Просмотр исходного кода

Basic support for buttons in overview panel.

Paulo Reis 10 лет назад
Родитель
Сommit
80049f4e9c
1 измененных файлов с 17 добавлено и 0 удалено
  1. 17 0
      services/web/public/stylesheets/app/editor/review-panel.less

+ 17 - 0
services/web/public/stylesheets/app/editor/review-panel.less

@@ -218,6 +218,7 @@
 		padding: 2px 5px;
 		border-bottom: solid 1px @rp-border-grey;
 		cursor: pointer;
+		position: relative;
 	}
 
 	border-left: solid @rp-entry-ribbon-width transparent;
@@ -315,6 +316,15 @@
 		.rp-state-overview & {
 			display: none;
 		}
+
+		.rp-state-overview .rp-entry:hover & {
+			display: flex;
+			position: absolute;
+			right: 0;
+			top: 0;
+			bottom: 0;
+			opacity: 0.9;
+		}
 	}
 		.rp-entry-button {
 			.rp-button();
@@ -326,6 +336,13 @@
 				border-bottom-right-radius: 3px;
 				border-right-width: 0;
 			}
+
+			.rp-state-overview & {
+				display: flex;
+				flex-direction: column;
+				padding: 5px;
+				border-radius: 0;
+			}
 		}
 
 	.rp-comment {