
/*----------------------------------------------- 
 * project source file view  & blame view
 *-----------------------------------------------*/
#code_file_result_code,
#code_blame_result_code_container {
	border: none;
	line-height: 1.2em;
}

#code_blame_result_code_author {
	background: #FEF8F8;
}

#code_blame_result_code ol {
	/* pre-wrap can't be used for the actual line number in the blame view.
	 * because the revision span and the author span floating on the left
	 * doesn't wrap lines when the code part wraps. so reset it to 'pre' */
	white-space: pre;
}

#code_file_result_info_locgraph {
	width: 21em; 
	height: auto;
}

#code_folder_metadata_header,
#code_file_metadata_header,
#code_blame_metadata_header,
#code_revision_metadata_header,
#code_diff_metadata_header,
#code_diff_metadata_against_header {
	line-height: 2em;
}

#code_folder_metadata_header .metadata-committer-icon,
#code_file_metadata_header .metadata-committer-icon,
#code_blame_metadata_header .metadata-committer-icon,
#code_revision_metadata_header .metadata-committer-icon,
#code_diff_metadata_header .metadata-committer-icon,
#code_diff_metadata_against_header .metadata-committer-icon {
	height: 2em; 
	width: auto;
	vertical-align: middle;
	margin-right: 2px;

	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

#code_folder_metadata_header .metadata-committer,
#code_file_metadata_header .metadata-committer,
#code_blame_metadata_header .metadata-committer,
#code_revision_metadata_header .metadata-committer,
#code_diff_metadata_header .metadata-committer,
#code_diff_metadata_against_header .metadata-committer {
	float: left;
	color: #111111;
}

#code_folder_metadata_header .metadata-menu,
#code_file_metadata_header .metadata-menu,
#code_blame_metadata_header .metadata-menu,
#code_revision_metadata_header .metadata-menu,
#code_diff_metadata_header .metadata-menu,
#code_diff_metadata_against_header .metadata-menu {
	float: left;
	margin-left: 1em;
}

#code_folder_metadata_header .metadata-commit-date,
#code_file_metadata_header .metadata-commit-date,
#code_blame_metadata_header .metadata-commit-date,
#code_revision_metadata_header .metadata-commit-date,
#code_diff_metadata_header .metadata-commit-date,
#code_diff_metadata_against_header .metadata-commit-date {
	float: right;
}

#code_diff_metadata_body, 
#code_diff_metadata_against_body {
	border: none;
}

#code_folder_metadata_body ul,
#code_file_metadata_body ul,
#code_blame_metadata_body ul {
	padding: 0 !important;
	margin: 0 0 0.5em 0 !important;
	list-style: outside none none !important;
}

#code_folder_metadata_body ul li,
#code_file_metadata_body ul li,
#code_blame_metadata_body ul li {
	padding: 0.2em 0.2em 0.2em 0.2em !important;
	margin: 0em 0.2em 0.4em 0.2em !important;
	float: left !important;
	background-color: #44AD8E !important;
	color: #FFFFFF !important;
}

#code_file_pdf_navigator {
	padding: 0.5em 1em 0.5em 1em;
}

#code_file_pdf_page_slider {
	padding-left: 0.5em;
}
#code_file_pdf_page {
	padding-right: 0.5em;
}

#code_file_pdf_canvas  {
	border: none !important;
}

/*----------------------------------------------- 
 * project source folder view 
 *-----------------------------------------------*/
#code_folder_result_table tr {
	vertical-align: middle;
}

#code_folder_result_table tr.executable {
	background-color: #F0FAF0;
}


#code_folder_result_loc_by_file_graph {
	overflow: auto;
}

#code_folder_result_loc_by_file_graph circle.node {
	cursor: pointer;
	stroke: #000;
	stroke-width: .5px;
}

#code_folder_result_loc_by_file_graph circle.node.directory {
	stroke: #9ecae1;
	stroke-width: 2px;
}

#code_folder_result_loc_by_file_graph circle.node.collapsed {
	stroke: #555;
}

#code_folder_result_loc_by_file_graph .nodetext {
	fill: #252929;
	font-weight: bold;
	text-shadow: 0 0 0.2em white;
	font-size: 0.9em;
}

#code_folder_result_loc_by_file_graph line.link {
	fill: none;
	stroke: #9ecae1;
	stroke-width: 1.5px;
}

#code_folder_readme {
	margin: 0.2em 0 0 0;
	padding: 0.3em 0.3em 0.3em 0.3em;
	white-space: normal;
	line-height: 1.2em;
	background-color: #FAFAFA;

	border: none;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;

	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

