extract font size from themes

This commit is contained in:
Fabian Jakobs 2010-10-25 15:51:30 +02:00
commit 5a0906af9b
7 changed files with 3 additions and 24 deletions

View file

@ -1,6 +1,9 @@
.ace_editor { .ace_editor {
position: absolute; position: absolute;
overflow: hidden; overflow: hidden;
font-family: "Menlo", "Monaco", "Courier New", monospace;
font-size: 12px;
} }
.ace_scroller { .ace_scroller {

View file

@ -13,8 +13,6 @@ require.def("ace/theme/Dawn",
width: 50px;\ width: 50px;\
background: #e8e8e8;\ background: #e8e8e8;\
color: #333;\ color: #333;\
font-family: \"Menlo\", \"Monaco\", \"Courier New\", monospace;\
font-size: 11px;\
overflow : hidden;\ overflow : hidden;\
}\ }\
\ \
@ -39,8 +37,6 @@ require.def("ace/theme/Dawn",
.ace-dawn .ace_text-layer {\ .ace-dawn .ace_text-layer {\
cursor: text;\ cursor: text;\
color: #080808;\ color: #080808;\
font-family: \"Menlo\", \"Monaco\", \"Courier New\", \"Courier\", monospace;\
font-size: 11px;\
}\ }\
\ \
.ace-dawn .ace_cursor {\ .ace-dawn .ace_cursor {\

View file

@ -13,8 +13,6 @@ require.def("ace/theme/IdleFingers",
width: 50px;\ width: 50px;\
background: #e8e8e8;\ background: #e8e8e8;\
color: #333;\ color: #333;\
font-family: \"Menlo\", \"Monaco\", \"Courier New\", monospace;\
font-size: 11px;\
overflow : hidden;\ overflow : hidden;\
}\ }\
\ \
@ -39,8 +37,6 @@ require.def("ace/theme/IdleFingers",
.ace-idle-fingers .ace_text-layer {\ .ace-idle-fingers .ace_text-layer {\
cursor: text;\ cursor: text;\
color: #FFFFFF;\ color: #FFFFFF;\
font-family: \"Menlo\", \"Monaco\", \"Courier New\", \"Courier\", monospace;\
font-size: 11px;\
}\ }\
\ \
.ace-idle-fingers .ace_cursor {\ .ace-idle-fingers .ace_cursor {\

View file

@ -13,8 +13,6 @@ require.def("ace/theme/Twilight",
width: 50px;\ width: 50px;\
background: #e8e8e8;\ background: #e8e8e8;\
color: #333;\ color: #333;\
font-family: \"Menlo\", \"Monaco\", \"Courier New\", monospace;\
font-size: 11px;\
overflow : hidden;\ overflow : hidden;\
}\ }\
\ \
@ -39,8 +37,6 @@ require.def("ace/theme/Twilight",
.ace-twilight .ace_text-layer {\ .ace-twilight .ace_text-layer {\
cursor: text;\ cursor: text;\
color: #F8F8F8;\ color: #F8F8F8;\
font-family: \"Menlo\", \"Monaco\", \"Courier New\", \"Courier\", monospace;\
font-size: 11px;\
}\ }\
\ \
.ace-twilight .ace_cursor {\ .ace-twilight .ace_cursor {\

View file

@ -11,8 +11,6 @@
background: rgb(227, 227, 227); background: rgb(227, 227, 227);
border-right: 1px solid rgb(159, 159, 159); border-right: 1px solid rgb(159, 159, 159);
color: rgb(136, 136, 136); color: rgb(136, 136, 136);
font-family: Monaco, "Courier New";
font-size: 11px;
} }
.ace-eclipse .ace_gutter-layer { .ace-eclipse .ace_gutter-layer {
@ -21,8 +19,6 @@
} }
.ace-eclipse .ace_text-layer { .ace-eclipse .ace_text-layer {
font-family: Monaco, "Courier New", monospace;
font-size: 11px;
cursor: text; cursor: text;
} }

View file

@ -10,8 +10,6 @@
width: 50px; width: 50px;
background: #e8e8e8; background: #e8e8e8;
color: #333; color: #333;
font-family: "Menlo", "Monaco", "Courier New", monospace;
font-size: 11px;
overflow : hidden; overflow : hidden;
} }
@ -31,8 +29,6 @@
.ace-tm .ace_text-layer { .ace-tm .ace_text-layer {
cursor: text; cursor: text;
font-family: "Menlo", "Monaco", "Courier New", "Courier", monospace;
font-size: 11px;
} }
.ace-tm .ace_cursor { .ace-tm .ace_cursor {

View file

@ -10,8 +10,6 @@
width: 50px; width: 50px;
background: #e8e8e8; background: #e8e8e8;
color: #333; color: #333;
font-family: "Menlo", "Monaco", "Courier New", monospace;
font-size: 11px;
overflow : hidden; overflow : hidden;
} }
@ -36,8 +34,6 @@
.%cssClass% .ace_text-layer { .%cssClass% .ace_text-layer {
cursor: text; cursor: text;
color: %foreground%; color: %foreground%;
font-family: "Menlo", "Monaco", "Courier New", "Courier", monospace;
font-size: 11px;
} }
.%cssClass% .ace_cursor { .%cssClass% .ace_cursor {