/* { "translate": true, "groups":[ { "name": "UTR.LESS.GLOBAL_COLORS", "common": true, "sequence": 1 }, { "name": "UTR.LESS.CONTAINERS", "common": true, "sequence": 2 }, { "name": "UTR.LESS.NAVIGATION", "common": true, "sequence": 3 }, { "name": "UTR.LESS.REGIONS", "common": true, "sequence": 4 }, { "name": "UTR.LESS.BUTTONS", "common": false, "sequence": 5 }, { "name": "UTR.LESS.FORMS", "common": false, "sequence": 6 }, { "name": "UTR.LESS.STATES", "common": false, "sequence": 7 }, { "name": "UTR.LESS.PALETTE", "common": false, "sequence": 8 }, { "name": "UTR.LESS.INTERACTIVE_REPORTS", "common": false, "sequence": 9 }, { "name": "UTR.LESS.LAYOUT", "common": false, "sequence": 10 } ] } */ /* { "var" : "@g_Accent-BG", "name" : "UTR.LESS.HEADER_ACCENT", "type" : "color", "style": "big", "group": "UTR.LESS.GLOBAL_COLORS" } */ @g_Accent-BG: #0572CE; /* { "var" : "@g_Accent-OG", "name" : "UTR.LESS.BODY_ACCENT", "style": "big", "type" : "color", "group": "UTR.LESS.GLOBAL_COLORS" } */ // @g_Accent-OGX: contrast(@g_Accent-BG, darken(@g_Accent-BG, 55%), lighten(@g_Accent-BG, 55%), 43%); // @g_Accent-OG: desaturate(@g_Accent-OGX,49%); @g_Accent-OG: #FDFDFD; @g_Accent-FG: contrast(@g_Accent-BG, darken(@g_Accent-BG, 75%), lighten(@g_Accent-BG, 75%), 43%); /* { "var" : "@g_Body-BG", "name" : "UTR.LESS.BACKGROUND", "type" : "color", "group": "UTR.LESS.CONTAINERS", "subgroup": "UTR.LESS.BODY" } */ @g_Body-BG: @g_Accent-OG; /* { "var" : "@g_Body-Text", "name" : "UTR.LESS.TEXT", "type" : "color", "group": "UTR.LESS.CONTAINERS", "subgroup": "UTR.LESS.BODY" } */ @g_Body-Text: fade(contrast(@g_Body-BG, desaturate(darken(@g_Body-BG, 75%), 100%), desaturate(lighten(@g_Body-BG, 75%), 50%)), 100%); /* { "var" : "@g_Actions-Col-BG", "name" : "UTR.LESS.BACKGROUND", "type" : "color", "group": "UTR.LESS.CONTAINERS", "subgroup": "UTR.LESS.ACTIONS_COLUMN" } */ @g_Actions-Col-BG: contrast(@g_Accent-OG, darken(@g_Accent-OG, 1.5%), lighten(@g_Accent-OG, 1.5%), 43%); /* { "var" : "@g_Actions-Col-Text", "name" : "UTR.LESS.TEXT", "type" : "color", "group": "UTR.LESS.CONTAINERS", "subgroup": "UTR.LESS.ACTIONS_COLUMN" } */ @g_Actions-Col-Text: fade(contrast(@g_Actions-Col-BG, desaturate(darken(@g_Actions-Col-BG, 75%), 100%), desaturate(lighten(@g_Actions-Col-BG, 75%), 50%)), 100%); /* { "var" : "@g_Body-Title-BG", "name" : "UTR.LESS.BACKGROUND", "type" : "color", "group": "UTR.LESS.CONTAINERS", "subgroup": "UTR.LESS.TITLE_BAR" } */ @g_Body-Title-BG: lighten(@g_Accent-OG, 3%); /* { "var" : "@g_Body-Title-FG", "name" : "UTR.LESS.TEXT", "type" : "color", "group": "UTR.LESS.CONTAINERS", "subgroup": "UTR.LESS.TITLE_BAR" } */ @g_Body-Title-FG: fade(contrast(@g_Body-Title-BG, desaturate(darken(@g_Body-Title-BG, 75%), 100%), desaturate(lighten(@g_Body-Title-BG, 75%), 50%)), 100%); /* { "var" : "@g_Container-BorderRadius", "name" : "UTR.LESS.CONTAINER_BORDER_RADIUS", "type" : "number", "units": "px", "range": { "min": 0, "max": 30, "increment": 2 }, "group": "UTR.LESS.CONTAINERS" } */ @g_Container-BorderRadius: 2px; /* { "var" : "@g_Color-Palette-1", "name" : "UTR.LESS.BACKGROUND", "type" : "color", "group": "UTR.LESS.PALETTE", "subgroup": "UTR.LESS.COLOR_1" } */ /* { "var" : "@g_Color-Palette-1-FG", "name" : "UTR.LESS.FOREGROUND", "type" : "color", "group": "UTR.LESS.PALETTE", "subgroup": "UTR.LESS.COLOR_1" } */ /* { "var" : "@g_Color-Palette-2", "name" : "UTR.LESS.BACKGROUND", "type" : "color", "group": "UTR.LESS.PALETTE", "subgroup" : "UTR.LESS.COLOR_2" } */ /* { "var" : "@g_Color-Palette-2-FG", "name" : "UTR.LESS.FOREGROUND", "type" : "color", "group": "UTR.LESS.PALETTE", "subgroup" : "UTR.LESS.COLOR_2" } */ /* { "var" : "@g_Color-Palette-3", "name" : "UTR.LESS.COLOR_3", "type" : "color", "group": "UTR.LESS.PALETTE", "subgroup" : "UTR.LESS.COLOR_3" } */ /* { "var" : "@g_Color-Palette-3-FG", "name" : "UTR.LESS.FOREGROUND", "type" : "color", "group": "UTR.LESS.PALETTE", "subgroup" : "UTR.LESS.COLOR_3" } */ /* { "var" : "@g_Color-Palette-4", "name" : "UTR.LESS.BACKGROUND", "type" : "color", "group": "UTR.LESS.PALETTE", "subgroup": "UTR.LESS.COLOR_4" } */ /* { "var" : "@g_Color-Palette-4-FG", "name" : "UTR.LESS.FOREGROUND", "type" : "color", "group": "UTR.LESS.PALETTE", "subgroup": "UTR.LESS.COLOR_4" } */ /* { "var" : "@g_Color-Palette-5", "name" : "UTR.LESS.BACKGROUND", "type" : "color", "group": "UTR.LESS.PALETTE", "subgroup": "UTR.LESS.COLOR_5" } */ /* { "var" : "@g_Color-Palette-5-FG", "name" : "UTR.LESS.FOREGROUND", "type" : "color", "group": "UTR.LESS.PALETTE", "subgroup": "UTR.LESS.COLOR_5" } */ /* { "var" : "@g_Color-Palette-6", "name" : "UTR.LESS.BACKGROUND", "type" : "color", "group": "UTR.LESS.PALETTE", "subgroup": "UTR.LESS.COLOR_6" } */ /* { "var" : "@g_Color-Palette-6-FG", "name" : "UTR.LESS.FOREGROUND", "type" : "color", "group": "UTR.LESS.PALETTE", "subgroup": "UTR.LESS.COLOR_6" } */ /* { "var" : "@g_Color-Palette-7", "name" : "UTR.LESS.BACKGROUND", "type" : "color", "group": "UTR.LESS.PALETTE", "subgroup": "UTR.LESS.COLOR_7" } */ /* { "var" : "@g_Color-Palette-7-FG", "name" : "UTR.LESS.FOREGROUND", "type" : "color", "group": "UTR.LESS.PALETTE", "subgroup": "UTR.LESS.COLOR_7" } */ /* { "var" : "@g_Color-Palette-8", "name" : "UTR.LESS.BACKGROUND", "type" : "color", "group": "UTR.LESS.PALETTE", "subgroup": "UTR.LESS.COLOR_8" } */ /* { "var" : "@g_Color-Palette-8-FG", "name" : "UTR.LESS.FOREGROUND", "type" : "color", "group": "UTR.LESS.PALETTE", "subgroup": "UTR.LESS.COLOR_8" } */ /* { "var" : "@g_Color-Palette-9", "name" : "UTR.LESS.COLOR_9", "type" : "color", "group": "UTR.LESS.PALETTE", "subgroup": "UTR.LESS.COLOR_9" } */ /* { "var" : "@g_Color-Palette-9-FG", "name" : "UTR.LESS.FOREGROUND", "type" : "color", "group": "UTR.LESS.PALETTE", "subgroup": "UTR.LESS.COLOR_9" } */ /* { "var" : "@g_Color-Palette-10", "name" : "UTR.LESS.BACKGROUND", "type" : "color", "group": "UTR.LESS.PALETTE", "subgroup": "UTR.LESS.COLOR_10" } */ /* { "var" : "@g_Color-Palette-10-FG", "name" : "UTR.LESS.FOREGROUND", "type" : "color", "group": "UTR.LESS.PALETTE", "subgroup": "UTR.LESS.COLOR_10" } */ /* { "var" : "@g_Color-Palette-11", "name" : "UTR.LESS.BACKGROUND", "type" : "color", "group": "UTR.LESS.PALETTE", "subgroup": "UTR.LESS.COLOR_11" } */ /* { "var" : "@g_Color-Palette-11-FG", "name" : "UTR.LESS.FOREGROUND", "type" : "color", "group": "UTR.LESS.PALETTE", "subgroup": "UTR.LESS.COLOR_11" } */ /* { "var" : "@g_Color-Palette-12", "name" : "UTR.LESS.BACKGROUND", "type" : "color", "group": "UTR.LESS.PALETTE", "subgroup": "UTR.LESS.COLOR_12" } */ /* { "var" : "@g_Color-Palette-12-FG", "name" : "UTR.LESS.FOREGROUND", "type" : "color", "group": "UTR.LESS.PALETTE", "subgroup": "UTR.LESS.COLOR_12" } */ /* { "var" : "@g_Color-Palette-13", "name" : "UTR.LESS.BACKGROUND", "type" : "color", "group": "UTR.LESS.PALETTE", "subgroup": "UTR.LESS.COLOR_13" } */ /* { "var" : "@g_Color-Palette-13-FG", "name" : "UTR.LESS.FOREGROUND", "type" : "color", "group": "UTR.LESS.PALETTE", "subgroup": "UTR.LESS.COLOR_13" } */ /* { "var" : "@g_Color-Palette-14", "name" : "UTR.LESS.BACKGROUND", "type" : "color", "group": "UTR.LESS.PALETTE", "subgroup": "UTR.LESS.COLOR_14" } */ /* { "var" : "@g_Color-Palette-14-FG", "name" : "UTR.LESS.FOREGROUND", "type" : "color", "group": "UTR.LESS.PALETTE", "subgroup": "UTR.LESS.COLOR_14" } */ /* { "var" : "@g_Color-Palette-15", "name" : "UTR.LESS.BACKGROUND", "type" : "color", "group": "UTR.LESS.PALETTE", "subgroup": "UTR.LESS.COLOR_15" } */ /* { "var" : "@g_Color-Palette-15-FG", "name" : "UTR.LESS.FOREGROUND", "type" : "color", "group": "UTR.LESS.PALETTE", "subgroup": "UTR.LESS.COLOR_15" } */ @g_Color-Palette-1 : #309FDB; @g_Color-Palette-2 : #13B6CF; @g_Color-Palette-3 : #2EBFBC; @g_Color-Palette-4 : #3CAF85; @g_Color-Palette-5 : #81BB5F; @g_Color-Palette-6 : #DDDE53; @g_Color-Palette-7 : #FBCE4A; @g_Color-Palette-8 : #ED813E; @g_Color-Palette-9 : #E95B54; @g_Color-Palette-10: #E85D88; @g_Color-Palette-11: #CA589D; @g_Color-Palette-12: #854E9B; @g_Color-Palette-13: #5A68AD; @g_Color-Palette-14: #AFBAC5; @g_Color-Palette-15: #6E8598; @g_Color-Palette-16: mix(#FFF,@g_Color-Palette-1 ,20%); @g_Color-Palette-17: mix(#FFF,@g_Color-Palette-2 ,20%); @g_Color-Palette-18: mix(#FFF,@g_Color-Palette-3 ,20%); @g_Color-Palette-19: mix(#FFF,@g_Color-Palette-4 ,20%); @g_Color-Palette-20: mix(#FFF,@g_Color-Palette-5 ,20%); @g_Color-Palette-21: mix(#FFF,@g_Color-Palette-6 ,20%); @g_Color-Palette-22: mix(#FFF,@g_Color-Palette-7 ,20%); @g_Color-Palette-23: mix(#FFF,@g_Color-Palette-8 ,20%); @g_Color-Palette-24: mix(#FFF,@g_Color-Palette-9 ,20%); @g_Color-Palette-25: mix(#FFF,@g_Color-Palette-10,20%); @g_Color-Palette-26: mix(#FFF,@g_Color-Palette-11,20%); @g_Color-Palette-27: mix(#FFF,@g_Color-Palette-12,20%); @g_Color-Palette-28: mix(#FFF,@g_Color-Palette-13,20%); @g_Color-Palette-29: mix(#FFF,@g_Color-Palette-14,20%); @g_Color-Palette-30: mix(#FFF,@g_Color-Palette-15,20%); @g_Color-Palette-31: saturate(@g_Color-Palette-1 ,15%); @g_Color-Palette-32: saturate(@g_Color-Palette-2 ,15%); @g_Color-Palette-33: saturate(@g_Color-Palette-3 ,15%); @g_Color-Palette-34: saturate(@g_Color-Palette-4 ,15%); @g_Color-Palette-35: saturate(@g_Color-Palette-5 ,15%); @g_Color-Palette-36: saturate(@g_Color-Palette-6 ,15%); @g_Color-Palette-37: saturate(@g_Color-Palette-7 ,15%); @g_Color-Palette-38: saturate(@g_Color-Palette-8 ,15%); @g_Color-Palette-39: saturate(@g_Color-Palette-9 ,15%); @g_Color-Palette-40: saturate(@g_Color-Palette-10,15%); @g_Color-Palette-41: saturate(@g_Color-Palette-11,15%); @g_Color-Palette-42: saturate(@g_Color-Palette-12,15%); @g_Color-Palette-43: saturate(@g_Color-Palette-13,15%); @g_Color-Palette-44: saturate(@g_Color-Palette-14,15%); @g_Color-Palette-45: saturate(@g_Color-Palette-15,15%); @g_Color-Palette-1-FG: fade(contrast(@g_Color-Palette-1, darken(@g_Color-Palette-1, 50%), lighten(@g_Color-Palette-1, 50%)), 100%); @g_Color-Palette-2-FG: fade(contrast(@g_Color-Palette-2, darken(@g_Color-Palette-2, 50%), lighten(@g_Color-Palette-2, 50%)), 100%); @g_Color-Palette-3-FG: fade(contrast(@g_Color-Palette-3, darken(@g_Color-Palette-3, 50%), lighten(@g_Color-Palette-3, 50%)), 100%); @g_Color-Palette-4-FG: fade(contrast(@g_Color-Palette-4, darken(@g_Color-Palette-4, 50%), lighten(@g_Color-Palette-4, 50%)), 100%); @g_Color-Palette-5-FG: fade(contrast(@g_Color-Palette-5, darken(@g_Color-Palette-5, 50%), lighten(@g_Color-Palette-5, 50%)), 100%); @g_Color-Palette-6-FG: fade(contrast(@g_Color-Palette-6, darken(@g_Color-Palette-6, 50%), lighten(@g_Color-Palette-6, 50%)), 100%); @g_Color-Palette-7-FG: fade(contrast(@g_Color-Palette-7, darken(@g_Color-Palette-7, 50%), lighten(@g_Color-Palette-7, 50%)), 100%); @g_Color-Palette-8-FG: fade(contrast(@g_Color-Palette-8, darken(@g_Color-Palette-8, 50%), lighten(@g_Color-Palette-8, 50%)), 100%); @g_Color-Palette-9-FG: fade(contrast(@g_Color-Palette-9, darken(@g_Color-Palette-9, 50%), lighten(@g_Color-Palette-9, 50%)), 100%); @g_Color-Palette-10-FG: fade(contrast(@g_Color-Palette-10, darken(@g_Color-Palette-10, 50%), lighten(@g_Color-Palette-10, 50%)), 100%); @g_Color-Palette-11-FG: fade(contrast(@g_Color-Palette-11, darken(@g_Color-Palette-11, 50%), lighten(@g_Color-Palette-11, 50%)), 100%); @g_Color-Palette-12-FG: fade(contrast(@g_Color-Palette-12, darken(@g_Color-Palette-12, 50%), lighten(@g_Color-Palette-12, 50%)), 100%); @g_Color-Palette-13-FG: fade(contrast(@g_Color-Palette-13, darken(@g_Color-Palette-13, 50%), lighten(@g_Color-Palette-13, 50%)), 100%); @g_Color-Palette-14-FG: fade(contrast(@g_Color-Palette-14, darken(@g_Color-Palette-14, 50%), lighten(@g_Color-Palette-14, 50%)), 100%); @g_Color-Palette-15-FG: fade(contrast(@g_Color-Palette-15, darken(@g_Color-Palette-15, 50%), lighten(@g_Color-Palette-15, 50%)), 100%); @g_Color-Palette-16-FG: fade(contrast(@g_Color-Palette-16, darken(@g_Color-Palette-16, 50%), lighten(@g_Color-Palette-16, 50%)), 100%); @g_Color-Palette-17-FG: fade(contrast(@g_Color-Palette-17, darken(@g_Color-Palette-17, 50%), lighten(@g_Color-Palette-17, 50%)), 100%); @g_Color-Palette-18-FG: fade(contrast(@g_Color-Palette-18, darken(@g_Color-Palette-18, 50%), lighten(@g_Color-Palette-18, 50%)), 100%); @g_Color-Palette-19-FG: fade(contrast(@g_Color-Palette-19, darken(@g_Color-Palette-19, 50%), lighten(@g_Color-Palette-19, 50%)), 100%); @g_Color-Palette-20-FG: fade(contrast(@g_Color-Palette-20, darken(@g_Color-Palette-20, 50%), lighten(@g_Color-Palette-20, 50%)), 100%); @g_Color-Palette-21-FG: fade(contrast(@g_Color-Palette-21, darken(@g_Color-Palette-21, 50%), lighten(@g_Color-Palette-21, 50%)), 100%); @g_Color-Palette-22-FG: fade(contrast(@g_Color-Palette-22, darken(@g_Color-Palette-22, 50%), lighten(@g_Color-Palette-22, 50%)), 100%); @g_Color-Palette-23-FG: fade(contrast(@g_Color-Palette-23, darken(@g_Color-Palette-23, 50%), lighten(@g_Color-Palette-23, 50%)), 100%); @g_Color-Palette-24-FG: fade(contrast(@g_Color-Palette-24, darken(@g_Color-Palette-24, 50%), lighten(@g_Color-Palette-24, 50%)), 100%); @g_Color-Palette-25-FG: fade(contrast(@g_Color-Palette-25, darken(@g_Color-Palette-25, 50%), lighten(@g_Color-Palette-25, 50%)), 100%); @g_Color-Palette-26-FG: fade(contrast(@g_Color-Palette-26, darken(@g_Color-Palette-26, 50%), lighten(@g_Color-Palette-26, 50%)), 100%); @g_Color-Palette-27-FG: fade(contrast(@g_Color-Palette-27, darken(@g_Color-Palette-27, 50%), lighten(@g_Color-Palette-27, 50%)), 100%); @g_Color-Palette-28-FG: fade(contrast(@g_Color-Palette-28, darken(@g_Color-Palette-28, 50%), lighten(@g_Color-Palette-28, 50%)), 100%); @g_Color-Palette-29-FG: fade(contrast(@g_Color-Palette-29, darken(@g_Color-Palette-29, 50%), lighten(@g_Color-Palette-29, 50%)), 100%); @g_Color-Palette-30-FG: fade(contrast(@g_Color-Palette-30, darken(@g_Color-Palette-30, 50%), lighten(@g_Color-Palette-30, 50%)), 100%); @g_Color-Palette-31-FG: fade(contrast(@g_Color-Palette-31, darken(@g_Color-Palette-31, 50%), lighten(@g_Color-Palette-31, 50%)), 100%); @g_Color-Palette-32-FG: fade(contrast(@g_Color-Palette-32, darken(@g_Color-Palette-32, 50%), lighten(@g_Color-Palette-32, 50%)), 100%); @g_Color-Palette-33-FG: fade(contrast(@g_Color-Palette-33, darken(@g_Color-Palette-33, 50%), lighten(@g_Color-Palette-33, 50%)), 100%); @g_Color-Palette-34-FG: fade(contrast(@g_Color-Palette-34, darken(@g_Color-Palette-34, 50%), lighten(@g_Color-Palette-34, 50%)), 100%); @g_Color-Palette-35-FG: fade(contrast(@g_Color-Palette-35, darken(@g_Color-Palette-35, 50%), lighten(@g_Color-Palette-35, 50%)), 100%); @g_Color-Palette-36-FG: fade(contrast(@g_Color-Palette-36, darken(@g_Color-Palette-36, 50%), lighten(@g_Color-Palette-36, 50%)), 100%); @g_Color-Palette-37-FG: fade(contrast(@g_Color-Palette-37, darken(@g_Color-Palette-37, 50%), lighten(@g_Color-Palette-37, 50%)), 100%); @g_Color-Palette-38-FG: fade(contrast(@g_Color-Palette-38, darken(@g_Color-Palette-38, 50%), lighten(@g_Color-Palette-38, 50%)), 100%); @g_Color-Palette-39-FG: fade(contrast(@g_Color-Palette-39, darken(@g_Color-Palette-39, 50%), lighten(@g_Color-Palette-39, 50%)), 100%); @g_Color-Palette-40-FG: fade(contrast(@g_Color-Palette-40, darken(@g_Color-Palette-40, 50%), lighten(@g_Color-Palette-40, 50%)), 100%); @g_Color-Palette-41-FG: fade(contrast(@g_Color-Palette-41, darken(@g_Color-Palette-41, 50%), lighten(@g_Color-Palette-41, 50%)), 100%); @g_Color-Palette-42-FG: fade(contrast(@g_Color-Palette-42, darken(@g_Color-Palette-42, 50%), lighten(@g_Color-Palette-42, 50%)), 100%); @g_Color-Palette-43-FG: fade(contrast(@g_Color-Palette-43, darken(@g_Color-Palette-43, 50%), lighten(@g_Color-Palette-43, 50%)), 100%); @g_Color-Palette-44-FG: fade(contrast(@g_Color-Palette-44, darken(@g_Color-Palette-44, 50%), lighten(@g_Color-Palette-44, 50%)), 100%); @g_Color-Palette-45-FG: fade(contrast(@g_Color-Palette-45, darken(@g_Color-Palette-45, 50%), lighten(@g_Color-Palette-45, 50%)), 100%); @_colors: @g_Color-Palette-1, @g_Color-Palette-2, @g_Color-Palette-3, @g_Color-Palette-4, @g_Color-Palette-5, @g_Color-Palette-6, @g_Color-Palette-7, @g_Color-Palette-8, @g_Color-Palette-9, @g_Color-Palette-10, @g_Color-Palette-11, @g_Color-Palette-12, @g_Color-Palette-13, @g_Color-Palette-14, @g_Color-Palette-15, @g_Color-Palette-16, @g_Color-Palette-17, @g_Color-Palette-18, @g_Color-Palette-19, @g_Color-Palette-20, @g_Color-Palette-21, @g_Color-Palette-22, @g_Color-Palette-23, @g_Color-Palette-24, @g_Color-Palette-25, @g_Color-Palette-26, @g_Color-Palette-27, @g_Color-Palette-28, @g_Color-Palette-29, @g_Color-Palette-30, mix(#000,@g_Color-Palette-31,15%), mix(#000,@g_Color-Palette-32,15%), mix(#000,@g_Color-Palette-33,15%), mix(#000,@g_Color-Palette-34,15%), mix(#000,@g_Color-Palette-35,15%), mix(#000,@g_Color-Palette-36,15%), mix(#000,@g_Color-Palette-37,15%), mix(#000,@g_Color-Palette-38,15%), mix(#000,@g_Color-Palette-39,15%), mix(#000,@g_Color-Palette-40,15%), mix(#000,@g_Color-Palette-41,15%), mix(#000,@g_Color-Palette-42,15%), mix(#000,@g_Color-Palette-43,15%), mix(#000,@g_Color-Palette-44,15%), mix(#000,@g_Color-Palette-45,15%); @_colors_FG: @g_Color-Palette-1-FG, @g_Color-Palette-2-FG, @g_Color-Palette-3-FG, @g_Color-Palette-4-FG, @g_Color-Palette-5-FG, @g_Color-Palette-6-FG, @g_Color-Palette-7-FG, @g_Color-Palette-8-FG, @g_Color-Palette-9-FG, @g_Color-Palette-10-FG, @g_Color-Palette-11-FG, @g_Color-Palette-12-FG, @g_Color-Palette-13-FG, @g_Color-Palette-14-FG, @g_Color-Palette-15-FG, @g_Color-Palette-16-FG, @g_Color-Palette-17-FG, @g_Color-Palette-18-FG, @g_Color-Palette-19-FG, @g_Color-Palette-20-FG, @g_Color-Palette-21-FG, @g_Color-Palette-22-FG, @g_Color-Palette-23-FG, @g_Color-Palette-24-FG, @g_Color-Palette-25-FG, @g_Color-Palette-26-FG, @g_Color-Palette-27-FG, @g_Color-Palette-28-FG, @g_Color-Palette-29-FG, @g_Color-Palette-30-FG, @g_Color-Palette-31-FG, @g_Color-Palette-32-FG, @g_Color-Palette-33-FG, @g_Color-Palette-34-FG, @g_Color-Palette-35-FG, @g_Color-Palette-36-FG, @g_Color-Palette-37-FG, @g_Color-Palette-38-FG, @g_Color-Palette-39-FG, @g_Color-Palette-40-FG, @g_Color-Palette-41-FG, @g_Color-Palette-42-FG, @g_Color-Palette-43-FG, @g_Color-Palette-44-FG, @g_Color-Palette-45-FG; /* State Colors ========================================================================== */ /* { "var" : "@g_Disabled-BG", "name" : "UTR.LESS.BACKGROUND", "type" : "color", "group": "UTR.LESS.STATES", "subgroup": "UTR.LESS.DISABLED" } */ @g_Disabled-BG: #707070; /* { "var" : "@g_Disabled-FG", "name" : "UTR.LESS.FOREGROUND", "type" : "color", "group": "UTR.LESS.STATES", "subgroup": "UTR.LESS.DISABLED" } */ @g_Disabled-FG: #FFFFFF; /* { "var" : "@g_Primary-BG", "name" : "UTR.LESS.BACKGROUND", "type" : "color", "group": "UTR.LESS.STATES", "subgroup": "UTR.LESS.PRIMARY" } */ @g_Primary-BG: contrast(@g_Accent-BG, darken(@g_Accent-BG, 40%), lighten(@g_Accent-BG, 40%), 43%); /* { "var" : "@g_Primary-FG", "name" : "UTR.LESS.FOREGROUND", "type" : "color", "group": "UTR.LESS.STATES", "subgroup": "UTR.LESS.PRIMARY" } */ @g_Primary-FG: contrast(@g_Primary-BG, darken(@g_Primary-BG, 75%), lighten(@g_Primary-BG, 75%), 43%); /* { "var" : "@g_Success-BG", "name" : "UTR.LESS.BACKGROUND", "type" : "color", "group": "UTR.LESS.STATES", "subgroup": "UTR.LESS.SUCCESS" } */ @g_Success-BG: #3BAA2C; /* { "var" : "@g_Success-FG", "name" : "UTR.LESS.FOREGROUND", "type" : "color", "group": "UTR.LESS.STATES", "subgroup": "UTR.LESS.SUCCESS" } */ @g_Success-FG: #FFF; /* { "var" : "@g_Info-BG", "name" : "UTR.LESS.BACKGROUND", "type" : "color", "group": "UTR.LESS.STATES", "subgroup": "UTR.LESS.INFO" } */ @g_Info-BG: #0572CE; /* { "var" : "@g_Info-FG", "name" : "UTR.LESS.FOREGROUND", "type" : "color", "group": "UTR.LESS.STATES", "subgroup": "UTR.LESS.INFO" } */ @g_Info-FG: contrast(@g_Info-BG, darken(@g_Info-BG, 75%), lighten(@g_Info-BG, 75%), 43%); /* { "var" : "@g_Warning-BG", "name" : "UTR.LESS.BACKGROUND", "type" : "color", "group": "UTR.LESS.STATES", "subgroup": "UTR.LESS.WARNING" } */ @g_Warning-BG: #FBCE4A; /* { "var" : "@g_Warning-FG", "name" : "UTR.LESS.FOREGROUND", "type" : "color", "group": "UTR.LESS.STATES", "subgroup": "UTR.LESS.WARNING" } */ @g_Warning-FG: contrast(@g_Warning-BG, darken(@g_Warning-BG, 50%), lighten(@g_Warning-BG, 50%), 43%); /* { "var" : "@g_Danger-BG", "name" : "UTR.LESS.BACKGROUND", "type" : "color", "group": "UTR.LESS.STATES", "subgroup": "UTR.LESS.DANGER" } */ @g_Danger-BG: #f44336; /* { "var" : "@g_Danger-FG", "name" : "UTR.LESS.FOREGROUND", "type" : "color", "group": "UTR.LESS.STATES", "subgroup": "UTR.LESS.DANGER" } */ @g_Danger-FG: contrast(@g_Danger-BG, darken(@g_Danger-BG, 50%), lighten(@g_Danger-BG, 50%), 43%); /* { "var" : "@g_Header-BG", "name" : "UTR.LESS.BACKGROUND", "type" : "color", "group": "UTR.LESS.CONTAINERS", "subgroup": "UTR.LESS.HEADER" } */ @g_Header-BG: @g_Accent-BG; /* { "var" : "@g_Header-FG", "name" : "UTR.LESS.FOREGROUND", "type" : "color", "group": "UTR.LESS.CONTAINERS", "subgroup": "UTR.LESS.HEADER" } */ @g_Header-FG: @g_Accent-FG; // BEGIN REGION COLORS HERE /* { "var" : "@g_Region-Header-BG", "name" : "UTR.LESS.BACKGROUND", "type" : "color", "group": "UTR.LESS.REGIONS", "subgroup": "UTR.LESS.REGION_HEADER" } */ @g_Region-Header-BG: lighten(@g_Accent-OG,4%); /* { "var" : "@g_Region-Header-FG", "name" : "UTR.LESS.FOREGROUND", "type" : "color", "group": "UTR.LESS.REGIONS", "subgroup": "UTR.LESS.REGION_HEADER" } */ @g_Region-Header-FG: fade(contrast(@g_Region-Header-BG, desaturate(darken(@g_Region-Header-BG, 85%), 100%), desaturate(lighten(@g_Region-Header-BG, 85%), 50%)), 100%); /* { "var" : "@g_Region-BG", "name" : "UTR.LESS.BACKGROUND", "type" : "color", "group": "UTR.LESS.REGIONS", "subgroup": "UTR.LESS.BODY" } */ @g_Region-BG: lighten(@g_Region-Header-BG, 20%); /* { "var" : "@g_Region-FG", "name" : "UTR.LESS.FOREGROUND", "type" : "color", "group": "UTR.LESS.REGIONS", "subgroup": "UTR.LESS.BODY" } */ @g_Region-FG: fade(contrast(@g_Region-BG, desaturate(darken(@g_Region-BG, 75%), 100%), desaturate(lighten(@g_Region-BG, 75%), 50%)), 100%); @g_Region-FG-Light: fade(contrast(@g_Region-BG, desaturate(darken(@g_Region-BG, 55%), 100%), desaturate(lighten(@g_Region-BG, 55%), 50%)), 100%); @g_Region-FG-Extra-Light: fade(contrast(@g_Region-BG, desaturate(darken(@g_Region-BG, 25%), 100%), desaturate(lighten(@g_Region-BG, 25%), 50%)), 100%); /* { "var" : "@g_Form-Item-BG", "name" : "UTR.LESS.BACKGROUND", "type" : "color", "group": "UTR.LESS.FORMS", "subgroup": "UTR.LESS.ITEM" } */ @g_Form-Item-BG: contrast(@g_Region-BG, darken(@g_Region-BG, 2.5%), lighten(@g_Region-BG, 2.5%), 43%); /* { "var" : "@g_Form-Item-FG", "name" : "UTR.LESS.FOREGROUND", "type" : "color", "group": "UTR.LESS.FORMS", "subgroup": "UTR.LESS.ITEM" } */ @g_Form-Item-FG: fade(contrast(@g_Form-Item-BG, desaturate(darken(@g_Form-Item-BG, 75%), 100%), desaturate(lighten(@g_Form-Item-BG, 75%), 50%)), 100%); /* { "var" : "@g_Form-Label", "name" : "UTR.LESS.LABEL", "type" : "color", "group": "UTR.LESS.FORMS" } */ @g_Form-Label: contrast(@g_Region-FG, darken(@g_Region-FG, 5%), lighten(@g_Region-FG, 5%), 43%); /* { "var" : "@g_Form-BorderRadius", "name" : "UTR.LESS.BORDER_RADIUS", "type" : "number", "units": "px", "range": { "min": 0, "max": 30, "increment": 2 }, "group": "UTR.LESS.FORMS" } */ @g_Form-BorderRadius: @g_Container-BorderRadius; // BEGIN NAVIGATION /* { "var": "@g_Nav_Style", "name": "Navigation Style", "type": "select", "options": [ { "d": "Light", "r": "light" }, { "d": "Dark (Default)", "r": "dark" } ], "group": "UTR.LESS.NAVIGATION" } */ @g_Nav_Style: dark; /* { "var" : "@g_Nav-Active-BG", "name" : "UTR.LESS.BACKGROUND", "type" : "color", "group": "UTR.LESS.NAVIGATION", "subgroup": "UTR.LESS.SELECTED_STATE" } */ .setNavigationStyle() when (@g_Nav_Style = light) { @g_Nav-BGX: contrast(@g_Accent-BG, darken(@g_Accent-BG, 57%), lighten(@g_Accent-BG, 57%), 43%); @g_Nav-BG: desaturate(@g_Nav-BGX,48%); @g_Nav-Active-BG: darken(@g_Nav-BG,3%); .t-PageBody--leftNav .t-Body-nav { border-right: 1px solid rgba(0,0,0,.075); .u-RTL & { border-right-width: 0; border-left: 1px solid rgba(0,0,0,.075); } } } .setNavigationStyle() when (@g_Nav_Style = dark) { @g_Nav-BGX: desaturate(@g_Accent-BG,85%); @g_Nav-BG: darken(@g_Nav-BGX,20%); @g_Nav-Active-BG: darken(@g_Nav-BG,10%); } .setNavigationStyle(); /* { "var" : "@g_Nav-BG", "name" : "UTR.LESS.BACKGROUND", "type" : "color", "group": "UTR.LESS.NAVIGATION", "subgroup": "UTR.LESS.BODY" } */ /* { "var" : "@g_Nav-FG", "name" : "UTR.LESS.FOREGROUND", "type" : "color", "group": "UTR.LESS.NAVIGATION", "subgroup": "UTR.LESS.BODY" } */ @g_Nav-FG: contrast(@g_Nav-BG, darken(@g_Nav-BG, 80%), lighten(@g_Nav-BG, 80%), 43%); /* { "var" : "@g_Nav-Active-FG", "name" : "UTR.LESS.TEXT", "type" : "color", "group": "UTR.LESS.NAVIGATION", "subgroup": "UTR.LESS.SELECTED_STATE" } */ @g_Nav-Active-FG: contrast(@g_Nav-Active-BG, darken(@g_Nav-Active-BG, 95%), lighten(@g_Nav-Active-BG, 95%), 43%); /* { "var" : "@g_Nav-Icon", "name" : "UTR.LESS.NORMAL", "type" : "color", "group": "UTR.LESS.NAVIGATION", "subgroup": "UTR.LESS.ICON", "checkContrast": false } */ @g_Nav-Icon: @g_Nav-FG; /* { "var" : "@g_Nav-Icon-Active", "name" : "UTR.LESS.ACTIVE_STATE", "type" : "color", "group": "UTR.LESS.NAVIGATION", "subgroup": "UTR.LESS.ICON", "checkContrast": false } */ @g_Nav-Icon-Active: @g_Nav-Active-FG; /* Light and Dark Navigation Handling ========================================================================== */ /* { "var" : "@g_Link-Base", "name" : "UTR.LESS.LINK_COLOR", "type" : "color", "group": "UTR.LESS.GLOBAL_COLORS" } */ @g_Link-Base: darken(@g_Accent-BG,3%); /* { "var" : "@g_Focus", "name" : "UTR.LESS.FOCUS_OUTLINE", "type" : "color", "group": "UTR.LESS.GLOBAL_COLORS" } */ @g_Focus: @g_Accent-BG; @g_Focus-tmp: contrast(@g_Focus, darken(@g_Focus, 85%), lighten(@g_Focus, 85%), 43%); @g_Focus-FG: fade(@g_Focus-tmp,100%); /* { "var" : "@g_Button-BorderRadius", "name" : "UTR.LESS.BORDER_RADIUS", "type" : "number", "units": "px", "range": { "min": 0, "max": 24, "increment": 2 }, "group": "UTR.LESS.BUTTONS" } */ @g_Button-BorderRadius: 2px; /* { "var" : "@g_Button-BG", "name" : "UTR.LESS.BACKGROUND", "type" : "color", "group": "UTR.LESS.BUTTONS", "subgroup": "UTR.LESS.NORMAL" } */ @g_Button-BG: mix(#F0F0F0, @g_Region-BG); /* { "var" : "@g_Button-Text", "name" : "UTR.LESS.TEXT", "type" : "color", "group": "UTR.LESS.BUTTONS", "subgroup": "UTR.LESS.NORMAL" } */ @g_Button-Text-tmp: contrast(@g_Button-BG, darken(@g_Button-BG, 75%), lighten(@g_Button-BG, 75%), 43%); @g_Button-Text: fade(@g_Button-Text-tmp,100%); /* * BEGIN MIXINS */ .region-hover() { background-color: contrast(@g_Region-BG, darken(@g_Region-BG, 5%), lighten(@g_Region-BG, 5%), 43%); } .text-combo(@percent) { .t-Body & { color: fade(contrast(@g_Body-BG, desaturate(darken(@g_Body-BG, @percent), 100%), desaturate(lighten(@g_Body-BG, @percent), 50%)), 100%); } .t-Body-title & { color: fade(contrast(@g_Body-Title-BG, desaturate(darken(@g_Body-Title-BG, @percent), 100%), desaturate(lighten(@g_Body-Title-BG, @percent), 50%)), 100%); } .t-Body-info & { color: fade(contrast(@g_Body-Title-BG, desaturate(darken(@g_Body-Title-BG, @percent), 100%), desaturate(lighten(@g_Body-Title-BG, @percent), 50%)), 100%); } .t-Region &, .t-ButtonRegion & { color: fade(contrast(@g_Region-BG, desaturate(darken(@g_Region-BG, @percent), 100%), desaturate(lighten(@g_Region-BG, @percent), 50%)), 100%); } } .text-black-white() { .text-combo(100%); } //#404040 .text-dark() { .text-combo(75%); } //#707070 .text-normal() { .text-combo(50%); } .text-light() { .text-combo(25%); } .transform-less(@string) { -webkit-transform: @string; -ms-transform: @string; transform: @string; } .translate3d-less(@x, @y: 0, @z: 0) { -webkit-transform: translate3d(@x, @y, @z); -ms-transform: translate(@x); transform: translate3d(@x, @y, @z); } .apex-direction-left(@val) { :not(.u-RTL) & { left: @val; } .u-RTL & { right: @val; } } .apex-direction-margin-left(@val) { :not(.u-RTL) & { margin-left: @val; } .u-RTL & { margin-right: @val; } } .apex-direction-right(@val) { :not(.u-RTL) & { right: @val; } .u-RTL & { left: @val; } } .apex-direction-margin-right(@val) { :not(.u-RTL) & { margin-right: @val; } .u-RTL & { margin-left: @val; } } .apex-direction-translate(@val) { :not(.u-RTL) & { .translate3d-less(@val, 0, 0); } .u-RTL & { .translate3d-less(-@val, 0,0 ); } } /* Moving Button Variables to Main Variables ========================================================================== */ /* { "var" : "@l_Button-Hot-BG", "name" : "UTR.LESS.BACKGROUND", "type" : "color", "group": "UTR.LESS.BUTTONS", "subgroup": "UTR.LESS.HOT" } */ @l_Button-Hot-BG: @g_Accent-BG; /* { "var" : "@l_Button-Hot-Text", "name" : "UTR.LESS.TEXT", "type" : "color", "group": "UTR.LESS.BUTTONS", "subgroup": "UTR.LESS.HOT" } */ @l_Button-Hot-Text-tmp: contrast(@l_Button-Hot-BG, darken(@l_Button-Hot-BG, 85%), lighten(@l_Button-Hot-BG, 85%), 43%); @l_Button-Hot-Text: fade(@l_Button-Hot-Text-tmp,100%); /* { "var" : "@l_Button-Primary-BG", "name" : "UTR.LESS.BACKGROUND", "type" : "color", "group": "UTR.LESS.BUTTONS", "subgroup": "UTR.LESS.PRIMARY" } */ @l_Button-Primary-BG: @g_Primary-BG; /* { "var" : "@l_Button-Primary-Text", "name" : "UTR.LESS.TEXT", "type" : "color", "group": "UTR.LESS.BUTTONS", "subgroup": "UTR.LESS.PRIMARY" } */ @l_Button-Primary-Text: fade(@g_Primary-FG, 100%); /* { "var" : "@l_Button-Danger-BG", "name" : "UTR.LESS.BACKGROUND", "type" : "color", "group": "UTR.LESS.BUTTONS", "subgroup": "UTR.LESS.DANGER" } */ @l_Button-Danger-BG: @g_Danger-BG; /* { "var" : "@l_Button-Danger-Text", "name" : "UTR.LESS.TEXT", "type" : "color", "group": "UTR.LESS.BUTTONS", "subgroup": "UTR.LESS.DANGER" } */ @l_Button-Danger-Text: fade(@g_Danger-FG, 100%); /* { "var" : "@l_Button-Warning-BG", "name" : "UTR.LESS.BACKGROUND", "type" : "color", "group": "UTR.LESS.BUTTONS", "subgroup": UTR.LESS.WARNING" } */ @l_Button-Warning-BG: @g_Warning-BG; /* { "var" : "@l_Button-Warning-Text", "name" : "UTR.LESS.TEXT", "type" : "color", "group": "UTR.LESS.BUTTONS", "subgroup": "UTR.LESS.WARNING" } */ @l_Button-Warning-Text: fade(@g_Warning-FG, 100%); /* { "var" : "@l_Button-Success-BG", "name" : "UTR.LESS.BACKGROUND", "type" : "color", "group": "UTR.LESS.BUTTONS", "subgroup": "UTR.LESS.SUCCESS" } */ @l_Button-Success-BG: @g_Success-BG; /* { "var" : "@l_Button-Success-Text", "name" : "UTR.LESS.TEXT", "type" : "color", "group": "UTR.LESS.BUTTONS", "subgroup": "UTR.LESS.SUCCESS" } */ @l_Button-Success-Text: fade(@g_Success-FG, 100%); /* { "var" : "@l_Button-Simple-BG", "name" : "UTR.LESS.BACKGROUND", "type" : "color", "group": "UTR.LESS.BUTTONS", "subgroup": "UTR.LESS.SIMPLE" } */ @l_Button-Simple-BG: #FFFFFF; /* { "var" : "@l_Button-Simple-Text", "name" : "UTR.LESS.TEXT", "type" : "color", "group": "UTR.LESS.BUTTONS", "subgroup": "UTR.LESS.SIMPLE" } */ @l_Button-Simple-Text: fade(contrast(@l_Button-Simple-BG, darken(@l_Button-Simple-BG, 75%), lighten(@l_Button-Simple-BG, 75%)), 100%); @g_Nav_Style: dark; @g_Accent-BG: #505f6d; @g_Accent-OG: #ececec; @g_Body-Title-BG: #dee1e4; @g_Link-Base: #337ac0; @g_Body-BG: #f5f5f5; body .ui-dialog .ui-dialog-titlebar-close { border-radius: 100%; } body .ui-dialog .ui-dialog-buttonpane { border-top-color: contrast(@g_Region-BG, darken(@g_Region-BG, 8%), lighten(@g_Region-BG, 8%), 43%); } //.ui-widget-content { // background: transparent; // iframe { // border: none; // } //} //.t-Dialog-page,.t-Dialog-page .t-Region { // background-color: @g_Region-BG; //} //body .ui-dialog.t-Dialog--wizard { // border-radius: 3px; // .ui-dialog-titlebar { // background-color: @g_Region-BG; // } // .ui-dialog-titlebar-close { // background-color: transparent; // &:hover { // background-color: contrast(@g_Region-BG, darken(@g_Region-BG, 5%), lighten(@g_Region-BG, 5%), 43%); // } // &:active { // background-color: contrast(@g_Region-BG, darken(@g_Region-BG, 10%), lighten(@g_Region-BG, 10%), 43%); // } // } //} .MiniCal(@background, @foreground) { /* Calendar Wrapper ========================================================================== */ .a-MiniCal { border: 1px solid contrast(@background, darken(@background, 10%), lighten(@background, 10%), 43%); border-radius: @g_Container-BorderRadius; background-color: @background; } /* Calendar Header ========================================================================== */ .a-MiniCal-title { color: @foreground; } /* Month Calendar ========================================================================== */ .a-MiniCal-dayOfWeek { color: fade(contrast(@background, desaturate(darken(@background, 50%), 100%), desaturate(lighten(@background, 50%), 50%)), 100%); } .a-MiniCal-date { } .a-MiniCal-day { border-color: contrast(@background, darken(@background, 2.5%), lighten(@background, 2.5%), 43%); color: fade(contrast(@background, desaturate(darken(@background, 75%), 100%), desaturate(lighten(@background, 75%), 50%)), 100%); &.is-today { .a-MiniCal-date { background-color: @g_Accent-BG; color: @g_Accent-FG; } } &.is-active { .a-MiniCal-date { background-color: @g_Warning-BG; color: @g_Warning-FG; } } &.is-weekend { background-color: contrast(@background, darken(@background, 2%), lighten(@background, 2%), 43%); } &.is-null { background-color: contrast(@background, darken(@background, 4%), lighten(@background, 4%), 43%); } } } .t-Body { .MiniCal(@g_Body-BG, @g_Body-Text); } .t-Region { .MiniCal(@g_Region-BG, @g_Region-FG); } .t-Body-actions { .MiniCal(@g_Actions-Col-BG, @g_Actions-Col-Text); } .t-Body-info { .MiniCal(@g_Body-Title-BG, @g_Body-Title-FG); } .t-AVPList-value { color: contrast(@g_Body-Text, darken(@g_Body-Text, 15%), lighten(@g_Body-Text, 15%), 43%); .t-Body-info & { @value-tmp: @g_Body-Title-FG; color: contrast(@value-tmp, darken(@value-tmp, 15%), lighten(@value-tmp, 15%), 43%); } .t-Region & { color: contrast(@g_Region-FG, darken(@g_Region-FG, 15%), lighten(@g_Region-FG, 15%), 43%); } } .t-AVPList-label { color: contrast(@g_Body-Text, darken(@g_Body-Text, 5%), lighten(@g_Body-Text, 5%), 43%); .t-Body-info & { @value-tmp2: @g_Body-Title-FG; color: contrast(@value-tmp2, darken(@value-tmp2, 5%), lighten(@value-tmp2, 5%), 43%); } .t-Region & { color: contrast(@g_Region-FG, darken(@g_Region-FG, 5%), lighten(@g_Region-FG, 5%), 43%); } } /** * Colorized Background */ .t-Alert--wizard, .t-Alert--horizontal { border-radius: @g_Container-BorderRadius } .t-Alert--colorBG { &.t-Alert--warning, &.t-Alert--yellow { @bg: lighten(@g_Warning-BG,30%); background-color: @bg; color: fade(contrast( @bg, desaturate(darken( @bg, 100%), 100%), desaturate(lighten( @bg, 100%), 50%)), 100%); } &.t-Alert--success { @bgx: lighten(@g_Success-BG,55%); @bg: desaturate(@bgx,20%); background-color: @bg; color: fade(contrast( @bg, desaturate(darken( @bg, 100%), 100%), desaturate(lighten( @bg, 100%), 50%)), 100%); } &.t-Alert--danger, &.t-Alert--red { @bg: lighten(@g_Danger-BG,40%); background-color: @bg; color: fade(contrast( @bg, desaturate(darken( @bg, 100%), 100%), desaturate(lighten( @bg, 100%), 50%)), 100%); } &.t-Alert--info { @bg: lighten(@g_Info-BG,55%); background-color: @bg; color: fade(contrast( @bg, desaturate(darken( @bg, 100%), 100%), desaturate(lighten( @bg, 100%), 50%)), 100%); } } .t-Alert-icon .t-Icon { color: #FFF; } /** * Modifier: Warning */ .t-Alert--warning, .t-Alert--yellow { .t-Alert-icon .t-Icon { background-color: @g_Warning-BG; } &.t-Alert--horizontal .t-Alert-icon { background-color: fadeout(@g_Warning-BG,85%); } } /** * Modifier: Success */ .t-Alert--success { .t-Alert-icon .t-Icon { background-color: @g_Success-BG; } &.t-Alert--horizontal .t-Alert-icon { background-color: fadeout(@g_Success-BG,85%); } } /** * Modifier: Information */ .t-Alert--info { .t-Alert-icon .t-Icon { background-color: @g_Info-BG; } &.t-Alert--horizontal .t-Alert-icon { background-color: fadeout(@g_Info-BG,85%); } } /** * Modifier: Success */ .t-Alert--danger, .t-Alert--red { .t-Alert-icon .t-Icon { background-color: @g_Danger-BG; } &.t-Alert--horizontal .t-Alert-icon { background-color: fadeout(@g_Danger-BG,85%); } } .t-Alert--wizard { .t-Alert-inset { border-radius: @g_Container-BorderRadius; } } .t-Alert--horizontal, .t-Alert--wizard { background-color: @g_Region-BG; color: @g_Region-FG; } .t-Alert--page { &.t-Alert--success { background-color: fadeout(@g_Success-BG,10%); color: @g_Success-FG; .t-Alert-icon { background-color: transparent; color: @g_Success-FG; } .t-Button--closeAlert { color: @g_Success-FG !important; } .t-Alert-content { padding-right: 0; padding-left: 0; } // .t-Icon, // .t-Alert-title { // color: @g_Success-FG; // } } } /** * Import Compass and Theme Variables */ /* ========================================================================== Badge List ========================================================================== */ .t-BadgeList, .t-BadgeList:not(.u-colors) a .t-BadgeList-label { color: @g_Region-FG; } .t-BadgeList--circular { .t-BadgeList-value { box-shadow: 0 0 0 1px fadeout(@g_Region-FG,90%) inset; background-color: @g_Region-BG; } a.t-BadgeList-wrap:hover .t-BadgeList-value { box-shadow: 0 0 0 4px @g_Accent-BG inset; background-color: @g_Accent-BG; color: @g_Accent-FG; } } .t-BadgeList--dash a.t-BadgeList-wrap:focus, .t-BadgeList--dash .t-BadgeList-wrap:focus-within, .t-BadgeList--circular a.t-BadgeList-wrap:focus .t-BadgeList-value, .t-BadgeList--circular .t-BadgeList-value a:focus { box-shadow: 0 0 0 1px @g_Focus inset, 0 0 0 2px @g_Region-BG inset; background-color: @g_Accent-BG; color: @g_Accent-FG; } .t-BadgeList--dash .t-BadgeList-wrap:focus-within, .t-BadgeList--circular .t-BadgeList-value a:hover { background-color: @g_Accent-BG !important; color: @g_Accent-FG !important; } .t-BadgeList--dash .t-BadgeList-value a:focus, .t-BadgeList--dash a.t-BadgeList-wrap:focus-within .t-BadgeList-label { color: @g_Accent-FG; } /* ========================================================================== Layout Modifiers ========================================================================== */ /* Color Handling ========================================================================== */ .t-BadgeList.u-colors { &.t-BadgeList--circular { .t-BadgeList-wrap:before { background-color: @g_Region-BG; } .t-BadgeList-label { color: @g_Region-FG; } } .t-BadgeList-value a { color: inherit; } } .a-BarChart { .a-BarChart-item { &:hover { .region-hover(); } .a-BarChart-value { .text-normal(); // .slight-text-contrast(@g_Region-BG); } } .a-BarChart-item img { border-radius: 2px; } .a-BarChart-bar { background-color: rgba(0,0,0,.025); } } .a-BarChart--classic { .a-BarChart-bar, .a-BarChart-filled { border-radius: 1px; } .a-BarChart-item:hover .a-BarChart-bar { background-color: rgba(0,0,0,.05); } } .a-BarChart--modern { .a-BarChart-bar, .a-BarChart-filled { border-radius: 1px; } .a-BarChart-item:hover .a-BarChart-bar { background-color: rgba(0,0,0,.05); } } .a-BarChart-filled { background-color: @g_Accent-BG; } /** * Import Compass and Theme Variables */ /* { "var" : "@l_Left-Col-BG", "name" : "UTR.LESS.BACKGROUND", "type" : "color", "group": "UTR.LESS.CONTAINERS", "subgroup": "UTR.LESS.LEFT_COLUMN" } */ @l_Left-Col-BG: lighten(@g_Accent-OG, 5%); /* { "var" : "@l_Left-Col-Text", "name" : "UTR.LESS.TEXT", "type" : "color", "group": "UTR.LESS.CONTAINERS", "subgroup": "UTR.LESS.LEFT_COLUMN" } */ @l_Left-Col-Text: @g_Body-Text; /* ========================================================================== Body ========================================================================== */ body { background: @g_Body-BG; color: @g_Body-Text; } a { color: @g_Link-Base; } // .t-Body a { // // @l_Body_bg: contrast(@g_Body-BG, darken(@g_Body-BG, 75%), lighten(@g_Body-BG, 75%), 43%); // // color: mix(@l_Body_bg, @g_Accent-BG); // // color: red; // //color: contrast(@1, contrast(darken(@1, @2), lighten(@1, @2), 50%), 50%) // color: contrast(@g_Body-BG, contrast(@g_Body-BG, darken( @g_Link-Base, 5%), @g_Link-Base), contrast(@g_Body-BG, @g_Link-Base, lighten( @g_Link-Base, 5%))); // // &:hover { // // text-decoration:underline; // // } // } // .t-Body-title a, // .t-Body-info a { // color: contrast(@g_Body-Title-BG, contrast(@g_Body-Title-BG, darken( @g_Link-Base, 5%), @g_Link-Base), contrast(@g_Body-Title-BG, @g_Link-Base, lighten( @g_Link-Base, 5%))); // } // .t-Region a { // color: contrast(@g_Region-BG, contrast(@g_Region-BG, darken( @g_Link-Base, 5%), @g_Link-Base), contrast(@g_Region-BG, @g_Link-Base, lighten( @g_Link-Base, 5%))); // } .t-BreadcrumbRegion--useBreadcrumbTitle .t-Breadcrumb-item:last-child .t-Breadcrumb-label:after, .t-BreadcrumbRegion--useRegionTitle .t-BreadcrumbRegion-titleText:after { // background-image: linear-gradient(to right, fadeout(@g_Body-Title-BG, 1), @g_Body-Title-BG 65%); } .t-Body-actions { background-color: @g_Actions-Col-BG; border-left: 1px solid rgba(0,0,0,.075); } .t-Body-title { background-color: fadeout(@g_Body-Title-BG,10%); color: @g_Body-Title-FG; -webkit-backdrop-filter: saturate(180%) blur(8px); } .ui-widget-content { background-color: @g_Region-BG; .text-dark(); } .t-Body-side { background-color: @l_Left-Col-BG; color: @l_Left-Col-Text; } .apex-rds-container { background-color: transparent; .t-Body-info & { background-color: @g_Body-Title-BG; &.is-stuck { background-color: fadeout(@g_Body-Title-BG,5%); -webkit-backdrop-filter: blur(4px); } } } .t-Body-info { background-color: @g_Body-Title-BG; } .t-Body-title { &.js-hideBreadcrumbs { background-color: rgba(0,0,0,.95); } } .t-Body-topButton { border-radius: 100%; background-color: lighten(@g_Body-BG, 10%); color: contrast(lighten(@g_Body-BG, 10%), darken(lighten(@g_Body-BG, 10%), 10%), lighten(lighten(@g_Body-BG, 10%), 10%), 43%); &:focus { box-shadow: 0 0 0 1px @g_Focus inset, 0 1px 2px rgba(0,0,0,.15); } &:hover, &:focus { color: @g_Focus; } &:active { background-color: lighten(@g_Body-BG, 15%); color: contrast(lighten(@g_Body-BG, 15%), darken(lighten(@g_Body-BG, 15%), 10%), lighten(lighten(@g_Body-BG, 15%), 10%), 43%); } } /* { "var" : "@Head-Height", "name" : "Header Height", "type" : "number", "units": "px", "range": { "min": 40, "max": 80, "increment": 4 }, "group": "UTR.LESS.LAYOUT" } */ @Head-Height: 48px; ///* //{ // "var" : "@Head-Menu-Height", // "name" : "Head Menu Height", // "type" : "number", // "units": "px", // "range": { // "min": 80, // "max": 100, // "increment": 1 // }, // "group": "UTR.LESS.LAYOUT" //} //*/ @Head-Menu-Height: 80px; /* { "var" : "@Nav-Exp", "name" : "UTR.LESS.NAVIGATION_TREE", "type" : "number", "units": "px", "range": { "min": 120, "max": 360, "increment": 10 }, "group": "UTR.LESS.LAYOUT" } */ @Nav-Exp: 200px; /* { "var" : "@Actions-Exp", "name" : "UTR.LESS.ACTIONS_COLUMN", "type" : "number", "units": "px", "range": { "min": 160, "max": 360, "increment": 10 }, "group": "UTR.LESS.LAYOUT" } */ @Actions-Exp: 200px; /* { "var" : "@Side-Exp", "name" : "UTR.LESS.LEFT_COLUMN", "type" : "number", "units": "px", "range": { "min": 160, "max": 360, "increment": 10 }, "group": "UTR.LESS.LAYOUT" } */ @Side-Exp: 240px; @Nav-Col: 48px; @Actions-Col: 0px; @Side-Col: 0px; .t-Header-branding { height: @Head-Height; } .t-Header-logo-oracle { line-height: @Head-Height; &:before { height: @Head-Height; } } /* ========================================================================== Tree Based Navigation ========================================================================== */ /** * Hide Top Menu Bar Navigation */ .apex-side-nav { .t-Body-nav, .t-Body-actions, .t-Body-title { top: @Head-Height; } .t-Body-title { @media only screen and (min-width: 641px) { .apex-direction-left(@Nav-Exp); .apex-direction-right(0); } } .t-Body-content { @media only screen and (min-width: 641px) { .apex-direction-margin-left(@Nav-Exp); } } .t-Body-main { .apex-direction-margin-left(0); } } /* ========================================================================== Menu Based Navigation ========================================================================== */ .apex-top-nav { .t-Body-actions { top: @Head-Height + 40; } .t-Body-title { top: @Head-Height + 40; } @media only screen and (max-width: 640px) { &.js-menuNavCollapsed { // .t-Body { // margin-top: @Head-Height; // } .t-Header-nav { .transform-less(translateY(-100%)); } } } } /** * Base styles for Tree Nav container */ .t-Body-nav { width: @Nav-Exp; } /** * Base styles for Actions */ .t-Body-actions { width: @Actions-Exp; .t-Button--header { .apex-direction-translate(-40px); } } /** * Base styles for Side Bar */ .t-Body-side { @media only screen and (min-width: 641px) { width: @Side-Exp; } } .apex-side-nav { .t-Body-side { @media only screen and (min-width: 641px) { .apex-direction-left(@Nav-Col); } } } /* ========================================================================== Tree Nav Expanded ========================================================================== */ .apex-side-nav.js-navExpanded { .t-Body-main { .apex-direction-margin-left(@Nav-Col); .apex-direction-translate(@Nav-Exp - @Nav-Col); } @media only screen and (max-width: 480px) { // // Compensate for completely collapsed left column // .t-Body-title, .t-Body-side, .t-Body-content { .apex-direction-margin-left(0); } .t-Body-main { .apex-direction-margin-left(0); .apex-direction-translate(@Nav-Exp); } } @media only screen and (min-width: 641px) { &.t-PageBody--hideLeft { .t-Body-title, .t-Body-content, .t-Body-main { transform: none; } .t-Body-title { .apex-direction-left(@Nav-Exp); .apex-direction-right(0); } .t-Body-content { .apex-direction-margin-left(@Nav-Exp - @Nav-Col); } .t-Body-main { .apex-direction-margin-left(@Nav-Col); } } // .t-Body-title, .t-Body-side { .translate3d-less(@Nav-Exp, 0, 0); .u-RTL & { .translate3d-less(-@Nav-Exp, 0, 0); } } &.t-PageBody--showLeft { .t-Body-main { .apex-direction-margin-left(0); transform: none; } // .t-Body-title, .t-Body-side { .apex-direction-left(0); } .t-Body-content { .apex-direction-margin-left(@Side-Exp + @Nav-Col); :not(.u-RTL) & { .translate3d-less(@Nav-Exp - @Nav-Col, 0, 0); } .u-RTL & { .translate3d-less(-@Nav-Exp + @Nav-Col, 0, 0); } } .t-Body-title { .apex-direction-left(0); :not(.u-RTL) & { .translate3d-less(@Nav-Exp, 0, 0); } .u-RTL & { .translate3d-less(-@Nav-Exp, 0, 0); } } } } @media only screen and (min-width: 993px) { &.t-PageBody--showLeft { .t-Body-main { .apex-direction-margin-left(0); transform: none; } .t-Body-title { transform: none !important; .apex-direction-margin-left(@Nav-Exp); } .t-Body-content { .apex-direction-margin-left(@Side-Exp + @Nav-Exp); :not(.u-RTL) &, .u-RTL & { transform: none; } } } } } /* ========================================================================== Tree Nav Collapsed ========================================================================== */ .apex-side-nav.js-navCollapsed { .t-Body-nav, .t-Body-nav .t-TreeNav { width: @Nav-Col; } .t-Body-content, .t-Body-title, .t-Body-side { .apex-direction-margin-left(@Nav-Col); } .t-Body-title.is-stuck { .apex-direction-left(0); } @media only screen and (max-width: 480px) { // // Completely hide left column when on very small screens // .t-Body-nav { .transform-less(translateX(-@Nav-Col)); .transform-less(translateX(-@Nav-Col)); .u-RTL & { .transform-less(translateX(@Nav-Col)); } } .t-Body-title, .t-Body-side, .t-Body-content { .apex-direction-margin-left(0); } } @media only screen and (max-width: 640px) { &.t-PageBody.js-rightExpanded { .t-Body-main { .apex-direction-margin-left(0); } } } @media only screen and (min-width: 641px) { .t-Body-title { .apex-direction-margin-left(0); .apex-direction-left(@Nav-Col); } &.t-PageBody--showLeft { .t-Body-side { .apex-direction-margin-left(0); } .t-Body-content { .apex-direction-margin-left(@Side-Exp + @Nav-Col); } } } @media only screen and (min-width: 993px) { .t-Body-side { .apex-direction-left(@Nav-Col); } } } /* ========================================================================== Actions Expanded ========================================================================== */ .t-PageBody.js-rightExpanded { .t-Body-main { margin-right: 0; } .t-Body-main, .t-Body-nav { .apex-direction-translate(-@Actions-Exp); } @media only screen and (min-width: 641px) { &.t-PageBody--hideLeft { .t-Body-main, .t-Body-nav { transform: none; } .t-Body-main { .apex-direction-margin-right(@Actions-Exp); } .t-Body-title { :not(.u-RTL) & { right: @Actions-Exp;} .u-RTL & { left: @Actions-Exp; } } } &.t-PageBody--showLeft { .t-Body-title { .apex-direction-right(0); } } &.js-navCollapsed.t-PageBody--showLeft { .t-Body-side { .apex-direction-margin-left(0); .apex-direction-left(0); } } } @media only screen and (min-width: 993px) { &.t-PageBody--showLeft { .t-Body-main { .apex-direction-margin-right(@Actions-Exp); // margin-right: @Actions-Exp; } .t-Body-main, .t-Body-nav { transform: none; } .t-Body-title { .apex-direction-right(@Actions-Exp); // right: @Actions-Exp; } } &.js-navCollapsed.t-PageBody--showLeft { .t-Body-side { .apex-direction-left(@Nav-Col); } } } @media only screen and (max-width: 992px) { &.t-PageBody--showLeft { .t-Body-main { transform: none; } .t-Body-title, .t-Body-side, .t-Body-content { .apex-direction-translate(-@Actions-Exp); } .t-Body-side { margin-left: @Nav-Col !important; .u-RTL & { margin-left: 0px !important; right: @Nav-Col !important; } } } } } /* ========================================================================== Actions Collapsed ========================================================================== */ .t-PageBody.js-rightCollapsed { .t-Body-main { margin-right: @Actions-Col; } .t-Body-title { right: @Actions-Col; } .t-Body-actions { .apex-direction-translate(@Actions-Exp); } } /* ========================================================================== Show Left Side Bar ========================================================================== */ .t-PageBody--showLeft { @media only screen and (min-width: 641px) { .t-Body-content { .apex-direction-margin-left(@Side-Exp); } } } /* { "var": "@g_Body-Content-Max-Width", "name": "UTR.LESS.BODY_CONTENT_MAX_WIDTH", "type": "select", "options": [ { "d": "Auto", "r": "100%" }, { "d": "768 pixels", "r": "768px" }, { "d": "1024 pixels", "r": "1024px" }, { "d": "1280 pixels", "r": "1280px" }, { "d": "1440 pixels", "r": "1440px" }, { "d": "1920 pixels", "r": "1920px" } ], "group": "UTR.LESS.LAYOUT" } */ @g_Body-Content-Max-Width: 100%; .t-Body-contentInner { margin: 0 auto; max-width: @g_Body-Content-Max-Width; } /** * Import Compass */ /* ========================================================================== Breadcrumb ========================================================================== */ .t-Breadcrumb-item { &:after { color: fadeout(@g_Body-Text,25%); } &, a { color: fade(contrast(@g_Body-BG, desaturate(darken(@g_Body-BG, 65%), 100%), desaturate(lighten(@g_Body-BG, 65%), 50%)), 100%) } a:hover, a:focus { color: @g_Link-Base; text-decoration: underline; outline: none; } } .t-Body-title-shrink .t-BreadcrumbRegion--useBreadcrumbTitle .t-Breadcrumb-item.is-active, .t-Body-title-shrink .t-BreadcrumbRegion--useRegionTitle .t-BreadcrumbRegion-titleText { color: fade(contrast(@g_Body-BG, desaturate(darken(@g_Body-BG, 75%), 100%), desaturate(lighten(@g_Body-BG, 75%), 50%)), 100%) } @media only screen and (max-width: 640px) { .t-BreadcrumbRegion--useRegionTitle .t-BreadcrumbRegion-titleText { color: fade(contrast(@g_Body-BG, desaturate(darken(@g_Body-BG, 75%), 100%), desaturate(lighten(@g_Body-BG, 75%), 50%)), 100%) } } .t-Breadcrumb-item .t-Icon { &:hover { color: @g_Accent-BG; } } .t-BreadcrumbRegion--useBreadcrumbTitle .t-Breadcrumb-item.is-active, .t-BreadcrumbRegion-titleText { color: @g_Body-Title-FG; } /** * Import Compass and Theme Variables */ /****************************************************************************** Button for Theme ******************************************************************************/ /* Generic Button ========================================================================== */ .t-Button, .a-Button, .ui-button { border: none; text-shadow: none; border-radius: @g_Button-BorderRadius; transition: background-color .2s ease, box-shadow .2s ease, color .2s ease; .t-Icon { transition: inherit; } &:hover, &:focus { z-index: 100; outline: none !important; } &:focus, &.is-active:focus { // box-shadow: 0 0 0 1px @g_Focus inset !important; &:before { box-shadow: 0 0 0 1px @g_Focus inset !important; opacity: 1; } &:active:before { opacity: 0; } } } .t-Button { &:not(.t-Button--link):not(.t-Button--header):active, &:not(.t-Button--link):not(.t-Button--header).is-active { box-shadow: 0 0 0 1px rgba(0,0,0,0.15) inset, 0 2px 2px rgba(0,0,0,0.1) inset !important; } } /* Fast Shadows for Buttons ========================================================================== */ .a-Button, .t-Button, .ui-button { &:before, &:after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: inherit; opacity: 0; transition: .2s ease; } &:before { z-index: 1; } &:after { z-index: -1; box-shadow: 0 2px 1px rgba(0,0,0,.075); transform: translateY(-2px); } &:focus:after, &:not(.t-Button--link):hover:after { opacity: 1; transform: translateY(0); } &:focus:active:after { opacity: 0; transform: translateY(-2px); } &:focus:after { transform: translateY(0); box-shadow: 0 0 1px 1px fade(@g_Focus,25%); } } /* ========================================================================== Standard Buttons ========================================================================== */ /* Standard Button - Normal State ========================================================================== */ .t-Form-fieldContainer--radioButtonGroup .apex-item-group--rc input + label, .apex-button-group input + label, .t-Button:not(.t-Button--simple), .ui-button, .a-Button { color: @g_Button-Text; background-color: @g_Button-BG; box-shadow: 0 0 0 1px rgba(0,0,0,.125) inset; &:hover { background-color: lighten(@g_Button-BG, 10%); box-shadow: 0 0 0 1px rgba(0,0,0,.15) inset; } &:focus { background-color: lighten(@g_Button-BG, 15%); } &.is-active, &:active { background-color: darken(@g_Button-BG, 10%); } } .t-Form-fieldContainer--radioButtonGroup .apex-item-grid { background-color: darken(@g_Button-BG,12.5%); border-radius: @g_Button-BorderRadius; } .t-Form-fieldContainer--radioButtonGroup .apex-item-group--rc input:active + label, .t-Form-fieldContainer--radioButtonGroup .apex-item-group--rc input:focus:not(:checked) + label, .apex-button-group input:active + label, .apex-button-group input:focus:not(:checked) + label { box-shadow: 0 0 0 1px @g_Focus inset, 0 0 0 2px @g_Form-Item-BG inset !important; outline: none; border-color: @g_Focus; background-color: lighten(@g_Button-BG, 10%) !important; color: @g_Button-Text !important; } .t-Form-fieldContainer--radioButtonGroup .apex-item-group--rc input:checked:focus + label, .apex-button-group input:checked:focus + label { box-shadow: 0 0 0 1px @g_Focus inset, 0 0 0 2px @g_Form-Item-BG inset !important; } .t-Form-fieldContainer--radioButtonGroup .apex-item-group--rc input:checked + label, .apex-button-group input:checked + label { // background-color: darken(@g_Button-BG, 10%); // color: @g_Button-Text; border-color: @g_Focus; background-color: @g_Focus; color: @g_Form-Item-BG; box-shadow: none; } /* Standard Button - Hot State ========================================================================== */ .a-Button--hot, .t-Button--hot:not(.t-Button--simple), body .ui-button.ui-button--hot, body .ui-state-default.ui-priority-primary { background-color: @l_Button-Hot-BG; color: @l_Button-Hot-Text; &:hover, &:not(:active):focus { background-color: lighten(@l_Button-Hot-BG,5%); } &:active, &.is-active { background-color: darken(@l_Button-Hot-BG,5%); } } body .ui-button.ui-button--hot { font-weight: bold; } /* Standard Button - Warning State ========================================================================== */ .t-Button--warning:not(.t-Button--simple):not(.t-Button--hot) { color: @l_Button-Warning-Text; &:hover, &:not(:active):focus { background-color: lighten(@l_Button-Warning-BG,10%); } &, &:active, &.is-active { background-color: @l_Button-Warning-BG; } } /* Standard Button - Success State ========================================================================== */ .t-Button--success:not(.t-Button--simple):not(.t-Button--hot) { color: @l_Button-Success-Text; &:hover, &:not(:active):focus { background-color: lighten(@l_Button-Success-BG,5%); } &, &:active, &.is-active { background-color: @l_Button-Success-BG; } } /* Standard Button - Danger State ========================================================================== */ .t-Button--danger:not(.t-Button--simple):not(.t-Button--hot) { color: @l_Button-Danger-Text; &:hover, &:not(:active):focus { background-color: lighten(@l_Button-Danger-BG,5%); } &, &:active, &.is-active { background-color: @l_Button-Danger-BG; } } /* Standard Button - Primary State ========================================================================== */ .t-Button--primary:not(.t-Button--simple):not(.t-Button--hot) { color: @l_Button-Primary-Text; &:hover, &:not(:active):focus { background-color: lighten(@l_Button-Primary-BG,5%); } &, &:active, &.is-active { background-color: @l_Button-Primary-BG; } } /* ========================================================================== Simple Button ========================================================================== */ /* Default Simple Button ========================================================================== */ .t-Button--simple:not(.t-Button--hot):not(.t-Button--danger):not(.t-Button--primary):not(.t-Button--success):not(.t-Button--warning) { background-color: @l_Button-Simple-BG; color: @l_Button-Simple-Text; box-shadow: 0 0 0 1px rgba(0,0,0,0.125) inset; &:hover, &:focus, &.is-active { background-color: contrast(@l_Button-Simple-BG, darken(@l_Button-Simple-BG, 10%), lighten(@l_Button-Simple-BG, 10%), 43%); // box-shadow: 0 0 0 1px contrast(@l_Button-Simple-BG, darken(@l_Button-Simple-BG, 10%), lighten(@l_Button-Simple-BG, 10%), 43%) inset; } } /* Hot Simple Button ========================================================================== */ .t-Button--simple.t-Button--hot { // @textColor: contrast(@l_Button-Simple-BG, mix(darken(@l_Button-Simple-BG, 70%), @l_Button-Hot-BG), mix(lighten(@l_Button-Simple-BG, 70%), @l_Button-Hot-BG), 50%); @dark: darken(@l_Button-Hot-BG,25%); @light: lighten(@l_Button-Hot-BG,0%); @textColor: contrast(@l_Button-Hot-BG,@dark,@light); &, .t-Icon { color: @textColor; } box-shadow: 0 0 0 1px @l_Button-Hot-BG inset; background-color: @l_Button-Simple-BG; &:hover, &:focus, &.is-active { background-color: @l_Button-Hot-BG; color: @l_Button-Hot-Text; // box-shadow: 0 0 0 1px @l_Button-Hot-BG inset; .t-Icon { color: @l_Button-Hot-Text; } } } /* Primary Simple Button ========================================================================== */ .t-Button--simple.t-Button--primary:not(.t-Button--hot) { @dark: darken(@l_Button-Primary-BG,25%); @light: lighten(@l_Button-Primary-BG,0%); @textColor: contrast(@l_Button-Primary-BG,@dark,@light); &, .t-Icon { color: @textColor; } box-shadow: 0 0 0 1px @l_Button-Primary-BG inset; background-color: @l_Button-Simple-BG; &:hover, &:focus, &.is-active { background-color: @l_Button-Primary-BG; color: @l_Button-Primary-Text; .t-Icon { color: @l_Button-Primary-Text; } } } /* Warning Simple Button ========================================================================== */ .t-Button--simple.t-Button--warning:not(.t-Button--hot) { // @textColor: contrast(@l_Button-Simple-BG, mix(darken(@l_Button-Simple-BG, 90%), @l_Button-Warning-BG), mix(lighten(@l_Button-Simple-BG, 90%), @l_Button-Warning-BG), 50%); @dark: darken(@l_Button-Warning-BG,25%); @light: lighten(@l_Button-Warning-BG,0%); @textColor: contrast(@l_Button-Warning-BG,@dark,@light); &, .t-Icon { color: @textColor; } box-shadow: 0 0 0 1px @l_Button-Warning-BG inset; background-color: @l_Button-Simple-BG; &:hover, &:focus, &.is-active { background-color: @l_Button-Warning-BG; color: @l_Button-Warning-Text; // box-shadow: 0 0 0 1px @l_Button-Warning-BG inset; .t-Icon { color: @l_Button-Warning-Text; } } } /* Danger Simple Button ========================================================================== */ .t-Button--simple.t-Button--danger:not(.t-Button--hot) { // @textColor: contrast(@l_Button-Simple-BG, mix(darken(@l_Button-Simple-BG, 90%), @l_Button-Danger-BG), mix(lighten(@l_Button-Simple-BG, 90%), @l_Button-Danger-BG), 50%); @dark: darken(@l_Button-Danger-BG,25%); @light: lighten(@l_Button-Danger-BG,0%); @textColor: contrast(@l_Button-Danger-BG,@dark,@light); &, .t-Icon { color: @textColor; } box-shadow: 0 0 0 1px @l_Button-Danger-BG inset; background-color: @l_Button-Simple-BG; &:hover, &:focus, &.is-active { background-color: @l_Button-Danger-BG; color: @l_Button-Danger-Text; // box-shadow: 0 0 0 1px @l_Button-Danger-BG inset; .t-Icon { color: @l_Button-Danger-Text; } } } /* Success Simple Button ========================================================================== */ .t-Button--simple.t-Button--success:not(.t-Button--hot) { // @textColor: contrast(@l_Button-Simple-BG, mix(darken(@l_Button-Simple-BG, 90%), @l_Button-Success-BG), mix(lighten(@l_Button-Simple-BG, 90%), @l_Button-Success-BG), 50%); @dark: darken(@l_Button-Success-BG,25%); @light: lighten(@l_Button-Success-BG,0%); @textColor: contrast(@l_Button-Success-BG,@dark,@light); &, .t-Icon { color: @textColor; } box-shadow: 0 0 0 1px @l_Button-Success-BG inset; background-color: @l_Button-Simple-BG; &:hover, &:focus, &.is-active { background-color: @l_Button-Success-BG; color: @l_Button-Success-Text; // box-shadow: 0 0 0 1px @l_Button-Success-BG inset; .t-Icon { color: @l_Button-Success-Text; } } } /* ========================================================================== No UI and Link Style Buttons ========================================================================== */ /* Default No UI Button ========================================================================== */ .t-Button--noUI { background-color: transparent !important; &:not(:hover):not(:focus):not(.is-active) { box-shadow: none; } &:hover, &:focus, &.is-active { background-color: contrast(@l_Button-Simple-BG, darken(@l_Button-Simple-BG, 10%), lighten(@l_Button-Simple-BG, 10%), 43%); // box-shadow: 0 0 0 1px rgba(0,0,0,0.125) inset; } &:focus:hover { box-shadow: 0 0 0 1px rgba(0,0,0,0.125) inset; } } /* Default Link Style Button ========================================================================== */ .t-Button--link { background-color: transparent !important; box-shadow: none !important; &:hover { text-decoration: underline; } &:focus { // box-shadow: 0 0 0 1px currentColor inset !important; } &.t-Button, .t-Icon { color: @g_Link-Base; } } /* Hot No UI Button ========================================================================== */ .t-Button--noUI.t-Button--hot { // @textColor: contrast(@l_Button-Hot-BG, mix(darken(@l_Button-Hot-BG, 40%), #FFF), mix(lighten(@l_Button-Hot-BG, 40%), #FFF), 50%); @dark: darken(@l_Button-Hot-BG,25%); @light: lighten(@l_Button-Hot-BG,0%); @textColor: contrast(@l_Button-Hot-BG,@dark,@light); &, .t-Icon { color: @textColor; } } /* Primary No UI Button ========================================================================== */ .t-Button--noUI.t-Button--primary, .t-Button--link.t-Button--primary { // @textColor: contrast(@l_Button-Primary-BG, mix(darken(@l_Button-Primary-BG, 40%), #FFF), mix(lighten(@l_Button-Primary-BG, 40%), #FFF), 50%); @dark: darken(@l_Button-Primary-BG,25%); @light: lighten(@l_Button-Primary-BG,0%); @textColor: contrast(@l_Button-Primary-BG,@dark,@light); &, .t-Icon { color: @textColor !important; } } /* Warning No UI Button ========================================================================== */ .t-Button--noUI.t-Button--warning, .t-Button--link.t-Button--warning { // @textColor: contrast(@l_Button-Warning-BG, mix(darken(@l_Button-Warning-BG, 40%), #FFF), mix(lighten(@l_Button-Warning-BG, 40%), #FFF), 50%); @dark: darken(@l_Button-Warning-BG,25%); @light: lighten(@l_Button-Warning-BG,0%); @textColor: contrast(@l_Button-Warning-BG,@dark,@light); &, .t-Icon { color: @textColor !important; } } /* Danger No UI Button ========================================================================== */ .t-Button--noUI.t-Button--danger, .t-Button--link.t-Button--danger { // @textColor: contrast(@l_Button-Danger-BG, mix(darken(@l_Button-Danger-BG, 40%), #FFF), mix(lighten(@l_Button-Danger-BG, 40%), #FFF), 50%); @dark: darken(@l_Button-Danger-BG,25%); @light: lighten(@l_Button-Danger-BG,0%); @textColor: contrast(@l_Button-Danger-BG,@dark,@light); &, .t-Icon { color: @textColor !important; } } /* Success No UI Button ========================================================================== */ .t-Button--noUI.t-Button--success, .t-Button--link.t-Button--success { // @textColor: contrast(@l_Button-Success-BG, mix(darken(@l_Button-Success-BG, 40%), #FFF), mix(lighten(@l_Button-Success-BG, 40%), #FFF), 50%); @dark: darken(@l_Button-Success-BG,25%); @light: lighten(@l_Button-Success-BG,0%); @textColor: contrast(@l_Button-Success-BG,@dark,@light); &, .t-Icon { color: @textColor !important; } } /* ========================================================================== High Contrast ========================================================================== */ // Removing as it is already in Core // .t-Button--pillStart { // border-top-right-radius: 0 !important; // border-bottom-right-radius: 0 !important; // } // .t-Button--pillEnd { // border-top-left-radius: 0 !important; // border-bottom-left-radius: 0 !important; // } // .t-Button--pill { // border-radius: 0 !important; // } // Why is this needed? // .t-Button--hideShow { // &.t-Button {border-radius: 100%;} // } .t-Header-branding .t-Button { // Removing !important to fix bugs where the menu button would not show active state background-color: transparent; } .t-Button.t-Button--header { // transition: none; border-radius: 2px; box-shadow: none; &:focus, &:active:focus { &:before { box-shadow: 0 0 0 1px lighten(@g_Focus,15%) inset !important; } } &:hover, &:focus, &:active, { background-color: transparent; } &:hover { background-color: rgba(0,0,0,.1); } &:active, &:focus:active { background-color: rgba(0,0,0,.4); } &.is-active { background-color: rgba(0,0,0,.25); box-shadow: none; } } .t-Button.t-Button--headerTree { min-width: 32px; &:focus { box-shadow: 0 0 0 1px lighten(@g_Focus,15%) inset; } @media only screen and (max-width: 480px) { background-color: rgba(0,0,0,.25); } } .t-Button.t-Button--headerRight { background-color: @g_Actions-Col-BG; border: 1px solid contrast(@g_Actions-Col-BG, darken(@g_Actions-Col-BG, 10%), lighten(@g_Actions-Col-BG, 10%), 43%); &:hover { background-color: contrast(@g_Actions-Col-BG, darken(@g_Actions-Col-BG, 10%), lighten(@g_Actions-Col-BG, 10%), 43%); } &:active, &.is-active { color: fade(contrast(@g_Actions-Col-BG, desaturate(darken(@g_Actions-Col-BG, 75%), 100%), desaturate(lighten(@g_Actions-Col-BG, 75%), 50%)), 100%); } } .t-Button--navBar { .t-Button-badge { border-radius: @g_Button-BorderRadius; background-color: rgba(0,0,0,.35); } } .t-Button--helpButton .a-Icon { opacity: .5; } /* Navigation Bar Menus ========================================================================== */ @l_NavBarButton-Active-BG: darken(@g_Accent-BG,15%); // @l_NavBarButton-Active-FG: contrast(@bg, darken(@bg, 75), lighten(@bg, 75), 43%); @l_NavBarButton-Active-FG: fade(contrast(@l_NavBarButton-Active-BG, desaturate(darken(@l_NavBarButton-Active-BG, 75%), 100%), desaturate(lighten(@l_NavBarButton-Active-BG, 75%), 50%)), 100%); .t-Header-navBar .t-Button--header.is-active { border-bottom-right-radius: 0; border-bottom-left-radius: 0; background-color: @l_NavBarButton-Active-BG; color: @l_NavBarButton-Active-FG; } /* ========================================================================== Modifiers in Buttons ========================================================================== */ /* Set white for when ========================================================================== */ .t-Button.t-Button--noUI, .t-Button.t-Button--link, .t-Button.t-Button--simple { .fa:after { background-color: #FFF; } } /* Danger Button ========================================================================== */ .t-Button--danger, .t-Button--simple.t-Button--danger:hover { .fa:after { background-color: @g_Danger-BG; } } /* Success Button ========================================================================== */ .t-Button--success, .t-Button--simple.t-Button--success:hover { .fa:after { background-color: @g_Success-BG; } } /* Primary Button ========================================================================== */ .t-Button--primary, .t-Button--simple.t-Button--primary:hover { .fa:after { background-color: @g_Primary-BG; } } /* Warning Button ========================================================================== */ .t-Button--warning, .t-Button--simple.t-Button--warning:hover { .fa:after { background-color: @g_Warning-BG; } } /* Hot Button ========================================================================== */ .t-Button--hot, .t-Button--simple.t-Button--hot:hover { .fa:after { background-color: @l_Button-Hot-BG; } } /** * Import Compass */ /* ========================================================================== Button Region ========================================================================== */ .t-ButtonRegion { background-color: @g_Region-BG; color: @g_Region-FG; border-radius: @g_Container-BorderRadius; } .t-ButtonRegion--noUI { background-color: transparent; } .t-ButtonRegion--wizard,.t-ButtonRegion--dialogRegion { border-radius: 0 0 2px 2px; } .t-ButtonRegion--dialogRegion { background-color: transparent; } .t-ButtonRegion--showTitle { .t-ButtonRegion-title { .text-dark(); } } .t-Body-actions .t-ButtonRegion { background-color: transparent; border-radius: 0; } /** * Import Compass and Theme Variables */ /* ========================================================================== Classic Calendar ========================================================================== */ @fc-Border: contrast(@g_Region-BG, darken(@g_Region-BG, 8%), lighten(@g_Region-BG, 8%), 43%); @fc-Body-BG: @g_Region-BG; @fc-Body-FG: @g_Region-FG; @fc-CalHeader-BG: @g_Region-Header-BG; @fc-CalHeader-FG: @g_Region-Header-FG; @fc-BorderRadius: @g_Container-BorderRadius; /* Calendar Header ========================================================================== */ .fc.ui-widget { background-color: @fc-Body-BG; } .fc-toolbar { border-color: @fc-Border; background-color: @fc-Body-BG; border-radius: @fc-BorderRadius @fc-BorderRadius 0 0; } .fc-toolbar h2, .fc .fc-basic-view td.fc-day-number, .fc .fc-day-number { color: @fc-Body-FG; } .fc-day-header.ui-widget-header, .fc-view .ui-widget-header { background-color: contrast(@fc-CalHeader-BG, darken(@fc-CalHeader-BG, 5%), lighten(@fc-CalHeader-BG, 5%), 43%); color: @fc-CalHeader-FG; border-color: contrast(@fc-CalHeader-BG, darken(@fc-CalHeader-BG, 10%), lighten(@fc-CalHeader-BG, 10%), 43%); } div.fc-agendaList { background-color: @fc-Body-BG; border-color: @fc-Border; color: @fc-Body-FG; } .fc .fc-agendaList-dayHeader { background-color: contrast(@fc-CalHeader-BG, darken(@fc-CalHeader-BG, 15%), lighten(@fc-CalHeader-BG, 15%), 43%); color: @fc-CalHeader-FG; border-color: contrast(@fc-Body-BG, darken(@fc-Body-BG, 2%), lighten(@fc-Body-BG, 2%), 43%); } .fc .fc-agendaList-day { color: @fc-CalHeader-FG; } .fc .fc-agendaList-date { color: contrast(@fc-CalHeader-FG, darken(@fc-CalHeader-FG, 15%), lighten(@fc-CalHeader-FG, 15%), 43%); } .fc .fc-agendaList .fc-event-start-time, .fc .fc-agendaList .fc-event-all-day { color: contrast(@fc-Body-FG, darken(@fc-Body-FG, 15%), lighten(@fc-Body-FG, 15%), 43%); } body .fc td.fc-today, body .fc .ui-widget-content { border-color: contrast(@fc-Body-BG, darken(@fc-Body-BG, 10%), lighten(@fc-Body-BG, 10%), 43%); color: @fc-Body-FG; } body .ui-widget-content.fc-today.ui-state-highlight { background-color: contrast(@fc-Body-BG, darken(@fc-Body-BG, 5%), lighten(@fc-Body-BG, 5%), 43%); } .fc .fc-agendaList-item { border-color: contrast(@fc-Body-BG, darken(@fc-Body-BG, 2%), lighten(@fc-Body-BG, 2%), 43%); } .fc .ui-button:active, .fc .ui-button:focus, .fc-view:active, .fc-view:focus { outline: 1px solid @g_Focus; } .fc-view-container > .fc-view { &:active, &:focus { outline: none; } } /* ========================================================================== Cards Container ========================================================================== */ @l_Card-BG: @g_Region-BG; .t-Card-wrap { border-radius: 2px; background-color: @l_Card-BG; &:focus { border-color: @g_Focus; } } .t-Card-icon { color: @l_Card-BG; } .t-Card-desc { color: fade(contrast(@l_Card-BG, desaturate(darken(@l_Card-BG, 75%), 100%), desaturate(lighten(@l_Card-BG, 75%), 50%)), 100%); } .t-Card-info, .t-Card-subtitle { color: fade(contrast(@l_Card-BG, desaturate(darken(@l_Card-BG, 60%), 100%), desaturate(lighten(@l_Card-BG, 60%), 50%)), 100%); } .t-Card-title { color: fade(contrast(@l_Card-BG, darken(@l_Card-BG, 75%), lighten(@l_Card-BG, 75%)), 100%); } .t-Card-colorFill, .t-Card-icon { background-color: fade(contrast(@l_Card-BG, darken(@l_Card-BG, 25%), lighten(@l_Card-BG, 25%)), 100%); } /** * Import Compass and Theme Variables */ /* ========================================================================== Classic Calendar ========================================================================== */ .t-ClassicCalendar { } .t-ClassicCalendar-monthTitle { color: @g_Region-FG; } .t-ClassicCalendar-dayColumn { background-color: contrast(@g_Region-BG, darken(@g_Region-BG, 2%), lighten(@g_Region-BG, 2%), 43%); vertical-align: top; border-color: contrast(@g_Region-BG, darken(@g_Region-BG, 5%), lighten(@g_Region-BG, 5%), 43%); color: contrast(@g_Region-FG, darken(@g_Region-FG, 15%), lighten(@g_Region-FG, 15%), 43%); } .t-ClassicCalendar-day { border-color: contrast(@g_Region-BG, darken(@g_Region-BG, 5%), lighten(@g_Region-BG, 5%), 43%); &.is-inactive .t-ClassicCalendar-date{ opacity: .5; } &.is-weekend, &.is-inactive { background-color: contrast(@g_Region-BG, darken(@g_Region-BG, 1%), lighten(@g_Region-BG, 1%), 43%); } &.is-today { .t-ClassicCalendar-date { background-color: @g_Accent-BG; color: @g_Accent-FG; } } } .t-ClassicCalendar-date { color: contrast(@g_Region-FG, darken(@g_Region-FG, 25%), lighten(@g_Region-FG, 25%), 43%); } .t-ClassicCalendar-event { background-color: contrast(@g_Region-BG, darken(@g_Region-BG, 5%), lighten(@g_Region-BG, 5%), 43%) } .t-ClassicCalendar-event { color: @g_Region-FG; a { background-color: @g_Accent-BG; color: @g_Accent-FG; } } // // Weekly Calendar // .t-ClassicCalendar--weekly, .t-ClassicCalendar--daily { .t-ClassicCalendar-timeCol { background-color: contrast(@g_Region-BG, darken(@g_Region-BG, 2%), lighten(@g_Region-BG, 2%), 43%); } .t-ClassicCalendar-dayEvents { color: @g_Region-FG; } .t-ClassicCalendar-dayEvents a { background-color: @g_Accent-BG; color: @g_Accent-FG; } .t-ClassicCalendar-day { &.is-today { background-color: contrast(@g_Accent-BG, darken(@g_Accent-BG, 50%), lighten(@g_Accent-BG, 50%), 43%); } } } // // List Calendar // .t-ClassicCalendar-list { border-color: contrast(@g_Region-BG, darken(@g_Region-BG, 5%), lighten(@g_Region-BG, 5%), 43%); } .t-ClassicCalendar-listTitle, .t-ClassicCalendar-listEvent { border-color: contrast(@g_Region-BG, darken(@g_Region-BG, 5%), lighten(@g_Region-BG, 5%), 43%); } .t-ClassicCalendar-listTitle { background-color: contrast(@g_Region-BG, darken(@g_Region-BG, 2%), lighten(@g_Region-BG, 2%), 43%); color: contrast(@g_Region-FG, darken(@g_Region-FG, 15%), lighten(@g_Region-FG, 15%), 43%); } .t-ClassicCalendar-listEvent { color: @g_Region-FG; } // @comment_BG: contrast(@g_Region-BG, darken(@g_Region-BG, 3%), lighten(@g_Region-BG, 3%), 43%); @comment_icon_bg: contrast(@g_Region-BG, darken(@g_Region-BG, 5%), lighten(@g_Region-BG, 5%), 43%); // @comment_FG: fade(contrast(@comment_BG, desaturate(darken(@comment_BG, 100%), 100%), desaturate(lighten(@comment_BG, 100%), 50%)), 100%); @comment_BGX: contrast(@g_Accent-BG, darken(@g_Accent-BG, 57%), lighten(@g_Accent-BG, 57%), 43%); @comment_BGY: desaturate(@comment_BGX,48%); @comment_BG: darken(@comment_BGY,3%); @comment_FG: fade(contrast(@comment_BG, desaturate(darken(@comment_BG, 100%), 100%), desaturate(lighten(@comment_BG, 100%), 50%)), 100%); @comment_basic_BG: contrast(@g_Region-BG, darken(@g_Region-BG, 1.5%), lighten(@g_Region-BG, 1.5%), 43%); @active_comment_BGX: contrast(@g_Accent-BG, darken(@g_Accent-BG, 57%), lighten(@g_Accent-BG, 57%), 43%); @active_comment_BGY: desaturate(@active_comment_BGX,48%); @active_comment_BG: darken(@active_comment_BGY,12%); @active_comment_FG: fade(contrast(@active_comment_BG, desaturate(darken(@active_comment_BG, 100%), 100%), desaturate(lighten(@active_comment_BG, 100%), 50%)), 100%); .t-Comments--chat { .t-Comments-comment { background-color: @comment_BG; color: @comment_FG; &:after { border-right-color: @comment_BG; } } .t-Comments-item.is-active .t-Comments-comment { background-color: @active_comment_BG; color: @active_comment_FG; &:after { border-right-color: @active_comment_BG; } } } .t-Comments--basic { .t-Comments-item.is-active { background-color: @comment_basic_BG; } } .t-Comments-item.is-systemMessage { background-color: contrast(@comment_BG, darken(@comment_BG, 5%), lighten(@comment_BG, 5%), 43%); } .t-Comments-info { color: fade(contrast(@comment_BG, desaturate(darken(@comment_BG, 60%), 100%), desaturate(lighten(@comment_BG, 60%), 50%)), 100%); } .t-Comments-comment { color: fade(contrast(@comment_BG, desaturate(darken(@comment_BG, 100%), 100%), desaturate(lighten(@comment_BG, 100%), 50%)), 100%); } .t-ConfigPanel-about { background-color: lighten(#FFCB3D,32%); color: #565656; } .t-ConfigPanel-icon { border-radius: 100%; background-color: #A0A0A0; color: #FFF; &.is-enabled { background-color: @g_Success-BG; } &.is-disabled { background-color: @g_Danger-BG; } } .t-ConfigPanel-setting,.t-ConfigPanel-status { color: @g_Region-FG-Light; } .t-ConfigPanel-status { color: @g_Region-FG; } .t-ConfigPanel-attrLink { color: @g_Region-FG-Light; &:hover { background-color: rgba(0,0,0,.05); } } .t-ConfigPanel-attrLabel { // color: @g_Region-FG; } .t-ConfigPanel-attrValue { color: @g_Link-Base; } .t-Dialog { background-color: @g_Region-BG; } /* Scrollbars ========================================================================== */ .t-Dialog { ::-webkit-scrollbar-thumb { background-color: contrast(@g_Region-BG, darken(@g_Region-BG, 25%), lighten(@g_Region-BG, 25%), 43%); &:hover { background-color: contrast(@g_Region-BG, darken(@g_Region-BG, 30%), lighten(@g_Region-BG, 30%), 43%) } } &::-webkit-scrollbar-track { background-color: @g_Region-BG; } } /** * Import Compass and Theme Variables */ /* Footer Top Button ========================================================================== */ .t-Footer-topButton { background-color: @g_Region-BG; color: contrast(@g_Body-Text, darken(@g_Body-Text, 20%), lighten(@g_Body-Text, 20%), 43%); &:focus { box-shadow: 0 0 0 1px @g_Focus inset; } } @focusBg: lighten(@g_Form-Item-BG, 10%); @hoverBg: lighten(@g_Form-Item-BG, 5%); @formBG: contrast(@g_Form-Item-BG, darken(@g_Form-Item-BG, 10%), lighten(@g_Form-Item-BG, 10%), 43%); .t-Form-inputContainer:before { color: @g_Form-Item-FG; } .apex-item-textarea, .apex-item-text, .apex-item-select { color: @g_Form-Item-FG; background-color: @g_Form-Item-BG; border-color: contrast(@g_Form-Item-BG, darken(@g_Form-Item-BG, 10%), lighten(@g_Form-Item-BG, 10%), 43%); &.apex-page-item-error { &:required:valid { border-color: contrast(@g_Form-Item-BG, darken(@g_Form-Item-BG, 10%), lighten(@g_Form-Item-BG, 10%), 43%); } border-color: contrast(@g_Danger-BG, darken(@g_Danger-BG, 10%), lighten(@g_Danger-BG, 10%), 43%); } } .t-Form-fieldContainer--floatingLabel .t-Form-inputContainer .apex-item-display-only { color: @g_Form-Item-FG; background-color: @hoverBg; border-color: @formBG; border-style: dashed; } /* File Upload */ .apex-item-file-dropzone-label { background-color: @hoverBg; color: fade(@g_Form-Item-FG,70%); border-radius: @g_Form-BorderRadius 0 0 @g_Form-BorderRadius; .u-RTL & { border-radius: 0 @g_Form-BorderRadius @g_Form-BorderRadius 0; } } .apex-item-file-dropzone-icon { background-color: @g_Form-Item-BG; border-radius: 0 @g_Form-BorderRadius @g_Form-BorderRadius 0; .u-RTL & { border-radius: @g_Form-BorderRadius 0 0 @g_Form-BorderRadius; } } .apex-item-file:hover + .apex-item-file-dropzone { .apex-item-file-dropzone-label { color: @g_Form-Item-FG; } .apex-item-file-dropzone-icon { background-color: @focusBg; color: @g_Form-Item-FG; } } .apex-item-file:focus + .apex-item-file-dropzone { .apex-item-file-dropzone-label { border-color: @g_Focus; color: @g_Form-Item-FG; } .apex-item-file-dropzone-icon { border-color: @g_Focus; background-color: @g_Focus; color: @g_Focus-FG; } } .apex-item-textarea:focus, .apex-item-text:focus, .apex-item-select:focus { background-color: @focusBg !important; border-color: @g_Focus !important; } .apex-item-textarea:hover, .apex-item-text:hover, .apex-item-select:hover { background-color: @hoverBg; } .t-Form-inputContainer input::-webkit-input-placeholder{ color: contrast(@g_Form-Item-BG, darken(@g_Form-Item-BG, 100%), lighten(@g_Form-Item-BG, 100%), 43%); opacity: .4; } .t-Form-inputContainer input::-moz-placeholder{ color: contrast(@g_Form-Item-BG, darken(@g_Form-Item-BG, 100%), lighten(@g_Form-Item-BG, 100%), 43%); opacity: .4; } .t-Form-inputContainer input:-ms-input-placeholder{ color: contrast(@g_Form-Item-BG, darken(@g_Form-Item-BG, 100%), lighten(@g_Form-Item-BG, 100%), 43%); opacity: .4; } .t-Form input.file { color: @g_Form-Item-FG; } .t-Form-inputContainer span.display_only { border-color: transparent; background-color: transparent; } .t-Form-select, .t-Form-inputContainer select.selectlist, .t-Form-inputContainer select.yes_no { color: @g_Form-Item-FG; border-color: contrast(@g_Form-Item-BG, darken(@g_Form-Item-BG, 10%), lighten(@g_Form-Item-BG, 10%), 43%); } .t-Form-field--readOnly { background-color: transparent; } .t-Form-radioLabel, .t-Form-inputContainer .radio_group label, .t-Form-checkboxLabel, .t-Form-inputContainer .checkbox_group label, .t-Form-label { color: @g_Form-Label; // .text-dark(); } .t-Form-error { color: @g_Danger-BG; } // .has-icon:required:valid + .apex-item-icon { // color: @g_Form-Item-FG; // } .t-Form-postText { color: fade(contrast(@g_Form-Label, desaturate(darken(@g_Form-Label, 50%), 100%), desaturate(lighten(@g_Form-Label, 50%), 50%)), 100%); } .t-Form--search { input.t-Form-searchField { background-color: @g_Form-Item-BG; color: contrast(@g_Form-Item-BG, darken(@g_Form-Item-BG, 75%), lighten(@g_Form-Item-BG, 75%), 43%); } } .a-Button.a-Button--calendar, .a-Button.a-Button--popupLOV { border-radius: 0 @g_Form-BorderRadius @g_Form-BorderRadius 0; .u-RTL & { border-radius: @g_Form-BorderRadius 0 0 @g_Form-BorderRadius; } } .t-Form-inputContainer input.hasDatepicker, .t-Form-inputContainer input.popup_lov { border-radius: @g_Form-BorderRadius 0 0 @g_Form-BorderRadius; .u-RTL & { border-radius: 0 @g_Form-BorderRadius @g_Form-BorderRadius 0; } } /****************************************************************************** Checkbox + Radio Buttons ******************************************************************************/ .checkbox_group input, .radio_group input { & + label { &:before { background-color: @g_Form-Item-BG; } } /* Focus ========================================================================== */ &:focus + label:before { border-color: @g_Focus; } &:focus:checked + label:before { border-color: @g_Focus; background-color: @g_Focus; box-shadow: 0 0 0 1px @g_Form-Item-BG inset; } /* Checked ========================================================================== */ &:checked { & + label:before { border-color: @g_Focus; background-color: @g_Focus; } } } /****************************************************************************** Radio Specific ******************************************************************************/ .radio_group input { & + label { &:after { background-color: @g_Form-Item-BG; } } } /****************************************************************************** Radio Button Pills with Checkbox + Radio Buttons ******************************************************************************/ .t-Form-fieldContainer--radioButtonGroup .checkbox_group input { & + label { &:before { background-color: darken(@g_Form-Item-BG,7.5%); border-color: transparent; } } /* Focus ========================================================================== */ &:focus + label:before { border-color: @g_Focus; } &:focus:checked + label:before { border-color: @g_Form-Item-BG; background-color: @g_Form-Item-BG; box-shadow: 0 0 0 1px @g_Focus inset; } &:focus:checked + label:after { color: @g_Focus; } /* Checked ========================================================================== */ &:checked { & + label:before { border-color: @g_Form-Item-BG; background-color: @g_Form-Item-BG; } & + label:after { color: @g_Focus; } } } /* Pre and Post Text Styles ========================================================================== */ .t-Form-fieldContainer--preTextBlock .t-Form-itemText--pre, .t-Form-fieldContainer--postTextBlock .t-Form-itemText--post { background-color: @g_Form-Item-BG; box-shadow: 0 0 0 .1rem contrast(@g_Form-Item-BG, darken(@g_Form-Item-BG, 10%), lighten(@g_Form-Item-BG, 10%), 43%) inset; border-radius: @g_Form-BorderRadius; } .t-Form-fieldContainer--preTextBlock { .t-Form-itemText--pre { border-radius: @g_Form-BorderRadius 0 0 @g_Form-BorderRadius; .u-RTL & { border-radius: 0 @g_Form-BorderRadius @g_Form-BorderRadius 0; } } } .t-Form-fieldContainer--postTextBlock { .t-Form-itemText--post { border-radius: 0 @g_Form-BorderRadius @g_Form-BorderRadius 0; .u-RTL & { border-radius: @g_Form-BorderRadius 0 0 @g_Form-BorderRadius; } } } /* Icon Focus State ========================================================================== */ .apex-item-has-icon:focus + .apex-item-icon { color: @g_Focus; } /* ========================================================================== Floating Labels ========================================================================== */ .t-Form-fieldContainer--floatingLabel { .apex-item-icon { // background-color: mix(@formBG,transparent); color: fade(contrast(@g_Form-Label, desaturate(darken(@g_Form-Label, 10%), 100%), desaturate(lighten(@g_Form-Label, 10%), 50%)), 100%); box-shadow: -.1rem 0 0 @formBG inset; border-radius: @g_Form-BorderRadius 0 0 @g_Form-BorderRadius; .u-RTL & { box-shadow: .1rem 0 0 @formBG inset; border-radius: 0 @g_Form-BorderRadius @g_Form-BorderRadius 0; } } .apex-item-has-icon:focus + .apex-item-icon { box-shadow: none; } } /* Help Button ========================================================================== */ .t-Form-helpButton { &:focus .a-Icon { color: @g_Focus; } } /* Pill Buttons ========================================================================== */ /* Vertical Pills */ .t-Form-fieldContainer--radioButtonGroup .t-Form-itemWrapper > .apex-item-group { & > .apex-item-option:first-of-type label { border-radius: @g_Form-BorderRadius @g_Form-BorderRadius 0 0; } & > .apex-item-option:last-of-type label { border-radius: 0 0 @g_Form-BorderRadius @g_Form-BorderRadius; } } /* Horizontal Pills */ .t-Form-fieldContainer--radioButtonGroup .apex-item-grid .apex-item-grid-row:only-child { .apex-item-option:first-of-type label { border-radius: @g_Form-BorderRadius 0 0 @g_Form-BorderRadius; } .apex-item-option:last-of-type label { border-radius: 0 @g_Form-BorderRadius @g_Form-BorderRadius 0; } } .u-RTL { .t-Form-fieldContainer--radioButtonGroup .apex-item-grid .apex-item-grid-row:only-child { .apex-item-option:first-of-type label { border-radius: 0 @g_Form-BorderRadius @g_Form-BorderRadius 0; } .apex-item-option:last-of-type label { border-radius: @g_Form-BorderRadius 0 0 @g_Form-BorderRadius; } } } /* // Fieldsets apex-item-fieldset apex-item-fieldset--popup-lov apex-item-fieldset--shuttle apex-item-fieldset--switch apex-item-fieldset--textarea // Item Icon apex-item-has-icon apex-item-icon // Item Types apex-item-checkbox apex-item-datepicker apex-item-popup-lov apex-item-radio apex-item-select apex-item-switch apex-item-switch--no apex-item-switch--yes apex-item-text apex-item-textarea // Item Wrappers apex-item-wrapper apex-item-wrapper--checkbox apex-item-wrapper--date-picker apex-item-wrapper--has-icon apex-item-wrapper--popup-lov apex-item-wrapper--radiogroup apex-item-wrapper--select-list apex-item-wrapper--shuttle apex-item-wrapper--text-field apex-item-wrapper--textarea apex-item-wrapper--yes-no // Item Layout .apex-item-grid > .apex-item-grid-row * 3 > .apex-item-option apex-item-input-wrap apex-item-input-wrap */ /** * Import Compass and Theme Variables */ /* ========================================================================== Header ========================================================================== */ .t-Header-branding { background-color: @g_Header-BG; } .t-Header-logo, .t-Header .t-Button--header.is-active, .t-Header .t-Button--header { color: @g_Header-FG; &:hover { text-decoration: none; } } .t-Header-logo-link { color: inherit; // border-radius: 2px; &:focus, &:active:focus { outline: none; box-shadow: 0 0 0 1px lighten(@g_Focus,15%) inset; } } .t-Header-nav { background-color: @g_Nav-BG; } .t-Header { .a-MenuBar-item { &:hover { background-color: transparent; } } .a-MenuBar-item > .a-Menu-subMenuCol { .a-Icon { border-radius: 100%; } } .a-Menu.a-Menu--top > .a-Menu-content { border-top-width: 0; } .a-Menu-content { box-shadow: 0 2px 6px rgba(0,0,0,.15); } } .t-Header-nav-list { background-color: transparent; } .t-HeroRegion-icon { border-radius: 4px; background-color: @g_Accent-BG; color: @g_Accent-FG; } .t-HeroRegion-title { color: @g_Body-Text; } .t-HeroRegion-col--content { color: fade(contrast(@g_Body-BG, desaturate(darken(@g_Body-BG, 55%), 100%), desaturate(lighten(@g_Body-BG, 55%), 50%)), 100%); } /* { "var" : "@irrBg", "name" : "UTR.LESS.BACKGROUND", "type" : "color", "group": "UTR.LESS.INTERACTIVE_REPORTS" } */ @irrBg: @g_Region-BG; /* { "var" : "@menu_Tabs-Active-BG", "name" : "UTR.LESS.BACKGROUND", "type" : "color", "group": "UTR.LESS.INTERACTIVE_REPORTS", "subgroup": "UTR.LESS.MENU" } */ @menu_Tabs-Active-BG: darken( @g_Accent-BG,5%); /* { "var" : "@menu_Tabs-Active-Text", "name" : "UTR.LESS.TEXT", "type" : "color", "group": "UTR.LESS.INTERACTIVE_REPORTS", "subgroup": "UTR.LESS.MENU" } */ @menu_Tabs-Active-Text: fade(contrast( @g_Accent-BG, darken( @g_Accent-BG, 50%), lighten( @g_Accent-BG, 50%)), 100%); /* { "var" : "@menu_Tabs-Hover-BG", "name" : "UTR.LESS.HOVER_STATE", "type" : "color", "group": "UTR.LESS.INTERACTIVE_REPORTS" } */ @menu_Tabs-Hover-BG: darken( @g_Accent-BG,15%); @menu_Tabs-Text: contrast( @g_Accent-BG); .a-IRR { border-radius: @g_Container-BorderRadius; border-color: rgba(0,0,0,.1); background-color: @irrBg; .a-IRR-pagination-label { color: fade(contrast(@irrBg, desaturate(darken(@irrBg, 55%), 100%), desaturate(lighten(@irrBg, 55%), 50%)), 100%); } } .a-IRR-reportSummary-value { color: fade(contrast(@irrBg, desaturate(darken(@irrBg, 75%), 100%), desaturate(lighten(@irrBg, 75%), 50%)), 100%); } .a-IRR-controlsContainer { border-top-color: contrast(@irrBg, darken(@irrBg, 4%), lighten(@irrBg, 4%), 43%); background-color: contrast(@irrBg, darken(@irrBg, 2%), lighten(@irrBg, 2%), 43%); } .a-IRR-fullView { background-color: @irrBg; } .a-IRR-button.a-IRR-button--controls { background-color: transparent; // background-color: contrast(@irrBg, darken(@irrBg, 10%), lighten(@irrBg, 10%), 43%); // &:hover { // background-color: contrast(@irrBg, darken(@irrBg, 25%), lighten(@irrBg, 25%), 43%); // } } // .a-IRR-sortWidget { // box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) // } .a-IRR-toolbar { background: @g_Region-Header-BG; border-color: contrast(@g_Region-Header-BG, darken(@g_Region-Header-BG, 10%), lighten(@g_Region-Header-BG, 10%), 43%); } @l_Progress-BG: @g_Accent-BG; .a-Report-percentChart-fill { background-color: @l_Progress-BG; } .a-Report-percentChart { background-color: contrast(@l_Progress-BG, darken(@l_Progress-BG, 50%), lighten(@l_Progress-BG, 50%), 43%); } .a-IRR-button--colSearch { -webkit-border-top-right-radius: 0px !important; -webkit-border-bottom-right-radius: 0px !important; -moz-border-radius-topright: 0px !important; -moz-border-radius-bottomright: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; } .a-IRR-iconViewTable, .a-IRR-chartView, .a-IRR-pivotView, .a-IRR-groupByView, .a-IRR-detailView { border-top-color: contrast(@irrBg, darken(@irrBg, 4%), lighten(@irrBg, 4%), 43%); } .a-IRR-toolbar--singleRow { border-bottom-color: contrast(@irrBg, darken(@irrBg, 6%), lighten(@irrBg, 6%), 43%); } .a-IRR-header { background-color: contrast(@irrBg, darken(@irrBg, 2%), lighten(@irrBg, 2%), 43%); border-top: 1px solid contrast(@irrBg, darken(@irrBg, 10%), lighten(@irrBg, 10%), 43%); box-shadow: inset 1px 0 0 0 contrast(@irrBg, darken(@irrBg, 10%), lighten(@irrBg, 10%), 43%); &:hover { background-color: contrast(@irrBg, darken(@irrBg, 5%), lighten(@irrBg, 5%), 43%); } &.is-active { a { color: inherit; } .a-IRR-headerSort { color: inherit; } } } .a-IRR-header.is-active, .a-GV-header.is-active { background-color: rgba(32,32,32,1); color: #FFF; } .a-IRR-header--group { background-color: contrast(@irrBg, darken(@irrBg, 4%), lighten(@irrBg, 4%), 43%); } .a-IRR-table tr td { background-color: @irrBg; color: fade(contrast(@irrBg, desaturate(darken(@irrBg, 75%), 100%), desaturate(lighten(@irrBg, 75%), 50%)), 100%); } .a-IRR-table { border-collapse: separate; } .a-IRR-table tr:nth-child(even):hover td { // .text-contrast(@_light_hover_bg); } .a-IRR-table tr:hover td { background-color: contrast(@irrBg, darken(@irrBg, 2.5%), lighten(@irrBg, 2.5%), 43%); } .t-IRR-region--noBorders { .a-IRR { border-radius: @g_Container-BorderRadius; } } .a-IRR-table td { border-left: 1px solid darken(@irrBg, 5%); border-top: 1px solid darken(@irrBg, 5%); } .a-IRR-headerLink:focus { box-shadow: 0 0 0 1px @g_Focus inset; } .a-IRR-search-field:focus { border-color: @g_Focus; box-shadow: -1px 0 0 @g_Focus inset, 1px 0 0 @g_Focus inset; } .a-IRR-singleRow-name, .a-IRR-singleRow-value { border-bottom-color: contrast(@irrBg, darken(@irrBg, 6%), lighten(@irrBg, 6%), 43%); color: contrast(@irrBg, darken(@irrBg, 75%), lighten(@irrBg, 75%), 43%); } .a-IRR-singleRow-value { background-color: @irrBg; .a-IRR-singleRow-row:hover & { background-color: contrast(@irrBg, darken(@irrBg, 3%), lighten(@irrBg, 3%), 43%); } } .a-IRR-singleRow-name { background-color: contrast(@irrBg, darken(@irrBg, 3%), lighten(@irrBg, 3%), 43%); .a-IRR-singleRow-row:hover & { background-color: contrast(@irrBg, darken(@irrBg, 6%), lighten(@irrBg, 6%), 43%); } } .a-IRR-button.a-IRR-button--pagination:hover { background-color: @g_Focus; } .a-IRR-reportSummary-label, .a-IRR-controlsLabel { background-color: @irrBg; } @media only screen and (min-width: 769px) { .is-maximized.t-IRR-region { .t-fht-thead .a-IRR-header { border-bottom: 1px solid contrast(@irrBg, darken(@irrBg, 10%), lighten(@irrBg, 10%), 43%);; } } } .ui-widget-content .a-IRR-iconList-link { color: fade(contrast(@irrBg, desaturate(darken(@irrBg, 75%), 100%), desaturate(lighten(@irrBg, 75%), 50%)), 100%); background-color: @irrBg; } .a-IRR-iconList-link:hover { background-color: contrast(@irrBg, darken(@irrBg, 3%), lighten(@irrBg, 3%), 43%); } /* Override app_ui styles ========================================================================== */ .a-IRR-button:focus { box-shadow: inherit; } /* Sort Widget ========================================================================== */ .a-IRR-sortWidget { background-color: rgba(32,32,32,.95); -webkit-backdrop-filter: blur(4px); color: #FFF; border-width: 0; box-shadow: 0 2px 4px -2px rgba(0,0,0,.5), 0 8px 16px -4px rgba(0,0,0,.15); ::-webkit-scrollbar { width: 8px; height: 8px; } ::-webkit-scrollbar-thumb { background-color: rgba(255,255,255,.5); } ::-webkit-scrollbar-track { background-color: rgba(255,255,255,.25); } } /* Clear Backgrounds */ .a-IRR-sortWidget-help { background-color: transparent; } /* Buttons */ .a-IRR-sortWidget-actions { padding: 8px; border-radius: 2px; width: auto; border-bottom-width: 0; } .a-IRR-sortWidget-actions-item { border-right-width: 0; } .a-IRR-button.a-IRR-sortWidget-button { background-color: transparent; color: #FFF; border-radius: 2px; &:hover { background-color: rgba(0,0,0,.5); } &:focus { box-shadow: 0 0 0 1px @g_Focus inset; } &.is-active, &:active:focus { background-color: rgba(0,0,0,.5); } } .a-IRR-sortWidget-searchLabel { height: 40px; padding: 12px 8px; &:before {color: #FFF;} } .a-IRR-sortWidget-search > .a-IRR-sortWidget-searchField[type="text"] { background-color: transparent; appearance: none; background-color: rgba(255,255,255,.1); height: 40px; color: #FFF; &:focus { box-shadow: 0 0 0 1px @g_Focus inset; } } .a-IRR-sortWidget-rows { border-top-width: 0; } .a-IRR-sortWidget-row { color: #FFF; box-shadow: none; &:hover { background-color: rgba(255,255,255,.15); } &:focus { box-shadow: 0 0 0 1px @g_Focus inset; } } .a-IG .a-IRR-sortWidget:before { color: rgba(32,32,32,.95); } // Color Overrides for JET // @rootFontSize: 12px; // @fontSize: @rootFontSize; // @smallFontSize: @rootFontSize - 1px; // @mediumFontSize: @rootFontSize + 2px; // @largeFontSize: @rootFontSize + 4px; // @largestFontSize: @rootFontSize + 6px; .oj-dvt-category1 {color: @g_Color-Palette-1 } .oj-dvt-category2 {color: @g_Color-Palette-4 } .oj-dvt-category3 {color: @g_Color-Palette-7 } .oj-dvt-category4 {color: @g_Color-Palette-9 } .oj-dvt-category5 {color: @g_Color-Palette-12 } .oj-dvt-category6 {color: @g_Color-Palette-3 } .oj-dvt-category7 {color: @g_Color-Palette-8 } .oj-dvt-category8 {color: @g_Color-Palette-10 } .oj-dvt-category9 {color: @g_Color-Palette-2 } .oj-dvt-category10 {color: @g_Color-Palette-5 } .oj-dvt-category11 {color: @g_Color-Palette-11 } .oj-dvt-category12 {color: @g_Color-Palette-6 } /** * Import Compass and Theme Variables */ /* ========================================================================== Links List ========================================================================== */ .t-LinksList-item, .t-LinksList-link { // border-color: #F0F0F0; border-color: contrast(@g_Region-BG, darken(@g_Region-BG, 10%), lighten(@g_Region-BG, 10%), 43%); } .t-LinksList-icon { color: contrast(@g_Region-BG, darken(@g_Region-BG, 15%), lighten(@g_Region-BG, 15%), 43%); } .t-LinksList-link { &:hover { .region-hover(); } &:focus { box-shadow:0 0 0 1px @g_Focus inset; } } /** * Modifier: Go To Arrow * * Show Go To Arrow on right */ .t-LinksList--showArrow { .t-LinksList-link { // &:hover { // &:before { // color: @g_Accent-BG; // } // } &:before { color: contrast(@g_Region-BG, darken(@g_Region-BG, 15%), lighten(@g_Region-BG, 15%), 43%); } } // &.t-LinksList--brightHover .t-LinksList-link:hover:before { // color: rgba(255,255,255,.5); // } } /** * Modifier: Show Badge * * Show Badge on Right */ .t-LinksList--showBadge { .t-LinksList-badge { background-color: contrast(@g_Region-BG, darken(@g_Region-BG, 4%), lighten(@g_Region-BG, 4%), 43%); color: @g_Region-FG; } .t-LinksList-link:hover .t-LinksList-badge { background-color: contrast(@g_Region-BG, darken(@g_Region-BG, 8%), lighten(@g_Region-BG, 8%), 43%); } // &.t-LinksList--brightHover { // .t-LinksList-link:hover .t-LinksList-badge { // background-color: rgba(0,0,0,.15); // color: #FFF; // } // } .t-LinksList-item.is-expanded > .t-LinksList-link .t-LinksList-badge { background-color: contrast(@g_Region-BG, darken(@g_Region-BG, 25%), lighten(@g_Region-BG, 25%), 43%); // background-color: rgba(0,0,0,.1); } } /** * Modifier: Bright Hover * * Show Bright */ .t-LinksList--brightHover { .t-LinksList-item.is-expanded .t-LinksList-link:hover:before { color: rgba(255,255,255,.5); } .t-LinksList-link { &:hover { background-color: @g_Accent-BG; color: contrast(@g_Accent-BG, darken(@g_Accent-BG, 75%), lighten(@g_Accent-BG, 75%), 43%); .t-LinksList-icon { color: rgba(255,255,255,.75); } } } } .t-LinksList-item.is-expanded { background-color: #FCFCFC; background: linear-gradient(rgba(0,0,0,.015),rgba(0,0,0,0)), linear-gradient(rgba(0,0,0,0),rgba(0,0,0,.015)); .t-LinksList-link:hover:before { color: @g_Accent-BG; } .t-LinksList-link:before { color: rgba(0,0,0,.25) } } .t-LinksList--showBadge { .t-LinksList-badge { border-radius: 4px; } } .t-LinksList--iconOnly { .t-LinksList-icon { border-radius: 100%; } } .t-LinksList--actions { .t-LinksList-label { color: @g_Actions-Col-Text; } .t-LinksList-icon { color: @g_Actions-Col-Text; } .t-LinksList-link:hover { .t-LinksList-icon, .t-LinksList-label, .t-LinksList-badge { color: contrast(@g_Accent-OG, darken(@g_Accent-OG, 75%), lighten(@g_Accent-OG, 75%), 43%); } } } .t-Body-actions .t-LinksList-link { &:hover { background-color: contrast(@g_Actions-Col-BG, darken(@g_Actions-Col-BG, 5%), lighten(@g_Actions-Col-BG, 5%), 43%); } } /** * Import Compass */ /* ========================================================================== Login Page + Region ========================================================================== */ .t-Login-container { } .t-Login-iconValidation { background: @g_Success-BG; color: white; } @l_Form-FG: contrast(@g_Region-FG, darken(@g_Region-FG, 5%), lighten(@g_Region-FG, 5%), 43%); body .t-Login-title { color: @g_Region-FG; } .t-Login-region { background-color: @g_Region-BG; } // .t-Login-region .t-Login-body { // input[type=text], // input.password { // &::-webkit-input-placeholder{ // color: @l_Form-FG; // } // &::-moz-placeholder{ // color: @l_Form-FG; // } // &:-ms-input-placeholder{ // color: @l_Form-FG; // } // } // } .t-Login-logo { color: @g_Accent-BG; } @media only screen and (max-width: 480px) { .t-PageBody--login, .t-PageBody--login .t-Body { background-color: @g_Region-BG; } } /** * Import Compass and Theme Variables */ /****************************************************************************** Color Variables ******************************************************************************/ @g_Border-Outer: contrast(@g_Region-BG, darken(@g_Region-BG, 12%), lighten(@g_Region-BG, 12%), 43%); .t-MediaList { border-color: @g_Border-Outer; background-color: @g_Region-BG; } .t-MediaList-item { border-color: @g_Border-Outer; } .t-MediaList-item.is-active { background-color: rgba(0,0,0,.05); } .t-MediaList--horizontal .t-MediaList-item { border-right: 1px solid @g_Border-Outer; } /* ========================================================================== Link ========================================================================== */ a.t-MediaList-itemWrap { color: @g_Link-Base; &:hover { background-color: contrast(@g_Region-BG, darken(@g_Region-BG, 2%), lighten(@g_Region-BG, 2%), 43%); color: @g_Link-Base; .t-MediaList-badge { } } &:focus { box-shadow:0 0 0 1px @g_Focus inset; } } .t-MediaList-itemWrap { color: @g_Region-FG; } .t-MediaList-badge, .t-MediaList-desc { color: @g_Region-FG-Light; } .t-MediaList-icon { background-color: contrast(@g_Region-BG, darken(@g_Region-BG, 25%), lighten(@g_Region-BG, 25%), 43%); color: @g_Region-BG; } .t-MediaList--cols { box-shadow: -1px -1px 0 0 @g_Border-Outer inset; .t-MediaList-item { &:before, &:after { background-color: contrast(@g_Region-BG, darken(@g_Region-BG, 10%), lighten(@g_Region-BG, 10%), 43%); } } } /* ========================================================================== Modifier: Apply Theme Colors --- Adds theme colors to the items. ========================================================================== */ .t-MediaList.u-colors { } .Menu(@l_Menu-BG, @l_Menu-Accent) { .a-MenuBar-label { color: contrast(@l_Menu-BG, darken(@l_Menu-BG, 75%), lighten(@l_Menu-BG, 75%), 43%); line-height: 20px; } .a-MenuBar-item > .a-Menu-subMenuCol { display: inline-block; padding: 8px 0; vertical-align: top; margin-right: 8px; margin-left: -4px; } .a-MenuBar-item { background: @l_Menu-BG; border-right: 1px solid contrast(@l_Menu-BG, darken(@l_Menu-BG, 10%), lighten(@l_Menu-BG, 10%), 43%); border-left: 1px solid contrast(@l_Menu-BG, darken(@l_Menu-BG, 10%), lighten(@l_Menu-BG, 10%), 43%); margin-left: -1px; &:first-child { margin-left: 0; } } .a-MenuBar-item.a-Menu--split > .a-Menu-subMenuCol, .a-MenuBar.u-RTL .a-MenuBar-item.a-Menu--split > .a-Menu-subMenuCol { border: none; margin-right: 0; padding: 8px 8px 8px 4px; } .a-MenuBar-item.is-disabled { .a-MenuBar-label { @color: contrast(@l_Menu-BG, darken(@l_Menu-BG, 75%), lighten(@l_Menu-BG, 75%), 43%); color: fade(@color, 50%); } } .a-MenuBar-item:hover { background-color: contrast(@l_Menu-BG, darken(@l_Menu-BG, 10%), lighten(@l_Menu-BG, 10%), 43%); } .a-MenuBar-item.is-expanded { background-color: contrast(@l_Menu-BG, darken(@l_Menu-BG, 10%), lighten(@l_Menu-BG, 10%), 43%); } /* ========================================================================== Menu Badge ========================================================================== */ .t-Menu-badge { display: inline-block; border-radius: 2px; padding: 0 6px; font-size: 11px; font-weight: normal; vertical-align: top; background-color: rgba(0,0,0,.25); .a-Menu-labelContainer & { line-height: 16px; margin-left: 4px; margin-top: 8px; } } /* ========================================================================== Menu ========================================================================== */ .a-Menu-content { border-radius: 2px; } @fontColor: contrast(@l_Menu-Accent, darken(@l_Menu-Accent, 75%), lighten(@l_Menu-Accent, 75%), 43%); .a-Menu .a-Menu-item { color: @fontColor; } .a-Menu-hSeparator { border-color: rgba(0,0,0,.15); } .a-Menu--current { background-color: contrast(@l_Menu-BG, darken(@l_Menu-BG, 20%), lighten(@l_Menu-BG, 20%), 43%); } .a-Menu .a-Menu-item.is-disabled.is-focused { background-color: @l_Menu-Accent; &>.a-Menu-inner .a-Menu-subMenuCol { color: fade(contrast(@l_Menu-Accent, desaturate(darken(@l_Menu-Accent, 75%), 100%), desaturate(lighten(@l_Menu-Accent, 75%), 50%)), 100%); } &>.a-Menu-inner .a-Menu-accel { color: fade(contrast(@l_Menu-Accent, desaturate(darken(@l_Menu-Accent, 50%), 100%), desaturate(lighten(@l_Menu-Accent, 50%), 50%)), 100%); } } .a-Menu .a-Menu-item.is-focused, .a-Menu .a-Menu-item.is-expanded { background-color: @l_Menu-BG; color: contrast(@l_Menu-BG, darken(@l_Menu-BG, 75%), lighten(@l_Menu-BG, 75%), 43%); &>.a-Menu-inner .a-Menu-statusCol, &>.a-Menu-inner .a-Menu-subMenuCol, &>.a-Menu-inner .a-Menu-accel { color: contrast(@l_Menu-BG, darken(@l_Menu-BG, 75%), lighten(@l_Menu-BG, 75%), 43%); } } .a-Menu { .a-Menu-accel { color: fade(@fontColor, 75%); } } .a-Menu-content { background-color: fadeout(@l_Menu-Accent, 5%); border-color: contrast(@l_Menu-Accent, darken(@l_Menu-Accent, 10%), lighten(@l_Menu-Accent, 10%), 43%); box-shadow: 0 1px 2px rgba(0,0,0,.05); } } .Menu(@g_Accent-BG, @g_Accent-OG); .a-MenuBar { background-color: transparent; } .t-Header-nav-list, .t-Header .a-MenuBar { background-color: @g_Accent-BG; } // .t-Body { // .Menu(darken(@g_Body-BG, 5%), @g_Accent-OG); // } .t-Region { .Menu(darken(@g_Region-BG, 5%), @g_Region-Header-BG); } /** * Import Compass and Theme Variables */ /* ========================================================================== Menu Bar ========================================================================== */ //@g_Nav-Active-FG: contrast(@g_Nav-BG, darken(@g_Nav-BG, 75%), lighten(@g_Nav-BG, 75%), 43%); .MenuBar(@menuActiveFG, @menuBG) { .a-MenuBar-label { color: @menuActiveFG; vertical-align: top; } .a-MenuBar-item { vertical-align: top; } /* Focus + Hover State */ .a-MenuBar-item.is-focused, .a-MenuBar-item:hover { background-color: contrast(@menuBG, darken(@menuBG, 10%), lighten(@menuBG, 10%), 43%) !important; } /* Active + Focus State */ .a-MenuBar-item.a-Menu--current, .a-MenuBar-item.a-Menu--current.is-focused { background-color: contrast(@menuBG, darken(@menuBG, 10%), lighten(@menuBG, 10%), 43%) !important; .a-MenuBar-label { color: @menuActiveFG !important; font-weight: bold; } } /* Expanded State */ /* Active + Expanded State */ .a-MenuBar-item.is-expanded, .a-MenuBar-item.a-Menu--current.is-expanded { background-color: contrast(@menuBG, darken(@menuBG, 10%), lighten(@menuBG, 10%), 43%) !important; } /* Sub Menu Drop Down */ .a-MenuBar-item { & > .a-Menu-subMenuCol .a-Icon { color: fade(@menuActiveFG, 80%); border-color: lighten(@menuBG,15%); border-radius: 100%; } &.a-Menu--current.is-focused > .a-Menu-subMenuCol .a-Icon, & > .a-Menu-subMenuCol:hover .a-Icon { @hoverBg: contrast(@menuBG, darken(@menuBG, 25%), lighten(@menuBG, 25%), 43%); background-color: @hoverBg; border-color: @hoverBg; color: contrast(@hoverBg, darken(@hoverBg, 75%), lighten(@hoverBg, 75%), 43%); } } .a-MenuBar-item.a-Menu--current { & > .a-Menu-subMenuCol .a-Icon { color: lighten(@menuBG,30%); border-color: lighten(@menuBG,30%); } } .a-MenuBar-item.a-Menu--current.is-expanded { & > .a-Menu-subMenuCol .a-Icon { background-color: @menuActiveFG; border-color: @menuActiveFG; color: contrast(@menuActiveFG, darken(@menuActiveFG, 75%), lighten(@menuActiveFG, 75%), 43%); } } .a-MenuBar-item.is-expanded { & > .a-Menu-subMenuCol .a-Icon { background-color: lighten(@menuBG,47%); border-color: lighten(@menuBG,47%); color: darken(@menuBG,10%); } } // Expanded Menu Contents .a-Menu-content { border-width: 0; background-color: contrast(@menuBG, darken(@menuBG, 10%), lighten(@menuBG, 10%), 43%); } .a-Menu .a-Menu-item, { color: @menuActiveFG; } .a-Menu-accel { color: fade(@menuActiveFG, 75%); } .a-Menu .a-Menu-item.is-focused, .a-Menu .a-Menu-item.is-expanded { background-color: contrast(@menuBG, darken(@menuBG, 5%), lighten(@menuBG, 5%), 43%) !important; } /* Menu Bar Item */ } .t-Header { .MenuBar( @g_Accent-OG, darken(@g_Accent-BG,15%) ); } .t-Body { .MenuBar( @g_Body-Text, @g_Body-BG ); .a-MenuBar > ul { background-color: contrast(@g_Region-BG, darken(@g_Region-BG, 10%), lighten(@g_Region-BG, 10%), 43%) } .a-MenuBar-item {//@_border: border-color: contrast(@g_Body-BG, darken(@g_Body-BG, 10%), lighten(@g_Body-BG, 10%), 43%); &.is-focused { box-shadow: none; } } } .t-Region { .MenuBar( @g_Region-FG, @g_Region-BG ); .a-MenuBar > ul { background-color: contrast(@g_Region-BG, darken(@g_Region-BG, 10%), lighten(@g_Region-BG, 10%), 43%) } .a-MenuBar-item { border-color: contrast( @g_Region-BG, darken( @g_Region-BG, 10%), lighten( @g_Region-BG, 10%), 43%); &.is-focused { box-shadow: none; } } } .t-Header-userMenu { .a-Menu-content { border-width: 0; background-color: contrast(@g_Nav-BG, darken(@g_Nav-BG, 10%), lighten(@g_Nav-BG, 10%), 43%); } .a-Menu-item.is-focused, .a-Menu-item.is-expanded { background-color: contrast(@g_Nav-BG, darken(@g_Nav-BG, 5%), lighten(@g_Nav-BG, 5%), 43%) !important; } &.a-Menu .a-Menu-item .a-Menu-label { color: @g_Nav-Active-FG; } } // @Tabs-BG: @g_Accent-BG; // @Tabs-FG: contrast(@g_Accent-BG, darken(@g_Accent-BG, 75%), lighten(@g_Accent-BG, 75%), 43%); // @Tabs-Active-BG: darken(@Tabs-BG,3%); // @Tabs-Active-FG: contrast(@Tabs-Active-BG, darken(@Tabs-Active-BG, 75%), lighten(@Tabs-Active-BG, 75%), 43%); @Tabs-BG: @g_Nav-BG; @Tabs-FG: @g_Nav-FG; @Tabs-Active-BG: @g_Nav-Active-BG; @Tabs-Active-FG: @g_Nav-Active-FG; .t-NavTabs { background-color: @Tabs-BG; &::-webkit-scrollbar-thumb { background-color: contrast(@Tabs-Active-BG, darken(@Tabs-Active-BG, 3%), lighten(@Tabs-Active-BG, 3%), 43%); box-shadow: inset 1px 0 0 0 @Tabs-BG; &:hover {background-color: contrast(@Tabs-Active-BG, darken(@Tabs-Active-BG, 15%), lighten(@Tabs-Active-BG, 15%), 43%);} } &::-webkit-scrollbar-track { background: @Tabs-BG; &:hover {background-color: contrast(@Tabs-BG, darken(@Tabs-BG, 15%), lighten(@Tabs-BG, 15%), 43%);} } } .t-NavTabs-item { color: @Tabs-FG; border-color: contrast(@Tabs-Active-BG, darken(@Tabs-Active-BG, 15%), lighten(@Tabs-Active-BG, 15%), 43%); &:hover, &.is-active { background-color: @Tabs-Active-BG; color: @Tabs-Active-FG; } } .t-NavTabs-badge { background-color: @Tabs-Active-FG; color: @Tabs-Active-BG; } /* ====== scss/compiled/core_removed/NavigationBar.scss ====== */ @bg: darken(@g_Accent-BG,15%); // @l_Menu-Active-FG: contrast(@bg, darken(@bg, 75), lighten(@bg, 75), 43%); @l_Menu-Active-FG: fade(contrast(@bg, desaturate(darken(@bg, 75%), 100%), desaturate(lighten(@bg, 75%), 50%)), 100%); .t-NavigationBar-menu { .a-Menu-content { border-radius: 0 0 2px 2px; background-color: @bg; border-width: 0; } .a-Menu-item.is-focused, .a-Menu-item.is-expanded { background-color: contrast(@bg, darken(@bg, 10%), lighten(@bg, 10%), 43%) !important; & > .a-Menu-label { color: @l_Menu-Active-FG !important; } } .a-Menu-item .a-Menu-label, &.a-Menu .a-Menu-item a, &.a-Menu .a-Menu-item .a-Menu-statusCol { color: @g_Accent-FG !important; } } /** * Import Compass and Theme Variables */ /* ========================================================================== Popup LOV ========================================================================== */ .t-PopupLOV-links { a { &:hover { background-color: @g_Link-Base; color: contrast(@g_Link-Base, darken(@g_Link-Base, 75%), lighten(@g_Link-Base, 75%), 43%); } } } .t-PopupLOV-resultsSet { tr:hover td { background-color: #ECF2FB !important; } tr:nth-child(2n) td { background-color: #FAFAFA; } } .t-PopupLOV-resultsSet-link,.ui-widget-content a.t-PopupLOV-resultsSet-link{ color: @g_Link-Base; } .t-Page--popupLOV { background-color: #FFF; } .t-PopupLOV-actions { background-color: @g_Accent-OG; } .t-PopupLOV-links { a { .text-dark(); &:hover { background-color: contrast(@g_Link-Base, darken(@g_Link-Base, 10%), lighten(@g_Link-Base, 10%), 43%); color: contrast(@g_Link-Base, darken(@g_Link-Base, 75%), lighten(@g_Link-Base, 75%), 43%); } } } .t-PopupLOV-pagination { .text-normal(); } /** * Import Compass and Theme Variables */ /* ========================================================================== Region ========================================================================== */ .t-Region, .t-ContentBlock--lightBG .t-ContentBlock-body { background-color: @g_Region-BG; } .fielddata b { .text-dark(); } .regionHeader(@bg, @fg) { background-color: @bg; color: @fg; // border-bottom: 1px solid contrast(@bg, darken(@bg, 10%), lighten(@bg, 10%), 43%); .t-Button--noUI,.t-Button--link { color: @fg; } } .t-Region-header { .regionHeader(@g_Region-Header-BG, @g_Region-Header-FG); .t-Body-actions & { background: transparent; color: @g_Actions-Col-Text; } } .t-Region--stacked { border-radius: 0 !important; & > .t-Region-header { // border-radius: 0 !important; } } .t-Region--noBorder { & > .t-Region-header { .regionHeader(@g_Region-BG, @g_Region-FG); } } /* Accent 1 */ .t-Region--accent1 { & > .t-Region-header { .regionHeader(@g_Color-Palette-1, @g_Color-Palette-1-FG); } } .t-Region--accent1.t-Region--textContent > .t-Region-header { color: @g_Color-Palette-1; } /* Accent 2 */ .t-Region--accent2 { & > .t-Region-header { .regionHeader(@g_Color-Palette-2, @g_Color-Palette-2-FG); } } .t-Region--accent2.t-Region--textContent > .t-Region-header { color: @g_Color-Palette-2; } /* Accent 3 */ .t-Region--accent3 { & > .t-Region-header { .regionHeader(@g_Color-Palette-3, @g_Color-Palette-3-FG); } } .t-Region--accent3.t-Region--textContent > .t-Region-header { color: @g_Color-Palette-3; } /* Accent 4 */ .t-Region--accent4 { & > .t-Region-header { .regionHeader(@g_Color-Palette-4, @g_Color-Palette-4-FG); } } .t-Region--accent4.t-Region--textContent > .t-Region-header { color: @g_Color-Palette-4; } /* Accent 5 */ .t-Region--accent5 { & > .t-Region-header { .regionHeader(@g_Color-Palette-5, @g_Color-Palette-5-FG); } } .t-Region--accent5.t-Region--textContent > .t-Region-header { color: @g_Color-Palette-5; } /* Accent 6 */ .t-Region--accent6 { & > .t-Region-header { .regionHeader(@g_Color-Palette-6, @g_Color-Palette-6-FG); } } .t-Region--accent6.t-Region--textContent > .t-Region-header { color: @g_Color-Palette-6; } /* Accent 7 */ .t-Region--accent7 { & > .t-Region-header { .regionHeader(@g_Color-Palette-7, @g_Color-Palette-7-FG); } } .t-Region--accent7.t-Region--textContent > .t-Region-header { color: @g_Color-Palette-7; } /* Accent 8 */ .t-Region--accent8 { & > .t-Region-header { .regionHeader(@g_Color-Palette-8, @g_Color-Palette-8-FG); } } .t-Region--accent8.t-Region--textContent > .t-Region-header { color: @g_Color-Palette-8; } /* Accent 9 */ .t-Region--accent9 { & > .t-Region-header { .regionHeader(@g_Color-Palette-9, @g_Color-Palette-9-FG); } } .t-Region--accent9.t-Region--textContent > .t-Region-header { color: @g_Color-Palette-9; } /* Accent 10 */ .t-Region--accent10 { & > .t-Region-header { .regionHeader(@g_Color-Palette-10, @g_Color-Palette-10-FG); } } .t-Region--accent10.t-Region--textContent > .t-Region-header { color: @g_Color-Palette-10; } /* Accent 11 */ .t-Region--accent11 { & > .t-Region-header { .regionHeader(@g_Color-Palette-11, @g_Color-Palette-11-FG); } } .t-Region--accent11.t-Region--textContent > .t-Region-header { color: @g_Color-Palette-11; } /* Accent 12 */ .t-Region--accent12 { & > .t-Region-header { .regionHeader(@g_Color-Palette-12, @g_Color-Palette-12-FG); } } .t-Region--accent12.t-Region--textContent > .t-Region-header { color: @g_Color-Palette-12; } /* Accent 13 */ .t-Region--accent13 { & > .t-Region-header { .regionHeader(@g_Color-Palette-13, @g_Color-Palette-13-FG); } } .t-Region--accent13.t-Region--textContent > .t-Region-header { color: @g_Color-Palette-13; } /* Accent 14 */ .t-Region--accent14 { & > .t-Region-header { .regionHeader(@g_Color-Palette-14, @g_Color-Palette-14-FG); } } .t-Region--accent14.t-Region--textContent > .t-Region-header { color: @g_Color-Palette-14; } /* Accent 15 */ .t-Region--accent15 { & > .t-Region-header { .regionHeader(@g_Color-Palette-15, @g_Color-Palette-15-FG); } } .t-Region--accent15.t-Region--textContent > .t-Region-header { color: @g_Color-Palette-15; } .t-Region-header { } .t-Region-body { color: @g_Region-FG; } .t-Region--hideShow { &.is-collapsed { border-bottom-color: transparent; } } .t-Region--scrollBody > .t-Region-bodyWrap > .t-Region-body { } .t-Body-actions { .t-Region { background-color: transparent; } .t-Region-header { background-color: transparent; } } .t-Body-side { .t-Region {background-color: transparent;} } .t-Region,.t-Region-header { border-radius: @g_Container-BorderRadius; } .t-Region--noBG { background-color: transparent; } .t-Body-actions { .t-Region { background-color: transparent; } } .t-Region--carousel { .a-Tabs-button { background-color: transparent; border-radius: 2px; background-color: rgba(0,0,0,.25); color: #FFF; &:hover { background-color: rgba(0,0,0,.5); } &:active, &:active:focus { background-color: rgba(0,0,0,.75); } } .a-Tabs-next-region{ border-radius: 2px 0 0 2px; } .a-Tabs-previous-region{ border-radius: 0 2px 2px 0; } .a-Region-carouselNavItem { &.a-Tabs-selected .a-Region-carouselLink { background-color: rgba(0,0,0,.45); &:focus { background-color: @g_Accent-BG } } } .a-Region-carouselLink { background-color: rgba(0,0,0,.15); border-radius: 100%; } } /* ========================================================================== .t-Report --- Standard Report (Bordered) ========================================================================== */ .t-Report-cell, .t-Report-colHead { border: 1px solid contrast(@g_Region-BG, darken(@g_Region-BG, 10%), lighten(@g_Region-BG, 10%), 43%); } .t-Report-report tr .t-Report-cell:last-child, .t-Report-report tr .t-Report-colHead:last-child { border-right: 1px solid contrast(@g_Region-BG, darken(@g_Region-BG, 10%), lighten(@g_Region-BG, 10%), 43%); } .t-Report-report tr:last-child .t-Report-cell { border-bottom: 1px solid contrast(@g_Region-BG, darken(@g_Region-BG, 10%), lighten(@g_Region-BG, 10%), 43%); } .t-Report .is-stuck .t-Report-colHead { background-color: fadeout(@g_Region-BG, 5%); -webkit-backdrop-filter: blur(4px); } .t-Report--rowHighlight { .t-Report-report tr:hover .t-Report-cell, .t-Report-report tr:nth-child(odd):hover .t-Report-cell { background-color: contrast(@g_Region-BG, darken(@g_Region-BG, 2%), lighten(@g_Region-BG, 2%), 43%) !important; } } .t-Report--staticRowColors { .t-Report-report tr:nth-child(odd) .t-Report-cell { background-color: transparent; } } /* ========================================================================== .t-Report--altRowsDefault --- Alternate Report Rows ========================================================================== */ .t-Report--altRowsDefault { .t-Report-report tr:nth-child(odd) .t-Report-cell { background-color: contrast(@g_Region-BG, darken(@g_Region-BG, 1%), lighten(@g_Region-BG, 1%), 43%); } } /* ========================================================================== .t-Report--pagination ========================================================================== */ .t-Report-paginationText b, .t-Report-paginationText a:hover { background-color: @g_Accent-BG; color: @g_Accent-FG; } .t-SearchResults-desc { color: fade(contrast(@g_Body-BG, desaturate(darken(@g_Body-BG, 75%), 100%), desaturate(lighten(@g_Body-BG, 75%), 50%)), 100%); } .t-SearchResults-date { color: fade(contrast(@g_Body-BG, desaturate(darken(@g_Body-BG, 55%), 100%), desaturate(lighten(@g_Body-BG, 55%), 50%)), 100%); } .t-SearchResults-misc { color: fade(contrast(@g_Body-BG, desaturate(darken(@g_Body-BG, 55%), 100%), desaturate(lighten(@g_Body-BG, 55%), 50%)), 100%); } .t-Region { .t-SearchResults-desc { color: fade(contrast(@g_Region-BG, desaturate(darken(@g_Region-BG, 75%), 100%), desaturate(lighten(@g_Region-BG, 75%), 50%)), 100%); } .t-SearchResults-date { color: fade(contrast(@g_Region-BG, desaturate(darken(@g_Region-BG, 55%), 100%), desaturate(lighten(@g_Region-BG, 55%), 50%)), 100%); } .t-SearchResults-misc { color: fade(contrast(@g_Region-BG, desaturate(darken(@g_Region-BG, 55%), 100%), desaturate(lighten(@g_Region-BG, 55%), 50%)), 100%); } } //.t-SearchResults-list { // margin: 0; // padding: 0; // list-style: none; //} //.t-SearchResults-item { // display: block; // margin-bottom: 24px; // &:last-child { // margin-bottom: 12px; // } //} //.t-SearchResults-title { // font-weight: 500; // font-size: 1.6rem; // line-height: 2rem; // margin: 0; //} //.t-SearchResults-info { // margin-top: 4px; // font-size: 1.4rem; // line-height: 2rem; //} //.t-SearchResults-desc { // margin: 0 0 4px 0; //} //.t-SearchResults-date { //} //.t-SearchResults-misc { // display: block; // font-size: 1.2rem; // line-height: 1.6rem; //} .t-StatusList-blockHeader { // .text-dark(); color: fade(contrast(@g_Region-BG, desaturate(darken(@g_Region-BG, 75%), 100%), desaturate(lighten(@g_Region-BG, 75%), 50%)), 100%); background-color: @g_Region-Header-BG; } .t-StatusList-headerTextAlt, .t-StatusList-attr, .t-StatusList-textDesc{ color: fade(contrast(@g_Region-BG, desaturate(darken(@g_Region-BG, 55%), 100%), desaturate(lighten(@g_Region-BG, 55%), 50%)), 100%); // .text-normal(); } .t-StatusList-itemTitle { color: fade(contrast(@g_Region-BG, desaturate(darken(@g_Region-BG, 75%), 100%), desaturate(lighten(@g_Region-BG, 75%), 50%)), 100%); // .text-dark(); } .t-StatusList--dates { .t-StatusList-marker { color: #707070; border-radius: 2px; background-color: #FFF; &:after { background-color: #A0A0A0; border-radius: 2px 2px 0 0; } } } .t-StatusList--bullets { .t-StatusList-marker { border-radius: 24px; background-color: #fff; color: #404040; } .t-StatusList-item.is-complete .t-StatusList-marker { background-color: #707070; } .t-StatusList-item.is-danger .t-StatusList-marker, .t-StatusList-item.is-error .t-StatusList-marker { background-color: #ff3b30; } .t-StatusList-item.is-open .t-StatusList-marker { background-color: #4cd964; } .t-StatusList-item.is-warning .t-StatusList-marker { background-color: #ffcc00; } .t-StatusList-item.is-null { .t-StatusList-marker { background-color: #F0F0F0; } .t-StatusList-marker { color: #A0A0A0; } } } /** * Import Compass and Theme Variables */ /* ========================================================================== Tabs Configuration ========================================================================== */ /* Tab Variables ========================================================================== */ @l_Tab-Highlight: @g_Accent-BG; /* Region Display Selector ========================================================================== */ .t-Tabs--simple .t-Tabs-item.is-active .t-Tabs-link { box-shadow: 0 -2px 0 @g_Focus inset; } .t-Tabs--simple .t-Tabs-link:focus { box-shadow: 0 0 0 1px @g_Focus inset; } .t-Tabs--pill { background-color: darken(@g_Region-BG,2.5%); border-radius: 2px; .t-Icon { color: @g_Region-FG; } .t-Tabs-link { color: @g_Region-FG;; &:hover { background-color: @g_Region-BG; } &:focus { box-shadow: 0 0 0 1px @g_Focus inset; } &:active { background-color: @g_Region-BG; } } .t-Tabs-item:first-child .t-Tabs-link { border-radius: 2px 0 0 2px; } .t-Tabs-item.is-active { .t-Tabs-link { background-color: @g_Region-BG; } } } .t-Tabs--simple .t-Icon { color: @g_Region-FG; } .t-Tabs--simple .t-Tabs-link { color: fade(contrast(@g_Body-Title-BG, desaturate(darken(@g_Body-Title-BG, 75%), 100%), desaturate(lighten(@g_Body-Title-BG, 75%), 50%)), 100%); &:hover { background-color: rgba(0,0,0,.025); } &:active { background-color: rgba(0,0,0,.15); } .t-Body & { color: fade(contrast(@g_Body-BG, desaturate(darken(@g_Body-BG, 75%), 100%), desaturate(lighten(@g_Body-BG, 75%), 50%)), 100%); } .t-Body-title & { color: @g_Body-Title-FG; } .t-Region & { color: fade(contrast(@g_Region-BG, desaturate(darken(@g_Region-BG, 75%), 100%), desaturate(lighten(@g_Region-BG, 75%), 50%)), 100%); } } /* ========================================================================== Region Display Selector ========================================================================== */ .apex-rds .apex-rds-selected span { box-shadow: 0 -2px 0 @g_Focus inset; } .apex-rds a:focus { box-shadow: 0 0 0 1px @g_Focus inset; } .apex-rds a { .t-Body-title & { color: @g_Body-Title-FG; } .t-Region & { color: fade(contrast(@g_Region-BG, desaturate(darken(@g_Region-BG, 75%), 100%), desaturate(lighten(@g_Region-BG, 75%), 50%)), 100%); } color: fade(contrast(@g_Body-BG, desaturate(darken(@g_Body-BG, 75%), 100%), desaturate(lighten(@g_Body-BG, 75%), 50%)), 100%); &:hover { color: @g_Link-Base; } } .apex-rds .apex-rds-selected a { color: @g_Link-Base; } .apex-rds-hover.left { a { background: -webkit-linear-gradient(left, @g_Body-Title-BG 50%,rgba(255,255,255,0) 100%); /* Chrome10+,Safari5.1+ */ background: linear-gradient(to right, @g_Body-Title-BG 50%,rgba(255,255,255,0) 100%); /* W3C */ } } .apex-rds-hover.right { a { background: -webkit-linear-gradient(left, @g_Body-Title-BG 0%,rgba(255,255,255,0.0) 1%, @g_Body-Title-BG 50%); /* Chrome10+,Safari5.1+ */ background: linear-gradient(to right, @g_Body-Title-BG 0%,rgba(255,255,255,0.0) 1%, @g_Body-Title-BG 50%); /* W3C */ } } /* Vertical RDS ========================================================================== */ .vertical-rds, .t-Body-side { .apex-rds .apex-rds-selected span { box-shadow: 4px 0 0 @g_Focus inset; .u-RTL & { box-shadow: -4px 0 0 @g_Focus inset; } } } /** * Import Compass and Theme Variables */ /* ========================================================================== Region ========================================================================== */ .a-TagCloud-link { border-color: contrast(@g_Region-BG, darken(@g_Region-BG, 5%), lighten(@g_Region-BG, 5%), 43%); border-radius: 2px; background: contrast(@g_Region-BG, darken(@g_Region-BG, 2%), lighten(@g_Region-BG, 2%), 43%); transition: background-color .2s, border-color .2s, box-shadow .2s, color .2s; color: darken(@g_Link-Base,1%); } .a-TagCloud-link span { transition: color .2s; } .a-TagCloud-link:hover { text-decoration: none; background-color: @g_Accent-BG; border-color: @g_Accent-BG; color: @g_Accent-FG; box-shadow: 0 0 0 2px @g_Accent-BG inset; } .a-TagCloud-link:hover span { color: @g_Accent-FG; } .a-TagCloud-count { color: fade(contrast(@g_Region-BG, desaturate(darken(@g_Region-BG, 60%), 100%), desaturate(lighten(@g_Region-BG, 60%), 50%)), 100%); font-weight: 500; } .t-Timeline { color: @g_Region-FG; } // .t-Timeline-item { // background-color: @g_Region-BG; // } .t-Timeline-username, .t-Timeline-date, .t-Timeline-desc { color: @g_Region-FG-Light; } .t-Timeline-wrap { color: @g_Region-FG; } .t-Timeline-type { background-color: darken(@g_Region-Header-BG,4%); color: @g_Region-Header-FG; } .t-Timeline-type.is-new { background-color: @g_Success-BG; color: #FFF; } .t-Timeline-type.is-updated { background-color: @g_Info-BG; color: #FFF; } .t-Timeline-type.is-removed { background-color: @g_Danger-BG; color: #FFF; } .t-Timeline-wrap:focus { outline: none; box-shadow:0 0 0 1px @g_Focus inset; } .treeMe(@nav-Icon, @nav-FG, @nav-Active-BG, @nav-Active-FG, @nav-Icon-Active) { .a-TreeView-node--topLevel { .a-TreeView-row.is-focused { box-shadow: 0 0 0 1px @g_Focus inset; background-color: transparent; } .a-TreeView-row.is-current, .a-TreeView-row.is-selected, .a-TreeView-row.is-current--top.is-selected { background-color: contrast(@nav-Active-BG, darken(@nav-Active-BG, 3%), lighten(@nav-Active-BG, 3%), 43%); } .a-TreeView-row.is-current--top, &.is-collapsible > .a-TreeView-row, ul { background-color: @nav-Active-BG; } .a-TreeView-row.is-hover { background-color: contrast(@nav-Active-BG, darken(@nav-Active-BG, 6%), lighten(@nav-Active-BG, 6%), 43%) !important; } .a-TreeView-row.is-hover + .a-TreeView-toggle, &.is-collapsible .a-TreeView-toggle { color: fadeout(@nav-Active-FG, 25%); &:hover{ color: @nav-Active-FG !important; } } .a-TreeView-content.is-hover { color: @nav-Active-FG !important; } .a-TreeView-content { color: @nav-FG; .fa, .a-Icon { color:@nav-Icon; &:before { color: inherit; } } } .a-TreeView-content.is-hover, .a-TreeView-content.is-current--top { .fa,.a-Icon { color: @nav-Icon-Active; } } .a-TreeView-label { color: inherit; } .a-TreeView-content.is-current, .a-TreeView-content.is-selected, .a-TreeView-content.is-current--top { color: @nav-Active-FG; } .a-TreeView-toggle { color: fadeout(@nav-FG, 25%); &:hover{ color: @nav-FG !important; } } .a-TreeView-row { // transition: background-color .1s; } } } @media (min-width: 769px) { .t-Body-nav { background-color: @g_Nav-BG; } } .t-TreeNav { background-color: @g_Nav-BG; } .t-PageBody--leftNav { .t-Body-nav::-webkit-scrollbar-thumb { background-color: contrast(@g_Nav-Active-BG, darken(@g_Nav-Active-BG, 3%), lighten(@g_Nav-Active-BG, 3%), 43%); box-shadow: inset 1px 0 0 0 @g_Nav-BG; &:hover { background-color: contrast(@g_Nav-Active-BG, darken(@g_Nav-Active-BG, 15%), lighten(@g_Nav-Active-BG, 15%), 43%); } } .t-Body-nav::-webkit-scrollbar-track { background: @g_Nav-BG; &:hover { background-color: contrast(@g_Nav-BG, darken(@g_Nav-BG, 15%), lighten(@g_Nav-BG, 15%), 43%); } } } .t-Region { .treeMe(fade(@g_Region-FG, 95%), @g_Region-FG, @g_Region-BG, @g_Region-FG, @g_Region-FG); /* Ensuring that the top level maintains is-selected state */ .a-TreeView-node--topLevel.is-collapsible > .a-TreeView-row.is-selected, .a-TreeView-node--topLevel.is-collapsible > .a-TreeView-row.is-focused { background-color: contrast(@g_Region-BG, darken(@g_Region-BG, 3%), lighten(@g_Region-BG, 3%), 43%); } } .t-TreeNav { .treeMe(@g_Nav-Icon, @g_Nav-FG, @g_Nav-Active-BG, @g_Nav-Active-FG, @g_Nav-Icon-Active); .a-TreeView-node--topLevel.is-collapsible .a-TreeView-content .fa, .a-TreeView-node--topLevel.is-collapsible .a-TreeView-content .a-Icon { color: @g_Nav-Icon-Active; } .a-TreeView-node--topLevel.is-collapsible .a-TreeView-content { color: @g_Nav-Active-FG; } .js-navCollapsed & .a-TreeView-node--topLevel > .a-TreeView-content .a-TreeView-label .a-TreeView-badge { background: darken(@g_Nav-BG,15%); color: @g_Nav-Active-FG; } .a-TreeView-badge { box-shadow: 0 0 0 1px fadeout(@g_Nav-Active-FG,90%); font-weight: 400; } .a-TreeView-content.is-current, .a-TreeView-content.is-current--top { .a-TreeView-label { font-weight: 500; } } } /** * * Scroll Bars * */ /* ========================================================================== Validation Pugin ========================================================================== */ .t-Validation-date { color: @g_Region-FG; } .t-Validation-user { color: contrast(@g_Region-FG, darken(@g_Region-FG, 10%), lighten(@g_Region-FG, 10%), 43%); } .t-Body-actions { .t-Validation-date { color: @g_Actions-Col-Text; } .t-Validation-user { color: contrast(@g_Actions-Col-Text, darken(@g_Actions-Col-Text, 10%), lighten(@g_Actions-Col-Text, 10%), 43%); } } /* ====== scss/compiled/core_removed/Wizard.scss ====== */ @l_Wizard-BG: @g_Region-BG; .t-Dialog-page--wizard { border: contrast(@l_Wizard-BG, darken(@l_Wizard-BG, 10%), lighten(@l_Wizard-BG, 10%), 43%); } .t-Wizard { background-color: @l_Wizard-BG; border-radius: @g_Container-BorderRadius; border-color: contrast(@l_Wizard-BG, darken(@l_Wizard-BG, 10%), lighten(@l_Wizard-BG, 10%), 43%); .t-Wizard-title { color: fade(contrast(@l_Wizard-BG, desaturate(darken(@l_Wizard-BG, 75%), 100%), desaturate(lighten(@l_Wizard-BG, 75%), 50%)), 100%); } .t-Wizard-header { @headerBg: contrast(@l_Wizard-BG, darken(@l_Wizard-BG, 2%), lighten(@l_Wizard-BG, 2%), 43%); background-color: @headerBg; border-color: contrast(@headerBg, darken(@headerBg, 5%), lighten(@headerBg, 5%), 43%); } } .t-WizardSteps-wrap { &:after { background-color: contrast(@l_Wizard-BG, darken(@l_Wizard-BG, 10%), lighten(@l_Wizard-BG, 10%), 43%); } } .t-WizardSteps-step .t-WizardSteps-marker { background-color: contrast(@l_Wizard-BG, darken(@l_Wizard-BG, 20%), lighten(@l_Wizard-BG, 20%), 43%); } .t-WizardSteps-step.is-complete .t-WizardSteps-marker { background-color: @g_Success-BG; color: #FFF; } .t-WizardSteps-step.is-active .t-WizardSteps-marker { background-color: @g_Accent-BG; // color: @g_Accent-FG; } .t-WizardSteps-label { color: fade(contrast(@l_Wizard-BG, desaturate(darken(@l_Wizard-BG, 60%), 100%), desaturate(lighten(@l_Wizard-BG, 60%), 50%)), 100%); } .t-WizardSteps-step.is-active .t-WizardSteps-label { color: fade(contrast(@l_Wizard-BG, desaturate(darken(@l_Wizard-BG, 75%), 100%), desaturate(lighten(@l_Wizard-BG, 75%), 50%)), 100%); } /** * Import Compass and Theme Variables */ @ui-Header-BG: @g_Region-Header-BG; @ui-Header-FG: @g_Region-Header-FG; @ui-Body-BG: @g_Region-BG; @ui-Body-FG: @g_Region-FG; @ui-Border: contrast(@g_Region-BG, darken(@g_Region-BG, 8%), lighten(@g_Region-BG, 8%), 43%); @ui-State-Default-BG: @g_Button-BG; @ui-State-Default-FG: @g_Button-Text; /* Component containers ----------------------------------*/ .ui-widget { font-family: 'Helvetica Neue', 'Segoe UI', Helvetica, Arial, sans-serif; font-size: 12px; } .ui-widget .ui-widget { font-size: 12px; } /* Component containers ----------------------------------*/ body .ui-widget-content { border-color: @ui-Border; background-color: @ui-Body-BG; color: @ui-Body-FG; } body .ui-widget-content a { color: @g_Link-Base; } body .ui-widget-header { border-color: @ui-Border; background-color: @ui-Header-BG; color: @ui-Header-FG; } body .ui-widget-header a { color: @ui-Header-FG; } /* Interaction states ----------------------------------*/ body .ui-state-default, body .ui-widget-content .ui-state-default, body .ui-widget-header .ui-state-default { background-color: @ui-State-Default-BG; color: @ui-State-Default-FG; } body .ui-state-default a, body .ui-state-default a:link, body .ui-state-default a:visited, body .ui-state-active a, body .ui-state-active a:link, body .ui-state-active a:visited { color: @g_Link-Base; } body .ui-state-hover, body .ui-widget-content .ui-state-hover, body .ui-widget-header .ui-state-hover { background-color: lighten(@ui-State-Default-BG, 10%); color: @ui-State-Default-FG; } body .ui-state-focus, body .ui-widget-content .ui-state-focus, body .ui-widget-header .ui-state-focus { box-shadow: 0 0 0 1px @g_Focus inset, 0 0 1px 2px fade(@g_Focus, 25%) !important; background-color: lighten(@ui-State-Default-BG, 10%); color: @ui-State-Default-FG; } body .ui-datepicker .ui-datepicker-buttonpane button:focus { outline: none; box-shadow: 0 0 0 1px @g_Focus inset, 0 0 1px 2px fade(@g_Focus, 25%) !important; } body .ui-state-hover a, body .ui-state-hover a:hover, body .ui-state-hover a:link, body .ui-state-hover a:visited, body .ui-state-focus a, body .ui-state-focus a:hover, body .ui-state-focus a:link, body .ui-state-focus a:visited { color: @g_Link-Base; } body .ui-state-active, body .ui-widget-content .ui-state-active, body .ui-widget-header .ui-state-active { background-color: darken(@ui-State-Default-BG, 10%); color: @ui-State-Default-FG; } /* Interaction Cues ----------------------------------*/ body .ui-state-highlight, body .ui-widget-content .ui-state-highlight, body .ui-widget-header .ui-state-highlight { background-color: lighten(@g_Accent-BG,50%); color: fade(contrast(@g_Accent-FG, desaturate(darken(@g_Accent-FG, 75%), 100%), desaturate(lighten(@g_Accent-FG, 75%), 50%)), 100%); } body .ui-state-highlight a, body .ui-widget-content .ui-state-highlight a, body .ui-widget-header .ui-state-highlight a { color: fade(contrast(@g_Accent-FG, desaturate(darken(@g_Accent-FG, 75%), 100%), desaturate(lighten(@g_Accent-FG, 75%), 50%)), 100%); } body .ui-state-error, body .ui-widget-content .ui-state-error, body .ui-widget-header .ui-state-error { background-color: @g_Danger-BG; color: @g_Danger-FG; } body .ui-state-error a, body .ui-widget-content .ui-state-error a, body .ui-widget-header .ui-state-error a { color: @g_Danger-FG; } body .ui-state-error-text, body .ui-widget-content .ui-state-error-text, body .ui-widget-header .ui-state-error-text { color: @g_Danger-BG } /* Date Picker ----------------------------------*/ body .ui-datepicker td span.ui-state-default, body .ui-datepicker td a.ui-state-default { background-color: transparent; color: @ui-Body-FG; &.ui-state-active { background-color: @g_Accent-BG; color: @g_Accent-FG; font-weight: bold; &.ui-state-hover { background-color: @g_Accent-BG !important; } } &.ui-state-hover { background-color: contrast(@ui-Body-BG, darken(@ui-Body-BG, 5%), lighten(@ui-Body-BG, 5%), 43%) !important; } &:focus { outline: none; box-shadow: 0 0 0 1px @g_Focus inset, 0 0 1px 2px fade(@g_Focus, 25%) !important; } } body .ui-datepicker td span.ui-state-default.ui-state-highlight, body .ui-datepicker td a.ui-state-default.ui-state-highlight { background-color: contrast(@ui-Body-BG, darken(@ui-Body-BG, 8%), lighten(@ui-Body-BG, 8%), 43%); } body .ui-datepicker th { color: contrast(@ui-Body-FG, darken(@ui-Body-FG, 25%), lighten(@ui-Body-FG, 25%), 43%); } body .ui-datepicker .ui-datepicker-header, body .ui-datepicker .ui-datepicker-buttonpane button, body .ui-datepicker .ui-datepicker-next, body .ui-datepicker .ui-datepicker-prev { border-radius: @g_Button-BorderRadius; } /* Dialogs ----------------------------------*/ body .ui-dialog .ui-dialog-titlebar { background-color: @ui-Header-BG; border-bottom: 1px solid rgba(0,0,0,.05); } body .ui-dialog .ui-dialog-title { color: @ui-Header-FG; } body .ui-dialog .ui-dialog-content, .t-Dialog-page { background-color: @ui-Body-BG; color: @ui-Body-FG; } /* Wizard Dialog ----------------------------------*/ .t-Dialog--wizard { &.ui-dialog, &.ui-dialog .ui-dialog-titlebar, body .ui-dialog .ui-dialog-content { background-color: @ui-Body-BG; color: @ui-Body-FG; } &.ui-dialog .ui-dialog-title { color: @ui-Body-FG; } } /* Corner radius */ body .ui-corner-all { border-radius: @g_Container-BorderRadius; } body .ui-corner-top, body .ui-corner-left, body .ui-corner-tl { border-top-left-radius: @g_Container-BorderRadius; } body .ui-corner-top, body .ui-corner-right, body .ui-corner-tr { border-top-right-radius: @g_Container-BorderRadius; } body .ui-corner-bottom, body .ui-corner-left, body .ui-corner-bl { border-bottom-left-radius: @g_Container-BorderRadius; } body .ui-corner-bottom, body .ui-corner-right, body .ui-corner-br { border-bottom-right-radius: @g_Container-BorderRadius; } /* Corner radius */ body .ui-button.ui-corner-all { border-radius: @g_Button-BorderRadius; } body .ui-button.ui-corner-top, body .ui-button.ui-corner-left, body .ui-button.ui-corner-tl { border-top-left-radius: @g_Button-BorderRadius; } body .ui-button.ui-corner-top, body .ui-button.ui-corner-right, body .ui-button.ui-corner-tr { border-top-right-radius: @g_Button-BorderRadius; } body .ui-button.ui-corner-bottom, body .ui-button.ui-corner-left, body .ui-button.ui-corner-bl { border-bottom-left-radius: @g_Button-BorderRadius; } body .ui-button.ui-corner-bottom, body .ui-button.ui-corner-right, body .ui-button.ui-corner-br { border-bottom-right-radius: @g_Button-BorderRadius; } /* ========================================================================== Color Utility Classes ========================================================================== */ @l_Button-Hot-BG: @g_Accent-BG; @l_Button-Hot-Text: contrast(@l_Button-Hot-BG, darken(@l_Button-Hot-BG, 85%), lighten(@l_Button-Hot-BG, 85%), 43%); /* Warning State ========================================================================== */ .u-warning { background-color: @g_Warning-BG !important; color: @g_Warning-FG; &-text { color: @g_Warning-BG !important; } &-bg { background-color: @g_Warning-BG !important;} &-border { border-color: @g_Warning-BG !important;} } /* Success State ========================================================================== */ .u-success { background-color: @g_Success-BG !important; color: @g_Success-FG; &-text { color: @g_Success-BG !important; } &-bg { background-color: @g_Success-BG !important;} &-border { border-color: @g_Success-BG !important;} } /* Danger State ========================================================================== */ .u-danger { background-color: @g_Danger-BG !important; color: @g_Danger-FG; &-text { color: @g_Danger-BG !important; } &-bg { background-color: @g_Danger-BG !important;} &-border { border-color: @g_Danger-BG !important;} } /* Info State ========================================================================== */ .u-info { background-color: @g_Info-BG !important; color: @g_Info-FG; &-text { color: @g_Info-BG !important; } &-bg { background-color: @g_Info-BG !important;} &-border { border-color: @g_Info-BG !important;} } /* Hot State ========================================================================== */ .u-hot { background-color: @l_Button-Hot-BG !important; color: @l_Button-Hot-Text; &-text { color: @l_Button-Hot-BG !important; } &-bg { background-color: @l_Button-Hot-BG !important;} &-border { border-color: @l_Button-Hot-BG !important;} } /* Normal State ========================================================================== */ .u-normal { background-color: @g_Body-BG !important; color: @g_Body-Text; &-text { color: @g_Body-Text !important; } &-bg { background-color: @g_Body-Text !important;} &-border { border-color: @g_Body-Text !important;} } // /* ========================================================================== // Cycle Colors for Lists // ========================================================================== */ // .color-cycle(@counter) when (@counter > 0) { // .color-cycle(@counter - 1); // li:nth-child(@{i}) { // color: @color@{i}; // } // } // .u-color-cycle { // .color-cycle(30); // } // ios-inspired 7 colors // .u-colors(@index) when (@index > 0) { // .u-colors(@index - 1); // @selector: ~".u-ColorBG--@{index}"; // @{selector} { // background-color: extract(@_colors, @index); // }; // @selectorz: ~".u-ColorFG--@{index}"; // @{selectorz} { // color: extract(@_colors, @index); // }; // } // .u-colors(length(@_colors)); // .a_GlobalColorRules(45, 10); // /* Rules 11-30 // ========================================================================== */ // .a_GlobalColorRules(@counter, @varNumber) when (@counter > @varNumber) { // .a_GlobalColorRules(@counter - 1, @varNumber); // // Must keep in sync with UT's LESS! // @accentNumber : mod(@counter - 1, @varNumber) + 1; // @varName : %("g_Color-Palette-%s", @accentNumber); // @varName2 : %("g_Color-Palette-%s-FG", @accentNumber); // @darkenPct : (floor((@counter - 1) / @varNumber / 2) + 1) * 10%; // // 1 or -1 // @darkenFactor : 2 * ( sin( 1rad * floor((@counter - 1) / @varNumber) * pi() / 2 ) - 0.5 ); // .u-Color-@{counter}-BG { // &--txt { color : darken(@@varName, @darkenPct * @darkenFactor); } // &--bg { background-color : darken(@@varName, @darkenPct * @darkenFactor); } // &--fill { fill : darken(@@varName, @darkenPct * @darkenFactor); } // &--br { stroke : darken(@@varName, @darkenPct * @darkenFactor); border-color : darken(@@varName, @darkenPct * @darkenFactor); } // } // .u-Color-@{counter}-FG { // &--txt { color : lighten(@@varName2, @darkenPct); } // &--bg { background-color : lighten(@@varName2, @darkenPct); } // &--fill { fill : lighten(@@varName2, @darkenPct); } // &--br { stroke : lighten(@@varName2, @darkenPct); border-color : lighten(@@varName2, @darkenPct); } // } // } /* Rules 1-10 ========================================================================== */ // .a_GlobalColorRules(@counter, @varNumber) when (@counter <= @varNumber) and (@counter > 0) { // .a_GlobalColorRules(@counter - 1, @varNumber); // // Must keep in sync with UT's LESS! // @accentNumber : mod(@counter - 1, @varNumber) + 1; // @varName : %("g_Color-Palette-%s", @accentNumber); // @varName2 : %("g_Color-Palette-%s-FG", @accentNumber); // .u-Color-@{counter}-BG { // &--txt { // color: @@varName; // } // &--bg { // background-color: @@varName; // } // &--fill { // fill: @@varName; // } // &--br { // stroke: @@varName; // border-color: @@varName; // } // } // .u-Color-@{counter}-FG { // &--txt { // color: @@varName2; // } // &--bg { // background-color: @@varName2; // } // &--fill { // fill: @@varName2; // } // &--br { // stroke: @@varName2; // border-color: @@varName2; // } // } // } /* ========================================================================== Cycle Colors for Lists ========================================================================== */ .color-cycle(@n, @i: 1) when (@i =< @n) { & > :nth-child(45n+@{i}) { .u-color { background-color: extract(@_colors, @i); fill: extract(@_colors, @i); color: extract(@_colors_FG, @i); } .u-color-bg, .u-color-background { background-color: extract(@_colors, @i); } .u-color-txt, .u-color-text { color: extract(@_colors, @i); } .u-color-bd, .u-color-border { border-color: extract(@_colors, @i); stroke: extract(@_colors, @i); } } .color-cycle(@n, (@i + 1)); } .u-colors { .color-cycle(45); } /* ========================================================================== Pallete Colors ========================================================================== */ .color-palette(@n, @i: 1) when (@i =< @n) { .u-color-@{i} { background-color: extract(@_colors, @i) !important; fill: extract(@_colors, @i) !important; color: extract(@_colors_FG, @i) !important; } .u-color-@{i}-bg, .u-color-@{i}-background { background-color: extract(@_colors, @i) !important; fill: extract(@_colors, @i) !important; } .u-color-@{i}-txt, .u-color-@{i}-text { color: extract(@_colors, @i) !important; } .u-color-@{i}-bd, .u-color-@{i}-border { border-color: extract(@_colors, @i) !important; stroke: extract(@_colors, @i) !important; } .color-palette(@n, (@i + 1)); } .color-palette(45); /* Transparent Colors ========================================================================== */ .u-color-transparent { background-color: transparent !important; color: transparent !important; } .u-color-transparent-bg { background-color: transparent !important; } .u-color-transparent-txt, .u-color-transparent-text { color: transparent !important; } .u-color-transparent-bd, .u-color-transparent-border { border-color: transparent !important; }