/*----------------------------------------------- 
 * project source edit view 
 *-----------------------------------------------*/
#code_edit_result {
	/* ace editor doesn't work well with overflow: auto */
	overflow: initial;
}

#code_edit_result_code {
	font-family: "DejaVu Sans Mono", consolas, monaco, "Andale Mono", monospace;
	/*overflow: auto;*/
	overflow: initial;

	border: none;
	white-space: pre;

	tab-size: 5;
	-moz-tab-size: 5;
	-o-tab-size: 5;

	font-size: 1em;
	line-height: 1.2em;

	position: absolute !important;
}

/*----------------------------------------------- 
 * project source history view 
 *-----------------------------------------------*/
#code_history_result_table_path_list {
	/* the list in the 'paths' column */
	margin: 0;
	padding: 0;
	list-style: none;
	white-space: nowrap;
}

#code_history_result_table .title {
	font-size: inherit;
	font-weight: inherit;
	font-style: italic;
	text-align: center;
	background-color: #AABBFF;
}

#code_history_result_table td.commit-author-td {
	width: 1%;
	vertical-align: top;
	text-align: center;
	padding-right: 1em;
}

#code_history_result_table img.commit-author-icon {
	width: 3em;
	height: 3em;
}

#code_history_result_table td.commit-message-td {
	vertical-align: middle;
	line-height: 1.2em;
}

#code_history_result_table td.commit-message-td:hover {
	background-color: #F0F0F0;
}

#code_history_result_table a.commit-message,
#code_history_result_table a.commit-message:visited,
#code_history_result_table a.commit-message:focus {
	color: inherit;
	white-space: pre-wrap; /* css-3 */    
	white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
	white-space: -pre-wrap; /* Opera 4-6 */    
	white-space: -o-pre-wrap; /* Opera 7 */    
	font-family: "DejaVu Sans Mono", consolas, monaco, "Andale Mono", monospace;
}

#code_history_result_table td.commit-revision-td {
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-between;
	vertical-align: middle;
	line-height: 1.2em;
}

#code_history_result_table td.commit-revision-td:hover {
	background-color: #F0F0F0;
}

#code_history_result_table td.commit-revision-td div {
	margin-right: 1em;
}

#code_history_result_table .commit-revision-and-datetime {
	display: flex;
	flex-wrap: nowrap;
	justify-content: flex-start;
	vertical-align: middle;
}

#code_history_result_table .commit-actions {
	display: flex;
	flex-wrap: nowrap;
	justify-content: flex-end;
	vertical-align: middle;
}

/*----------------------------------------------- 
 * project source revision view 
 *-----------------------------------------------*/
#code_revision_metadata_text {
	line-height: 1.2em;
	padding: 0.2em 0.2em 0.2em 0.2em;
}

#code_revision_related_issue_list {
	padding-top: 0.3em;
	border-top: 1px dashed #EAEAEA
}

#code_revision_related_issue_list li {
	margin-top: 0.1em;
	margin-bottom: 0.1em;
}

#code_revision_metadata_text a,
#code_revision_related_issue_list a {
	padding: 0.3em;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	color: inherit;
	filter:alpha(opacity=85); /* IE */
	opacity: 0.85; /* Safari, Opera */
	-moz-opacity:0.85; /* FireFox */
}


#code_revision_result_files_table tr,
#code_revision_result_properties_table tr {
	border-bottom: 0.25em solid transparent;
	border-top: 0.25em solid transparent;
}

#code_revision_result_files_table td,
#code_revision_result_properties_table td {
	white-space: pre-wrap;
	padding-left: 22px;
	vertical-align: middle;
}

#code_revision_result_files_table td.M,
#code_revision_result_properties_table td.M {
	background-image:url(images/page_white_edit.png);
	background-position:left center;
	background-repeat:no-repeat;
}

#code_revision_result_files_table td.D,
#code_revision_result_properties_table td.D {
	background-image:url(images/page_white_delete.png);
	background-position:left center;
	background-repeat:no-repeat;
}

#code_revision_result_files_table td.A,
#code_revision_result_properties_table td.A {
	background-image:url(images/page_white_add.png);
	background-position:left center;
	background-repeat:no-repeat;
}

#code_revision_result_files_table td.R,
#code_revision_result_properties_table td.R {
	background-image:url(images/page_white_add.png);
	background-position:left center;
	background-repeat:no-repeat;
}

.review_comment_title {
	padding: 3px 3px 3px 3px;
	margin-top: 5px;
	background-color: #DDDDF0;
	font-size: 90%;
	font-weight: bold;
}

