소스 검색

HUE-7117 [frontend] Harmonize all the monospace occurrences and move to Roboto Mono

Enrico Berti 8 년 전
부모
커밋
5ed598864f

+ 1 - 1
apps/filebrowser/src/filebrowser/static/filebrowser/css/display.css

@@ -14,4 +14,4 @@ distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
- */#fileviewerComponents .card-body{padding:0;margin:0}#fileviewerComponents .hue-breadcrumbs-bar{margin:0;padding-bottom:0}#fileviewerComponents #fileArea{overflow:auto;background-color:#F8F8F8;position:relative;font-size:12px}#fileviewerComponents #fileArea.loading{opacity:.7}#fileviewerComponents .binary{font-family:"Courier New",Courier,monospace}#fileviewerComponents pre{border:none}#fileviewerComponents pre a{color:#444;cursor:default;white-space:inherit}#fileviewerComponents pre a:hover{color:#444;text-decoration:none}#fileviewerComponents .pagination-input-form{position:relative;right:1em;top:-10px}#fileviewerComponents .pagination-input{text-align:center;width:40px}#fileviewerComponents dd{margin-left:0;margin-bottom:6px}
+ */#fileviewerComponents .card-body{padding:0;margin:0}#fileviewerComponents .hue-breadcrumbs-bar{margin:0;padding-bottom:0}#fileviewerComponents #fileArea{overflow:auto;background-color:#F8F8F8;position:relative;font-size:12px}#fileviewerComponents #fileArea.loading{opacity:.7}#fileviewerComponents .binary{font-family:Roboto Mono,Menlo,Monaco,Consolas,"Courier New",monospace}#fileviewerComponents pre{border:none}#fileviewerComponents pre a{color:#444;cursor:default;white-space:inherit}#fileviewerComponents pre a:hover{color:#444;text-decoration:none}#fileviewerComponents .pagination-input-form{position:relative;right:1em;top:-10px}#fileviewerComponents .pagination-input{text-align:center;width:40px}#fileviewerComponents dd{margin-left:0;margin-bottom:6px}

+ 2 - 1
apps/filebrowser/src/filebrowser/static/filebrowser/less/display.less

@@ -16,6 +16,7 @@
  limitations under the License.
 */
 @import (reference) "cui/colors.less";
+@import (reference) "cui/extra-variables.less";
 
 #fileviewerComponents {
   .card-body {
@@ -39,7 +40,7 @@
   }
 
   .binary {
-    font-family: "Courier New", Courier, monospace;
+    font-family: @font-family-monospace;
   }
 
   pre {

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
apps/security/src/security/static/security/css/security.css


+ 2 - 1
apps/security/src/security/static/security/less/security.less

@@ -15,6 +15,7 @@
  See the License for the specific language governing permissions and
  limitations under the License.
 */
+@import (reference) "cui/extra-variables.less";
 
 .hue-tree {
   width: 100%;
@@ -155,7 +156,7 @@
   line-height: 20px;
   word-break: break-all;
   word-wrap: break-word;
-  font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
+  font-family: @font-family-monospace;
   background-color: #f5f5f5;
   border: 1px solid #ccc;
   border: 1px solid rgba(0, 0, 0, 0.15);

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
desktop/core/src/desktop/static/desktop/css/hue.css


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
desktop/core/src/desktop/static/desktop/css/hue3-extra.css


+ 1 - 1
desktop/core/src/desktop/static/desktop/less/components/hue-query-builder.less

@@ -42,7 +42,7 @@
     cursor: default;
   }
   .column {
-    font-family: monospace;
+    font-family: @font-family-monospace;
   }
   .deleteRule {
     color: @cui-gray-700;

+ 1 - 1
desktop/core/src/desktop/static/desktop/less/hue-assist.less

@@ -648,7 +648,7 @@
 }
 
 .assist-function-signature {
-  font: 14px/normal 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;
+  font: 14px/normal @font-family-monospace;
   direction: ltr;
   line-height: 18px;
   margin-bottom: 10px;

+ 2 - 2
desktop/core/src/desktop/static/desktop/less/hue-autocomplete.less

@@ -99,7 +99,7 @@
   padding:3px;
   cursor: pointer;
   position: relative;
-  font: 12px/normal 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;direction: ltr;
+  font: 12px/normal @font-family-monospace;direction: ltr;
   line-height: 18px;
 }
 
@@ -182,5 +182,5 @@
   background-color: @cui-gray-050;
   padding:3px;
   color: @cui-gray-700;
-  font: 12px/normal 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;direction: ltr;
+  font: 12px/normal @font-family-monospace;direction: ltr;
 }

+ 4 - 0
desktop/core/src/desktop/static/desktop/less/hue-cross-version.less

@@ -531,3 +531,7 @@ ul.errorlist {
     font-size: 100px;
   }
 }
+
+.monospace {
+  font-family: @font-family-monospace;
+}

+ 2 - 1
desktop/core/src/desktop/static/desktop/less/hue-helpers.less

@@ -16,6 +16,7 @@
  limitations under the License.
 */
 @import (reference) "cui/colors.less";
+@import (reference) "cui/extra-variables.less";
 @import (reference) "hue-mixins.less";
 
 .vertical-align-top {
@@ -40,7 +41,7 @@ pre, .like-pre {
   line-height: 20px;
   background-color: @cui-gray-050;
   color: #444;
-  font-family: Monaco,Menlo,Consolas,"Courier New",monospace;
+  font-family: @font-family-monospace;
 }
 
 .blue {

+ 1 - 1
desktop/core/src/desktop/templates/sql_context_popover.mako

@@ -235,7 +235,7 @@ from metadata.conf import has_navigator
     <!-- ko if: typeof details !== 'undefined' -->
     <div class="sql-context-flex-fill" data-bind="with: details, niceScroll">
       <div style="padding: 8px">
-        <p style="margin: 10px 10px 18px 10px;"><span style="white-space: pre; font-family: monospace;" data-bind="text: signature"></span></p>
+        <p style="margin: 10px 10px 18px 10px;"><span style="white-space: pre;" class="monospace" data-bind="text: signature"></span></p>
         <p><span data-bind="text: description"></span></p>
       </div>
     </div>

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
desktop/libs/notebook/src/notebook/static/notebook/css/notebook.css


+ 1 - 1
desktop/libs/notebook/src/notebook/static/notebook/less/notebook.less

@@ -687,7 +687,7 @@
   .medium-editor-placeholder:after {
     padding-left: 5px;
     font-size: 13px !important;
-    font-family: 'Ubuntu Mono', Monaco, Consolas, monospace !important;
+    font-family: @font-family-monospace!important;
     color: #aaa !important;
     font-style: normal !important;
   }

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.