remove remaining uses of .font-smoothing function

pull/477/head
nightwing 2018-01-05 17:46:20 +04:00
rodzic d3ef073fb5
commit daee8870f4
16 zmienionych plików z 21 dodań i 33 usunięć

Wyświetl plik

@ -204,14 +204,14 @@
background : @gutter-tooltip-background !important; background : @gutter-tooltip-background !important;
border : 1px solid @gutter-tooltip-border; border : 1px solid @gutter-tooltip-border;
color : @gutter-tooltip-color; color : @gutter-tooltip-color;
.font-smoothing(@gutter-tooltip-font-smoothing); font-smoothing: @gutter-tooltip-font-smoothing;
} }
.ace_dark .ace_tooltip, .ace_dark.ace_tooltip { .ace_dark .ace_tooltip, .ace_dark.ace_tooltip {
box-shadow : @gutter-tooltip-dark-shadow !important; box-shadow : @gutter-tooltip-dark-shadow !important;
background : @gutter-tooltip-dark-background !important; background : @gutter-tooltip-dark-background !important;
border : 1px solid @gutter-tooltip-dark-border; border : 1px solid @gutter-tooltip-dark-border;
color : @gutter-tooltip-dark-color; color : @gutter-tooltip-dark-color;
.font-smoothing(@gutter-tooltip-dark-font-smoothing); font-smoothing: @gutter-tooltip-dark-font-smoothing;
} }
.ace_progress { .ace_progress {

Wyświetl plik

@ -95,7 +95,7 @@
} }
.chatContainer .searchbox .sbtb_middle .input{ .chatContainer .searchbox .sbtb_middle .input{
color: @collab-chat-input-color; color: @collab-chat-input-color;
.font-smoothing(@collab-chat-input-font-smoothing); font-smoothing: @collab-chat-input-font-smoothing;
} }
.chatContainer .ace-tm .ace_marker-layer .ace_selection { .chatContainer .ace-tm .ace_marker-layer .ace_selection {
background: @collab-chat-input-selection-color; background: @collab-chat-input-selection-color;

Wyświetl plik

@ -6,7 +6,7 @@
z-index: 10000000; z-index: 10000000;
/*text-align: center;*/ /*text-align: center;*/
pointer-events: none; pointer-events: none;
.font-smoothing(@error-font-smoothing); font-smoothing: @error-font-smoothing;
} }
.errorlabel.anim, .disconnectlabel.anim{ .errorlabel.anim, .disconnectlabel.anim{
transition: top 0.2s; transition: top 0.2s;

Wyświetl plik

@ -35,7 +35,7 @@
.immediate .treeitem{ .immediate .treeitem{
display : inline-block; display : inline-block;
padding-left : 10px; padding-left : 10px;
.font-smoothing(@immediate-font-smoothing); font-smoothing: @immediate-font-smoothing;
position : relative; position : relative;
white-space: nowrap; white-space: nowrap;
} }
@ -169,7 +169,7 @@
color : @immediate-dark-property; color : @immediate-dark-property;
} }
.immediate .ace_dark .treeitem{ .immediate .ace_dark .treeitem{
.font-smoothing(@immediate-dark-font-smoothing); font-smoothing: @immediate-dark-font-smoothing;
} }
.immediate .ace_dark .treeitem .arrow{ .immediate .ace_dark .treeitem .arrow{
.image-2x("@{immediate-dark-tree-arrow}", 20px, 10px); .image-2x("@{immediate-dark-tree-arrow}", 20px, 10px);

Wyświetl plik

@ -39,7 +39,7 @@
.execute{ .execute{
background : @installer-background; background : @installer-background;
.font-smoothing(@installer-font-smoothing); font-smoothing: @installer-font-smoothing;
/*height : 250px;*/ /*height : 250px;*/
/*position : relative;*/ /*position : relative;*/
border-top: @installer-border-top; border-top: @installer-border-top;

Wyświetl plik

@ -12,7 +12,7 @@
text-align : center; text-align : center;
cursor : @button-black-cursor; cursor : @button-black-cursor;
font-weight: @button-black-font-weight; font-weight: @button-black-font-weight;
.font-smoothing(@button-black-font-smoothing); font-smoothing: @button-black-font-smoothing;
} }
.blackbuttonDisabled{ .blackbuttonDisabled{
color: @button-black-disabled-color; color: @button-black-disabled-color;

Wyświetl plik

@ -14,7 +14,7 @@
position: relative; position: relative;
cursor: @button-cursor; cursor: @button-cursor;
.font-smoothing(@button-font-smoothing); font-smoothing: @button-font-smoothing;
} }
.win-deploy-target .btn-default-css3, .win-deploy-target .btn-default-css3,

Wyświetl plik

@ -5,18 +5,6 @@
// Petr Brzek & Jan Kuca // Petr Brzek & Jan Kuca
.font-smoothing(@state){
.font-smoothing(@state) when (@state = true) {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.font-smoothing(@state) when (@state = false) {
-webkit-font-smoothing: auto;
-moz-osx-font-smoothing: auto;
}
.font-smoothing(@state);
}
.image-2x(@image; @width; @height; @repeat: no-repeat; @important: false) { .image-2x(@image; @width; @height; @repeat: no-repeat; @important: false) {
@filename : ~`/(.*)\.(jpg|jpeg|png|gif)|$/.exec(@{image})[1] || ""`; @filename : ~`/(.*)\.(jpg|jpeg|png|gif)|$/.exec(@{image})[1] || ""`;
@extension : ~`/(.*)\.(jpg|jpeg|png|gif)|$/.exec(@{image})[2] || ""`; @extension : ~`/(.*)\.(jpg|jpeg|png|gif)|$/.exec(@{image})[2] || ""`;

Wyświetl plik

@ -14,7 +14,7 @@ BODY {
top : 0; top : 0;
right : 0; right : 0;
bottom : 0; bottom : 0;
.font-smoothing(@general-smoothing); font-smoothing: @general-smoothing;
} }
BODY.noInput *{ BODY.noInput *{
@ -22,7 +22,7 @@ BODY.noInput *{
} }
.ace_editor .ace_gutter{ .ace_editor .ace_gutter{
.font-smoothing(@ace-gutter-font-smoothing); font-smoothing: @ace-gutter-font-smoothing;
} }
.disableIframe iframe{ .disableIframe iframe{

Wyświetl plik

@ -52,7 +52,7 @@
padding: @preferences-nav-main-padding; padding: @preferences-nav-main-padding;
/* font-weight: normal; */ /* font-weight: normal; */
position: relative; position: relative;
.font-smoothing(@preferences-nav-main-font-smoothing); font-smoothing: @preferences-nav-main-font-smoothing;
} }
.bar-preferences .navigation .level1 > a:after { .bar-preferences .navigation .level1 > a:after {
.image-2x("@{tree-arrow}", 20px, 10px); .image-2x("@{tree-arrow}", 20px, 10px);
@ -173,7 +173,7 @@
color : @preferences-form-label-color; color : @preferences-form-label-color;
font-size : 12px; font-size : 12px;
text-overflow : ellipsis; text-overflow : ellipsis;
.font-smoothing(@preferences-form-label-font-smoothing); font-smoothing: @preferences-form-label-font-smoothing;
} }
.bar-preferences .blackbutton{ .bar-preferences .blackbutton{
min-height: @preferences-button-height; min-height: @preferences-button-height;
@ -269,7 +269,7 @@
} }
.bar-preferences .blackdg .tree-headings { .bar-preferences .blackdg .tree-headings {
background: @preferences-datagrid-header-background; background: @preferences-datagrid-header-background;
.font-smoothing(@preferences-datagrid-font-smoothing); font-smoothing: @preferences-datagrid-font-smoothing;
font-weight: @preferences-datagrid-header-font-weight; font-weight: @preferences-datagrid-header-font-weight;
border-bottom: @preferences-datagrid-header-border-bottom; border-bottom: @preferences-datagrid-header-border-bottom;
} }
@ -288,7 +288,7 @@
height: @preferences-datagrid-row-height; height: @preferences-datagrid-row-height;
} }
.bar-preferences .blackdg .tree-row.selected{ .bar-preferences .blackdg .tree-row.selected{
.font-smoothing(@preferences-datagrid-font-smoothing); font-smoothing: @preferences-datagrid-font-smoothing;
} }
.bar-preferences .blackdg .tree-row > .tree-column{ .bar-preferences .blackdg .tree-row > .tree-column{
padding: @preferences-datagrid-cell-padding; padding: @preferences-datagrid-cell-padding;

Wyświetl plik

@ -36,7 +36,7 @@
z-index: 100000; z-index: 100000;
left: 0; left: 0;
top: 0; top: 0;
.font-smoothing(~"antialiased !important"); font-smoothing: true !important;
background: white url("@{image-path}/loadingbgrepeat.png"); background: white url("@{image-path}/loadingbgrepeat.png");
background-size: 1px 8px; background-size: 1px 8px;
} }

Wyświetl plik

@ -35,7 +35,7 @@
} }
.blackdg .newwatch{ .blackdg .newwatch{
color : @datagrid-watch-new; color : @datagrid-watch-new;
.font-smoothing(@datagrid-watch-new-font-smoothing); font-smoothing: @datagrid-watch-new-font-smoothing;
} }
.blackdg.ace_tree_focus .newwatch.selected{ .blackdg.ace_tree_focus .newwatch.selected{
color : @datagrid-watch-new-focus !important; color : @datagrid-watch-new-focus !important;

Wyświetl plik

@ -33,7 +33,7 @@
color: @output-textbox-color; color: @output-textbox-color;
margin-top: @output-textbox-margin-top; margin-top: @output-textbox-margin-top;
padding: @output-textbox-padding; padding: @output-textbox-padding;
.font-smoothing(@output-font-smoothing); font-smoothing: @output-font-smoothing;
height: 17px; height: 17px;
font-family: @general-font-family; font-family: @general-font-family;
font-size: @general-font-size; font-size: @general-font-size;

Wyświetl plik

@ -2,7 +2,7 @@
background: transparent; background: transparent;
border: none; border: none;
font: 11px Tahoma, Arial; font: 11px Tahoma, Arial;
.font-smoothing(@tree-font-smoothing) font-smoothing: @tree-font-smoothing
} }
.filetree .tree-row { .filetree .tree-row {

Wyświetl plik

@ -2,7 +2,7 @@
background: transparent; background: transparent;
border: none; border: none;
// font: @general-font-size @general-font-family; // font: @general-font-size @general-font-family;
.font-smoothing(@tree-font-smoothing) font-smoothing: @tree-font-smoothing
} }
.custom-tree.ace_tree .tree-row { .custom-tree.ace_tree .tree-row {

Wyświetl plik

@ -7,7 +7,7 @@
bottom: 0; bottom: 0;
overflow: auto; overflow: auto;
display: flex; display: flex;
.font-smoothing(@welcome-font-smoothing); font-smoothing: @welcome-font-smoothing;
background-attachment: local; background-attachment: local;
color: @welcome-color; color: @welcome-color;
} }