@eval proportionalFont org.rstudio.core.client.theme.ThemeFonts.getProportionalFont();
@eval fixedWidthFont org.rstudio.core.client.theme.ThemeFonts.getFixedWidthFont();

@external popupContent;
@external ace_sb, ace_cursor, ace_hidden, ace_tooltip;

.console {
   font-family: fixedWidthFont;
   padding-left: 6px;
   padding-bottom: 8px;
   line-height: 16px;
   border: none;
   outline: none;
   word-wrap: break-word;
   white-space: pre-wrap !important;
   cursor: text;
}
.console td {
   font-family: fixedWidthFont;
}

.output {
   outline: none;
   border: none;
   white-space: pre-wrap !important;
   word-break: break-all;
   margin: 0;
   -ms-user-select: text;
   -moz-user-select: text;
   -webkit-user-select: text;
   user-select: text
}
.output .command, .input {
}

.error {}

.input.ace_editor {
   position: relative !important;
}
.input .ace_sb {
   display: none;
   width: 0 !important;
}

.console .prompt {
   white-space: pre;
   -ms-user-select: text;
   -moz-user-select: text;
   -webkit-user-select: text;
   user-select: text;
}

.completionPopup {
   padding: 0;
   margin-left: -8px !important;
   margin-top: 4px !important;
   z-index: 1002;
}
.completionPopup .popupContent {
   margin: -4px;
}

.completionGrid {
   cursor: default;
   padding: 0;
}

.helpPopup {
   background: white;
   z-index: 1003;
}

.completionGrid td {
   font-family: fixedWidthFont;
   font-size: 12px;
   padding-left: 3px;
   padding-right: 3px;
   margin: 0;
   white-space: nowrap;
   text-overflow: ellipsis;
}

.completionGrid td span.packageName {
   color: #999;
}

.selected {
   background-color: rgb(146, 193, 240);
}

.functionInfo, .paramInfoName {
   padding: 2px 2px 2px 3px;

}

.paramInfoName {
   font-weight: bold;
}

.functionInfoSignature {
   font-family: fixedWidthFont;
   font-size: 12px;
}

.functionInfoSignature,
.paramInfoDesc {
   padding-left: 2em;
   text-indent: -2em;
   padding-bottom: 3px;
}

.functionInfoSummary {
   font-size: 12px;
   color: black;
}

.functionInfoSummary>a {
   text-decoration: none;
   color: black;
}

.packageName {
	font-weight: bold;
	font-size: 14px;
}

.packageDescription {
	color: black;
}

.promptFullHelp {
   height: 11px;
   background: #eaeaca;
   font-size: 9px;
   padding: 3px;
}

.paddedOutput {
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	width: 100%;
	padding: 6px;
}

.truncatedLabel {
	padding: 4px;
	font-style: italic;
	color: #888888;
}

.ace_tooltip {
	max-width: 400px;
	max-height: 300px;
}
}