@@ -1792,7 +1792,6 @@ qx.Theme.define("osparc.theme.osparcdark.Appearance", {
1792
1792
backgroundColor : states . active ? "light-background" : "background-disabled" ,
1793
1793
margin : 0 ,
1794
1794
padding : 8 ,
1795
- font : "bold" ,
1796
1795
decorator : "window-caption"
1797
1796
} ;
1798
1797
}
@@ -1801,7 +1800,7 @@ qx.Theme.define("osparc.theme.osparcdark.Appearance", {
1801
1800
"window/icon" :
1802
1801
{
1803
1802
style : function ( states ) {
1804
- return { marginRight : 4 } ;
1803
+ return { marginRight : 4 , marginTop : 2 } ;
1805
1804
}
1806
1805
} ,
1807
1806
@@ -1810,7 +1809,7 @@ qx.Theme.define("osparc.theme.osparcdark.Appearance", {
1810
1809
style : function ( states ) {
1811
1810
return {
1812
1811
cursor : "default" ,
1813
- font : "bold" ,
1812
+ font : states . active ? "bold" : "default ",
1814
1813
marginRight : 20 ,
1815
1814
alignY : "middle"
1816
1815
} ;
@@ -1823,7 +1822,7 @@ qx.Theme.define("osparc.theme.osparcdark.Appearance", {
1823
1822
1824
1823
style : function ( states ) {
1825
1824
return {
1826
- icon : osparc . theme . osparcdark . Image . URLS [ "window-minimize" ] ,
1825
+ icon : osparc . theme . osparcdark . Image . URLS [ "window-minimize" ] + "/18" ,
1827
1826
padding : 0 ,
1828
1827
cursor : states . disabled ? undefined : "pointer"
1829
1828
} ;
@@ -1836,7 +1835,7 @@ qx.Theme.define("osparc.theme.osparcdark.Appearance", {
1836
1835
1837
1836
style : function ( states ) {
1838
1837
return {
1839
- icon : osparc . theme . osparcdark . Image . URLS [ "window-restore" ] ,
1838
+ icon : osparc . theme . osparcdark . Image . URLS [ "window-restore" ] + "/18" ,
1840
1839
padding : 0 ,
1841
1840
cursor : states . disabled ? undefined : "pointer"
1842
1841
} ;
@@ -1849,7 +1848,7 @@ qx.Theme.define("osparc.theme.osparcdark.Appearance", {
1849
1848
1850
1849
style : function ( states ) {
1851
1850
return {
1852
- icon : osparc . theme . osparcdark . Image . URLS [ "window-maximize" ] ,
1851
+ icon : osparc . theme . osparcdark . Image . URLS [ "window-maximize" ] + "/18" ,
1853
1852
padding : 0 ,
1854
1853
cursor : states . disabled ? undefined : "pointer"
1855
1854
} ;
@@ -1862,7 +1861,7 @@ qx.Theme.define("osparc.theme.osparcdark.Appearance", {
1862
1861
1863
1862
style : function ( states ) {
1864
1863
return {
1865
- icon : osparc . theme . osparcdark . Image . URLS [ "window-close" ] ,
1864
+ icon : osparc . theme . osparcdark . Image . URLS [ "window-close" ] + "/18" ,
1866
1865
padding : 0 ,
1867
1866
cursor : states . disabled ? undefined : "pointer"
1868
1867
} ;
@@ -1881,8 +1880,81 @@ qx.Theme.define("osparc.theme.osparcdark.Appearance", {
1881
1880
1882
1881
"window/statusbar-text" : "label" ,
1883
1882
1883
+ /*
1884
+ ---------------------------------------------------------------------------
1885
+ WINDOW-SMALL-CAP CHOOSER
1886
+ ---------------------------------------------------------------------------
1887
+ */
1888
+ "window-small-cap" :
1889
+ {
1890
+ include : "window" , // get all the settings from window
1891
+ alias : "window" // redirect kids to window/kid
1892
+ } ,
1893
+ "window-small-cap/captionbar" :
1894
+ {
1895
+ include : "window/captionbar" , // load defaults from window captionbar
1896
+ alias : "window/captionbar" , // redirect kids
1897
+ style : function ( states ) {
1898
+ return {
1899
+ padding : 1
1900
+ } ;
1901
+ }
1902
+ } ,
1903
+ "window-small-cap/title" :
1904
+ {
1905
+ include : "window/title" ,
1906
+ style : function ( states ) {
1907
+ return {
1908
+ font : "small"
1909
+ } ;
1910
+ }
1911
+ } ,
1912
+ "window-small-cap/minimize-button" :
1913
+ {
1914
+ alias : "window/minimize-button" ,
1915
+ include : "window/minimize-button" ,
1916
+
1917
+ style : function ( states ) {
1918
+ return {
1919
+ icon : osparc . theme . osparcdark . Image . URLS [ "window-minimize" ] + "/14"
1920
+ } ;
1921
+ }
1922
+ } ,
1923
+
1924
+ "window-small-cap/restore-button" :
1925
+ {
1926
+ alias : "window/restore-button" ,
1927
+ include : "window/restore-button" ,
1928
+
1929
+ style : function ( states ) {
1930
+ return {
1931
+ icon : osparc . theme . osparcdark . Image . URLS [ "window-restore" ] + "/14" ,
1932
+ } ;
1933
+ }
1934
+ } ,
1884
1935
1936
+ "window-small-cap/maximize-button" :
1937
+ {
1938
+ alias : "window/maximize-button" ,
1939
+ include : "window/maximize-button" ,
1885
1940
1941
+ style : function ( states ) {
1942
+ return {
1943
+ icon : osparc . theme . osparcdark . Image . URLS [ "window-maximize" ] + "/14" ,
1944
+ } ;
1945
+ }
1946
+ } ,
1947
+
1948
+ "window-small-cap/close-button" :
1949
+ {
1950
+ alias : "window/close-button" ,
1951
+ include : "window/close-button" ,
1952
+ style : function ( states ) {
1953
+ return {
1954
+ icon : osparc . theme . osparcdark . Image . URLS [ "window-close" ] + "/14" ,
1955
+ } ;
1956
+ }
1957
+ } ,
1886
1958
/*
1887
1959
---------------------------------------------------------------------------
1888
1960
DATE CHOOSER
0 commit comments