.review_comment_title_no {
}

.review_comment_title_updatedby {
	font-style: italic;
}

.review_comment_title_updatedon {
}

.review_comment_text {
	border:1px solid #F0F0FC;
	background-color: #F0F0FC;
	padding-left: 5px;
	padding-right: 5px;
}


/*----------------------------------------------- 
 * project source diff view 
 *-----------------------------------------------*/

#code_diff_metadata_container {
	margin: 0;
	padding: 0;
	width: 100%;
}

#code_diff_metadata,
#code_diff_metadata_against {
	width: 50%;
	float: left;
	margin: 0;
	padding: 0.1em;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

#code_diff_full_code_view {
	width: 100%;
	overflow: hidden;
}

#code_diff_old_code_view,
#code_diff_new_code_view {
	width: 50%;
	float: left;
	margin: 0;
	padding: 0.1em;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

#code_diff_full_code_view .navigator {
	padding: 0.5em 0.8em 0.5em 0.8em;
	font-weight: bold;
	text-align: left;
	color: #1C94C4;
	background-color: #E5ECF9;
	white-space: nowrap;
	font-size: 0.9em;
}

#code_diff_full_code_view .diff {
	background-position: 2px 50%;
	padding: 0;
	padding-left:15px;
	margin: 0;
}

#code_diff_full_code_view .diffadded {
	border:1px solid #cdf0cd;
	background-color:#ddffdd;
	background-image:url(images/bullet_add.png);
	background-repeat:no-repeat;
	/*background-position: 2px 50%;*/
	background-position: 0 50%;
	padding: 0;
	padding-left:15px;
	margin: 0;
}

#code_diff_full_code_view .diffdeleted {
	border:1px solid #e8d4bc;
	background-color:#f8e4cc;
	background-image:url(images/bullet_delete.png);
	background-repeat:no-repeat;
	/*background-position: 2px 50%;*/
	background-position: 0 50%;
	padding: 0;
	padding-left:15px;
	margin: 0;
}

#code_diff_full_code_view .diffchanged {
	border:1px solid #f0f0bc;
	background-color:#ffffcc;
	background-image:url(images/bullet_yellow.png);
	background-repeat:no-repeat;
	/*background-position: 2px 50%;*/
	background-position: 0 50%;
	padding: 0;
	padding-left:15px;
	margin: 0;
}

#code_diff_full_code_view .diffchangedold {
	text-decoration: line-through;
}

#code_diff_full_code_view .diffchangednew {
	/*background-color:#ffff00;*/
	text-decoration: underline;
}

#code_diff_full_code_view .diffrow {
	font-size: 1.2em;
	padding: 0.2em 0.2em 0.2em 0.2em;
	font-weight: bold;
	background-color: black;
}

/*----------------------------------------------- 
 * project source search view (including folder view)
 *-----------------------------------------------*/

#code_search_invertedly_label .ui-button-text,
#code_search_case_insensitively_label .ui-button-text,
#code_search_recursively_label .ui-button-text,
#code_search_in_name_label .ui-button-text,
#code_search_is_regex_label .ui-button-text {

	padding-left: 0.5em;
	padding-right: 0.5em;
	width: 1em;
	margin: 0;
}

#code_search_wildcard {
	line-height: 1.4;
	padding: 0.4em;
	border: 1px solid #EB8F00;
	color: #EB8F00;
	background-color: #F6F6F6;
	font-weight: bold;

	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}


/*-----------------------------------------------
 * code revision - dialogs
 *-----------------------------------------------*/
#code_revision_new_review_comment_tabs,
.code_revision_edit_review_comment_tabs {
	border: none !important;
}

#code_revision_new_review_comment_tabs .ui-tabs-panel,
.code_revision_edit_review_comment_tabs .ui-tabs-panel {
	padding: 0.2em 0em 0em 0em !important;
}

#code_revision_new_review_comment_tabs .ui-widget-header,
.code_revision_edit_review_comment_tabs .ui-widget-header {
	border: none !important;
	background: none !important;
	padding: 0em !important;
}

#code_revision_new_review_comment_tabs .ui-tabs-nav,
.code_revision_edit_review_comment_tabs .ui-tabs-nav {
	padding: 0em !important;
}

.ui-tabs .ui-tabs-nav li.ui-state-default {
	border-bottom: 1px solid #cccccc !important;
}

.ui-tabs .ui-tabs-nav li.ui-state-active {
	border-bottom: 1px solid #fbd850 !important;
}
