Paulo Reis 9 лет назад
Родитель
Сommit
1b6829eed6

+ 34 - 24
services/web/public/stylesheets/app/project-list.less

@@ -222,38 +222,42 @@ ul.structured-list {
 	overflow: hidden;
 	overflow: hidden;
 	overflow-y: auto;
 	overflow-y: auto;
 	li {
 	li {
-		border-bottom: 1px solid @gray-lightest;
+		border-bottom: 1px solid @structured-list-border-color;
 		padding: (@line-height-computed / 4) 0;
 		padding: (@line-height-computed / 4) 0;
-		&:first-child {
-			.header {
-				font-size: 1rem;
-			}
-		}
+		// &:first-child {
+		// 	.header {
+		// 		font-size: 1rem;
+		// 	}
+		// }
 		&:last-child {
 		&:last-child {
 			border-bottom: 0 none;
 			border-bottom: 0 none;
 		}
 		}
 		&:hover {
 		&:hover {
-			background-color: @gray-lightest;
+			background-color: @structured-list-hover-color;
 		}
 		}
-		&:first-child:hover {
-			background-color: white;
+		&:first-child {
+			border-bottom-color: @structured-header-border-color;
+			&:hover {
+				background-color: transparent;
+			}
 		}
 		}
 		a {
 		a {
 			color: @structured-list-link-color;
 			color: @structured-list-link-color;
 		}
 		}
 		.header {
 		.header {
-			text-transform: uppercase;
+			font-weight: 600;
 		}
 		}
 		.select-item, .select-all {
 		.select-item, .select-all {
 			display: inline-block;
 			display: inline-block;
+			margin: 0 (@line-height-computed / 4);
 		}
 		}
-		.select-item, .select-all {
-			position: absolute;
-			left: @line-height-computed;
-		}
+		// .select-item, .select-all {
+		// 	position: absolute;
+		// 	left: @line-height-computed;
+		// }
 		.select-item + span, .select-all + span {
 		.select-item + span, .select-all + span {
 			display: inline-block;
 			display: inline-block;
-			padding-left: @line-height-computed * 1.5;
+			padding-left: (@line-height-computed / 4);
 			max-width: 100%;
 			max-width: 100%;
 			overflow: hidden;
 			overflow: hidden;
 			text-overflow: ellipsis;
 			text-overflow: ellipsis;
@@ -262,17 +266,23 @@ ul.structured-list {
 	}
 	}
 }
 }
 
 
+.project-list-card {
+	padding: 0 (@line-height-computed / 4);
+}
+
 ul.project-list {
 ul.project-list {
 	li {
 	li {
-		.last-modified, .owner {
-			font-size: .8rem;
-		}
-		.owner {
-			margin-right: 0;
-		}
-		.projectName {
-			margin-right: @line-height-computed / 4;
-		}
+		line-height: 3;
+		padding: 0;
+		// .last-modified, .owner {
+		// 	font-size: .8rem;
+		// }
+		// .owner {
+		// 	margin-right: 0;
+		// }
+		// .projectName {
+		// 	margin-right: @line-height-computed / 4;
+		// }
 		.tag-label {
 		.tag-label {
 			margin-left: @line-height-computed / 4;
 			margin-left: @line-height-computed / 4;
 			position: relative;
 			position: relative;

+ 3 - 0
services/web/public/stylesheets/core/_common-variables.less

@@ -801,6 +801,9 @@
 @card-box-shadow: 0 2px 4px rgba(0,0,0,0.15);
 @card-box-shadow: 0 2px 4px rgba(0,0,0,0.15);
 
 
 @structured-list-link-color: darken(@blue, 10%);
 @structured-list-link-color: darken(@blue, 10%);
+@structured-header-border-color: @gray-lightest;
+@structured-list-border-color: @gray-lightest;
+@structured-list-hover-color: @gray-lightest;
 
 
 @sidebar-bg: transparent;
 @sidebar-bg: transparent;
 @sidebar-link-color: #333;
 @sidebar-link-color: #333;

+ 3 - 0
services/web/public/stylesheets/core/ol-variables.less

@@ -79,6 +79,9 @@
 
 
 // Project table
 // Project table
 @structured-list-link-color     : @ol-blue;
 @structured-list-link-color     : @ol-blue;
+@structured-header-border-color : shade(@ol-blue-gray-1, 5%);
+@structured-list-border-color   : @ol-blue-gray-1;
+@structured-list-hover-color    : lighten(@ol-blue-gray-1, 5%);
 
 
 //== Colors
 //== Colors
 //
 //