/* { "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": true, "sequence": 5 }, { "name": "UTR.LESS.FORMS", "common": true, "sequence": 6 }, { "name": "UTR.LESS.STATES", "common": true, "sequence": 7 }, { "name": "UTR.LESS.PALETTE", "common": true, "sequence": 8 }, { "name": "UTR.LESS.INTERACTIVE_REPORTS", "common": true, "sequence": 9 }, { "name": "UTR.LESS.LAYOUT", "common": true, "sequence": 10 } ] } */ /* { "var" : "@g_Accent-BG", "name" : "UTR.LESS.HEADER_ACCENT", "type" : "color", "style": "big", "group": "UTR.LESS.GLOBAL_COLORS" } */ @g_Accent-BG: #0076df; /* { "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, 85%), 100%), desaturate(lighten(@g_Body-BG, 85%), 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, 85%), 100%), desaturate(lighten(@g_Actions-Col-BG, 85%), 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, 85%), 100%), desaturate(lighten(@g_Body-Title-BG, 85%), 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: #0076df; /* { "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, 85%), 100%), desaturate(lighten(@g_Region-BG, 85%), 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, 85%), 100%), desaturate(lighten(@g_Form-Item-BG, 85%), 50%)), 100%); /* { "var" : "@g_Form-Label", "name" : "UTR.LESS.LABEL", "type" : "color", "group": "UTR.LESS.FORMS" } */ @g_Form-Label: @g_Region-FG; /* { "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_Nav-Accent-BG", "name" : "UTR.LESS.BACKGROUND", "type" : "color", "group": "UTR.LESS.NAVIGATION", "subgroup": "UTR.LESS.ACCENT" } */ @g_Nav-Accent-BG: @g_Accent-BG; /* { "var" : "@g_Nav-Accent-FG", "name" : "UTR.LESS.TEXT", "type" : "color", "group": "UTR.LESS.NAVIGATION", "subgroup": "UTR.LESS.ACCENT" } */ @g_Nav-Accent-FG: @g_Accent-FG; /* { "var" : "@g_Nav-Badge-BG", "name" : "UTR.LESS.BACKGROUND", "type" : "color", "group": "UTR.LESS.NAVIGATION", "subgroup": "UTR.LESS.BADGE" } */ @g_Nav-Badge-BG: @g_Accent-BG; /* { "var" : "@g_Nav-Badge-FG", "name" : "UTR.LESS.TEXT", "type" : "color", "group": "UTR.LESS.NAVIGATION", "subgroup": "UTR.LESS.BADGE" } */ @g_Nav-Badge-FG: @g_Accent-FG; /* { "var" : "@g_NavBarMenu-BG", "name" : "UTR.LESS.BACKGROUND", "type" : "color", "group": "UTR.LESS.NAVIGATION", "subgroup": "UTR.LESS.MENU" } */ @g_NavBarMenu-BG: #FFFFFF; /* { "var" : "@g_NavBarMenu-FG", "name" : "UTR.LESS.FOREGROUND", "type" : "color", "group": "UTR.LESS.NAVIGATION", "subgroup": "UTR.LESS.MENU" } */ @g_NavBarMenu-FG: fade(contrast(@g_NavBarMenu-BG, desaturate(darken(@g_NavBarMenu-BG, 85%), 100%), desaturate(lighten(@g_NavBarMenu-BG, 85%), 50%)), 100%); /* { "var" : "@g_NavBarMenu-Active-BG", "name" : "UTR.LESS.BACKGROUND", "type" : "color", "group": "UTR.LESS.NAVIGATION", "subgroup": "UTR.LESS.MENU_ITEM_HOVER" } */ @g_NavBarMenu-Active-BG: @g_Accent-BG; /* { "var" : "@g_NavBarMenu-Active-FG", "name" : "UTR.LESS.FOREGROUND", "type" : "color", "group": "UTR.LESS.NAVIGATION", "subgroup": "UTR.LESS.MENU_ITEM_HOVER" } */ @g_NavBarMenu-Active-FG: @g_Accent-FG; /* { "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) { transform: @string; } .translate3d-less(@x, @y: 0, @z: 0) { 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; .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: @g_Body-Text; .t-Body-info & { color: @g_Body-Title-FG; } .t-Region & { color: @g_Region-FG; } } /** * 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 { color: @g_Warning-BG; } // &.t-Alert--wizard .t-Alert-icon .t-Icon { // background-color: @g_Warning-BG; // color: fade(contrast(@g_Warning-BG, desaturate(darken(@g_Warning-BG, 100%), 100%), desaturate(lighten(@g_Warning-BG, 100%), 50%)), 100%); // } &.t-Alert--horizontal .t-Alert-icon { background-color: fadeout(@g_Warning-BG, 85%); } } /** * Modifier: Success */ .t-Alert--success { .t-Alert-icon .t-Icon { color: @g_Success-BG; } // &.t-Alert--wizard .t-Alert-icon .t-Icon { // background-color: @g_Success-BG; // color: fade(contrast(@g_Success-BG, desaturate(darken(@g_Success-BG, 100%), 100%), desaturate(lighten(@g_Success-BG, 100%), 50%)), 100%); // } &.t-Alert--horizontal .t-Alert-icon { background-color: fadeout(@g_Success-BG, 85%); } } /** * Modifier: Information */ .t-Alert--info { .t-Alert-icon .t-Icon { color: @g_Info-BG; } // &.t-Alert--wizard .t-Alert-icon .t-Icon { // background-color: @g_Info-BG; // color: fade(contrast(@g_Info-BG, desaturate(darken(@g_Info-BG, 100%), 100%), desaturate(lighten(@g_Info-BG, 100%), 50%)), 100%); // } &.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 { color: @g_Danger-BG; } // &.t-Alert--wizard .t-Alert-icon .t-Icon { // background-color: @g_Danger-BG; // color: fade(contrast(@g_Danger-BG, desaturate(darken(@g_Danger-BG, 100%), 100%), desaturate(lighten(@g_Danger-BG, 100%), 50%)), 100%); // } &.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-Icon { color: inherit; } } .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-actions { background-color: @g_Actions-Col-BG; border-left: 1px solid rgba(0, 0, 0, .075); .u-RTL & { border-left: 0; border-right: 1px solid rgba(0, 0, 0, .075); } } .t-Body-title { background-color: fadeout(@g_Body-Title-BG, 10%); color: @g_Body-Title-FG; border-bottom: 1px solid contrast(@g_Body-Title-BG, darken(@g_Body-Title-BG, 10%), lighten(@g_Body-Title-BG, 10%), 0); -webkit-backdrop-filter: saturate(180%) blur(8px); } // For Marquee Detail Page, we can set the offset background to make the middle area // appear as a single continuous block .t-PageBody--masterDetail #t_Body_content_offset { background-color: fadeout(@g_Body-Title-BG, 10%); } .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": 440, "increment": 10 }, "group": "UTR.LESS.LAYOUT" } */ @Nav-Exp: 240px; /* { "var" : "@Actions-Exp", "name" : "UTR.LESS.ACTIONS_COLUMN", "type" : "number", "units": "px", "range": { "min": 160, "max": 440, "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": 440, "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-Body-content { //min-height: 100vh; min-height: calc(~"100vh - "@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: 0 !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; } // Skip to Main Content Link #t_Body_skipToContent { color: @g_Accent-BG; background-color: @g_Accent-FG; } /** * 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, 85%), 100%), desaturate(lighten(@g_Body-BG, 85%), 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, 85%), 100%), desaturate(lighten(@g_Body-BG, 85%), 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; } // Breadcrumn within Title Bar /* Hero Region in Title Bar ========================================================================== */ .t-Body-title { .t-Breadcrumb-item:after { color: fadeout(@g_Body-Title-FG, 25%); } .t-Breadcrumb-item, .t-Breadcrumb-item a, .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, 85%), 100%), desaturate(lighten(@g_Actions-Col-BG, 85%), 50%)), 100%); } } .t-Button--navBar { .t-Button-badge { border-radius: 16px; 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, 85%), 100%), desaturate(lighten(@l_NavBarButton-Active-BG, 85%), 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; } } // Body Actions Button .t-Body-actionsToggle { // border-radius: @g_Button-BorderRadius; background-color: @g_Actions-Col-BG; border-color: rgba(0, 0, 0, .075); border-right-color: transparent; color: initial; .u-RTL & { border-color: rgba(0, 0, 0, .075); border-left-color: transparent; } &:active { background-color: contrast(@g_Actions-Col-BG, darken(@g_Actions-Col-BG, 10%), lighten(@g_Actions-Col-BG, 10%), 43%); } &:focus, &:active { border-color: @g_Focus; } } /** * 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, 85%), 100%), desaturate(lighten(@l_Card-BG, 85%), 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, 85%), lighten(@l_Card-BG, 85%)), 100%); } .t-Card-colorFill, .t-Card-icon { background-color: @g_Accent-BG; color: @g_Accent-FG; } /** * 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, .apex-item-multi, select.listmanager { 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 { border-color: contrast(@g_Danger-BG, darken(@g_Danger-BG, 10%), lighten(@g_Danger-BG, 10%), 43%); &:required:valid { border-color: contrast(@g_Form-Item-BG, darken(@g_Form-Item-BG, 10%), lighten(@g_Form-Item-BG, 10%), 43%); } } } // Floating Label BG Color for Textarea .t-Form-fieldContainer--floatingLabel.apex-item-wrapper--textarea.js-show-label .t-Form-label:before, .t-Form-fieldContainer--floatingLabel.apex-item-wrapper--textarea.is-active .t-Form-label:before { background-color: @g_Form-Item-BG; } .t-Form-fieldContainer--floatingLabel.apex-item-wrapper--textarea:focus-within .t-Form-label:before { background-color: @focusBg !important; } .t-Form-fieldContainer--floatingLabel.apex-item-wrapper--textarea:hover .t-Form-label:before { background-color: @hoverBg; } // Setting Focus Label Hot // .t-Form-fieldContainer--floatingLabel.is-focused .t-Form-label { // color: @g_Focus; // } // Adding border radius for text, select, and textarea items .apex-item-text, .apex-item-select, .apex-item-textarea { border-radius: @g_Form-BorderRadius; } .apex-item-multi .apex-item-text.apex-item-popup-lov { background-color: transparent; border-color: transparent; } .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, .apex-item-multi:focus, select.listmanager:focus { background-color: @focusBg !important; border-color: @g_Focus !important; } .apex-item-text.a-PopupLOV-search:focus + .a-Button--popupLOV, .apex-item-text.a-PopupLOV-search.is-focused + .a-Button--popupLOV, .apex-item-text.apex-item-popup-lov:focus + .a-Button--popupLOV, .apex-item-text.apex-item-popup-lov.is-focused + .a-Button--popupLOV, .apex-item-multi:focus + .a-Button--popupLOV, .apex-item-multi.is-focused + .a-Button--popupLOV, .apex-item-text.a-PopupLOV-search:focus + .apex-item-icon + .a-Button--popupLOV, .apex-item-text.a-PopupLOV-search.is-focused + .apex-item-icon + .a-Button--popupLOV, .apex-item-text.apex-item-popup-lov:focus + .apex-item-icon + .a-Button--popupLOV, .apex-item-text.apex-item-popup-lov.is-focused + .a-Button--popupLOV, .apex-item-multi:focus + .apex-item-icon + .a-Button--popupLOV, .apex-item-multi.is-focused + .apex-item-icon + .a-Button--popupLOV { box-shadow: 0 0 0 1px @g_Focus inset; } .apex-item-textarea:hover, .apex-item-text:hover, .apex-item-select:hover, .apex-item-multi:hover, select.listmanager:hover { background-color: @hoverBg; } .t-Form-inputContainer input::-webkit-input-placeholder { color: fadeout(@g_Form-Item-FG, 38%); opacity: 1; } .t-Form-inputContainer input::-moz-placeholder { color: fadeout(@g_Form-Item-FG, 38%); opacity: 1; } .t-Form-inputContainer input:-ms-input-placeholder { color: fadeout(@g_Form-Item-FG, 38%); opacity: 1; } .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, .t-Form-fieldContainer--floatingLabel .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, 85%), lighten(@g_Form-Item-BG, 85%), 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, .apex-item-multi.is-focused + .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, .apex-item-multi.is-focused + .apex-item-icon { box-shadow: none; background-color: @g_Focus; color: @g_Focus-FG; } } /* 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; } } } /** * 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-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%); } /* Hero Region in Title Bar ========================================================================== */ .t-Body-title { .t-HeroRegion-title, .t-HeroRegion-col--content { color: @g_Body-Title-FG; } } /* { "var" : "@irrBg", "name" : "UTR.LESS.BACKGROUND", "type" : "color", "group": "UTR.LESS.INTERACTIVE_REPORTS" } */ @irrBg: @g_Region-BG; @menu_Tabs-Active-BG: darken(@g_Accent-BG, 5%); @menu_Tabs-Active-Text: fade(contrast(@g_Accent-BG, darken(@g_Accent-BG, 50%), lighten(@g_Accent-BG, 50%)), 100%); @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, 85%), 100%), desaturate(lighten(@irrBg, 85%), 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 { border-top-right-radius: 0 !important; border-bottom-right-radius: 0 !important; .u-RTL & { border-top-right-radius: @g_Button-BorderRadius !important; border-bottom-right-radius: @g_Button-BorderRadius !important; border-top-left-radius: 0 !important; border-bottom-left-radius: 0 !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, 85%), 100%), desaturate(lighten(@irrBg, 85%), 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, 85%), 100%), desaturate(lighten(@irrBg, 85%), 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); border-bottom-left-radius: @g_Button-BorderRadius; border-bottom-right-radius: @g_Button-BorderRadius; box-shadow: 0 8px 16px rgba(0, 0, 0, .25), 0 0 0 1px rgba(0, 0, 0, .1); ::-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 } // Colors for Jet Charts .oj-legend, .oj-legend-title, .oj-chart-pie-center-label, .oj-chart-xaxis-title, .oj-chart-yaxis-title, .oj-chart-y2axis-title, .oj-chart-xaxis-tick-label, .oj-chart-yaxis-tick-label, .oj-chart-y2axis-tick-label,c .oj-chart-data-label, .oj-dvt-no-data-message { color: @g_Body-Text; } /** * 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 */ /* ========================================================================== Markdown Editor ========================================================================== */ .a-MDEditor {} .a-MDEditor .a-Toolbar { border-color: rgba(0, 0, 0, 0.075); background-color: rgba(0, 0, 0, 0.025); border-top-left-radius: .2rem; border-top-right-radius: .2rem; .a-Button { &:not(:hover):not(:active):not(:focus) { background-color: transparent; box-shadow: none; } // &:not(:only-of-type) { // border-radius: 0; // } // &:first-child { // border-top-left-radius: @g_Button-BorderRadius; // border-bottom-left-radius: @g_Button-BorderRadius; // } // &:last-child { // border-top-right-radius: @g_Button-BorderRadius; // border-bottom-right-radius: @g_Button-BorderRadius; // } } } .a-MDEditor-previewPanel, .a-MDEditor textarea.apex-item-textarea, .a-MDEditor .CodeMirror { border-color: rgba(0, 0, 0, 0.075); background-color: #fff; color: @g_Form-Item-FG; border-bottom-left-radius: .2rem; border-bottom-right-radius: .2rem; &:focus, &.CodeMirror-focused { border-color: @g_Accent-BG; } } /* ========================================================================== Markdownified ========================================================================== */ .is-markdownified { h1, h2, h3, h4, h5, h6 { color: inherit; } hr { background: none; border-top-color: rgba(0, 0, 0, 0.2); } blockquote { border-left-color: rgba(0, 0, 0, 0.1); } code { background-color: rgba(0, 0, 0, 0.25); box-shadow: inset rgba(0, 0, 0, 0.05) 0 0 0 1px; } pre { background-color: rgba(0, 0, 0, 0.25); box-shadow: inset rgba(0, 0, 0, 0.05) 0 0 0 1px; code { background-color: transparent; box-shadow: none; } } table { background-color: #fff; border-color: rgba(0, 0, 0, 0.1); box-shadow: 0 2px 4px -2px rgba(0, 0, 0, 0.075); th { background-color: rgba(0, 0, 0, 0.015); } th, td { border-bottom-color: rgba(0, 0, 0, 0.05); } tr:hover { td { background-color: rgba(0, 0, 0, 0.0125); } th { background-color: rgba(0, 0, 0, 0.25); } } } } /** * 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: @g_Accent-BG; color: @g_Accent-FG; } .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 {} /* Generic Menu ========================================================================== */ @l_NavBarMenu-BG: @g_NavBarMenu-BG; @l_NavBarMenu-FG: @g_NavBarMenu-FG; @l_NavBarMenu-Active-BG: @g_NavBarMenu-Active-BG; @l_NavBarMenu-Active-FG: @g_NavBarMenu-Active-FG; .a-Menu-content { border-radius: 2px; background-color: @l_NavBarMenu-BG; border-width: 0; box-shadow: 0 8px 16px rgba(0, 0, 0, .25), 0 0 0 1px rgba(0,0,0,.1); padding: 8px 0; .a-Menu-scrollBtn--down, .a-Menu-scrollBtn--up { background-color: contrast(@l_NavBarMenu-BG, darken(@l_NavBarMenu-BG, 3%), lighten(@l_NavBarMenu-BG, 3%), 43%); color: @l_NavBarMenu-FG; } } .a-Menu { min-width: 160px; .a-Menu-item { line-height: 36px; color: @l_NavBarMenu-FG; & > .a-Menu-inner .a-Menu-accel, & > .a-Menu-inner .a-Menu-subMenuCol { opacity: .85; } &.is-focused, &.is-expanded { color: @l_NavBarMenu-Active-FG; background-color: @l_NavBarMenu-Active-BG; } &.is-disabled.is-focused { color: fadeout(@l_NavBarMenu-FG, 50%); background-color: @l_NavBarMenu-BG; & > .a-Menu-inner .a-Menu-accel { opacity: .5; } } .a-Menu-subMenuCol { height: 36px; padding: 10px 4px 10px 0; } .a-Menu-statusCol { padding: 10px 8px; } } .a-Menu-inner + .a-Menu > .a-Menu-content { // transform: translateY(-8px); } } .a-Menu-hSeparator { border-color: fadeout(@l_NavBarMenu-FG, 90%); margin-top: 4px; padding-top: 2px; padding-bottom: 2px; } /* Menu within Menu Bar ========================================================================== */ .a-MenuBar { .a-Menu.a-Menu--top > .a-Menu-content { // border: 1px solid rgba(0,0,0,.1); } .a-Menu-content { background-clip: padding-box; box-shadow: 0 8px 16px rgba(0, 0, 0, .25); border-color: rgba(0,0,0,.1); border-width: 1px; } .a-Menu-inner + .a-Menu > .a-Menu-content { // transform: translate(-4px, -9px); } } /* Generic Menu Bar ========================================================================== */ .a-MenuBar-label { display: inline-block; font-size: 1.4rem; line-height: 1.6rem; padding: 12px; text-decoration: none; flex-grow: 1; &:hover { background-clip: padding-box; text-decoration: none; } & + .a-Menu-subMenuCol { flex-shrink: 0; align-self: center; line-height: 1; } } .a-MenuBar-item { display: flex; float: left; padding: 0; border-width: 0 1px; box-shadow: none; margin-left: 0; background-clip: content-box; .u-RTL & { float: right; } &.is-expanded { outline: none; } &:hover { background-color: transparent; } /* First Menu Bar Item */ &:first-child { border-left-width: 0; .u-RTL & { border-right-width: 0; border-left-width: 1px; } } /* Focus State (also applied on hover) */ &.is-focused { box-shadow: none; } /* Current Menu Item becomes bold */ &.a-Menu--current { .a-MenuBar-label { font-weight: bold; } } /* Sub Menu Drop Down Icon */ & > .a-Menu-subMenuCol, &.a-Menu--split > .a-Menu-subMenuCol { border-width: 0; padding: 0 12px 0 0; .u-RTL & { padding-right: 0; padding-left: 12px; border-right: 0 !important; } } & > .a-Menu-subMenuCol .a-Icon { border-radius: 12.5%; &:before { content: '\e0c2'; } } & > button + .a-Menu-subMenuCol { /* When parent is no target, but has sub menu, then make it appear as single item */ margin-left: -6px; .u-RTL & { margin-left: 0; margin-right: -6px; } } } /* Header Top Navigation Menu ========================================================================== */ .t-Header-nav-list { background-color: @g_Nav-BG; } .t-Header-nav { .a-MenuBar-label { color: @g_Nav-FG; } .t-Menu-badge { padding: 0 6px; font-size: 11px; line-height: inherit; font-weight: 500; background-color: @g_Nav-Badge-BG; color: @g_Nav-Badge-FG; display: inline-block; vertical-align: top; margin-left: 4px; border-radius: 16px; .u-RTL & { margin-left: 0; margin-right: 4px; } } .a-MenuBar-item { /* First Menu Bar Item */ border-color: mix(@g_Nav-Active-FG, @g_Nav-BG, 7.5%); /* Focus State (also applied on hover) */ &.is-focused { background-color: contrast(@g_Nav-Active-BG, darken(@g_Nav-Active-BG, 3%), lighten(@g_Nav-Active-BG, 3%), 43%); .a-MenuBar-label { color: @g_Nav-Active-FG; } } /* Current + Focused, or Current + Expanded */ &.a-Menu--current, &.a-Menu--current.is-focused, &.is-expanded, &.a-Menu--current.is-expanded { background-color: @g_Nav-Active-BG; .a-MenuBar-label { color: @g_Nav-Active-FG; } } & > .a-Menu-subMenuCol .a-Icon { color: fade(@g_Nav-Active-FG, 80%); } &.a-Menu--split > .a-Menu-subMenuCol:hover .a-Icon, &.is-focused > button + .a-Menu-subMenuCol .a-Icon { /* Hovering over sub menu icon on menu bar, or hovering on a non-split menu bar item */ background-color: fade(@g_Nav-Active-FG, 15%); } /* Icon when Menu Expanded */ &.is-expanded > .a-Menu-subMenuCol .a-Icon, &.is-expanded > .a-Menu-subMenuCol:hover .a-Icon { background-color: @g_Nav-Accent-BG; border-color: @g_Nav-Accent-BG; color: @g_Nav-Accent-FG; } } } /* ========================================================================== Standalone Menu Bar ========================================================================== */ .t-MenuBar { background-color: @g_Button-BG; // border: 1px solid mix(@g_Button-Text, @g_Button-BG, 10%); .a-MenuBar-label { color: @g_Button-Text; } .a-MenuBar-item { /* First Menu Bar Item */ border-color: mix(@g_Button-Text, @g_Button-BG, 10%); /* Focus State (also applied on hover) */ &.is-focused { background-color: contrast(@g_Button-BG, darken(@g_Button-BG, 3%), lighten(@g_Button-BG, 3%), 43%); } /* Current + Focused, or Current + Expanded */ &.a-Menu--current, &.a-Menu--current.is-focused, &.is-expanded, &.a-Menu--current.is-expanded { background-color: @g_NavBarMenu-Active-BG; .a-MenuBar-label { color: @g_NavBarMenu-Active-FG; } } & > .a-Menu-subMenuCol .a-Icon { color: fade(@g_Button-Text, 80%); } &.a-Menu--split > .a-Menu-subMenuCol:hover .a-Icon, &.is-focused > button + .a-Menu-subMenuCol .a-Icon { /* Hovering over sub menu icon on menu bar, or hovering on a non-split menu bar item */ background-color: fade(@g_Button-Text, 15%); } /* Icon when Menu Expanded */ &.is-expanded > .a-Menu-subMenuCol .a-Icon, &.is-expanded > .a-Menu-subMenuCol:hover .a-Icon { background-color: @g_NavBarMenu-Active-FG; border-color: @g_NavBarMenu-Active-FG; color: @g_NavBarMenu-Active-BG; } } } // @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 ====== */ /** * 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(); } .a-PopupLOV-searchBar { padding: 8px; } // Icon List .a-PopupLOV-results { .a-IconList-item { color: inherit; &:hover { background-color: @g_Link-Base; color: contrast(@g_Link-Base, darken(@g_Link-Base, 75%), lighten(@g_Link-Base, 75%), 43%); box-shadow: 0 0 0 1px darken(@g_Link-Base, 5%) inset; a { color: inherit; } } } .a-GV-loadMore { border-top-color: rgba(0,0,0,.15); } } /** * 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, 85%), 100%), desaturate(lighten(@g_Body-BG, 85%), 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, 85%), 100%), desaturate(lighten(@g_Region-BG, 85%), 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, 85%), 100%), desaturate(lighten(@g_Region-BG, 85%), 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, 85%), 100%), desaturate(lighten(@g_Region-BG, 85%), 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, 85%), 100%), desaturate(lighten(@g_Body-Title-BG, 85%), 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, 85%), 100%), desaturate(lighten(@g_Body-BG, 85%), 50%)), 100%); } .t-Body-title & { color: @g_Body-Title-FG; } .t-Region & { color: fade(contrast(@g_Region-BG, desaturate(darken(@g_Region-BG, 85%), 100%), desaturate(lighten(@g_Region-BG, 85%), 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 &, .t-Body-info & { color: @g_Body-Title-FG; } .t-Region & { color: fade(contrast(@g_Region-BG, desaturate(darken(@g_Region-BG, 85%), 100%), desaturate(lighten(@g_Region-BG, 85%), 50%)), 100%); } color: fade(contrast(@g_Body-BG, desaturate(darken(@g_Body-BG, 85%), 100%), desaturate(lighten(@g_Body-BG, 85%), 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-avatar { background-color: @g_Accent-BG; color: @g_Accent-FG; } .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 * */ /* Style A ========================================================================== */ .t-TreeNav--styleA { .a-TreeView-node--topLevel { border-bottom: 1px solid fadeout(@g_Nav-Accent-FG, 92.5%); .a-TreeView-row.is-current--top, .a-TreeView-row.is-current--top ~ ul .a-TreeView-row { box-shadow: inset @g_Nav-Accent-BG 4px 0 0; .u-RTL & { box-shadow: inset @g_Nav-Accent-BG -4px 0 0; } } .a-TreeView-row.is-current--top.is-focused, .a-TreeView-row.is-current--top ~ ul .a-TreeView-row.is-focused { box-shadow: inset @g_Nav-Accent-BG 4px 0 0, 0 0 0 1px @g_Nav-Accent-BG inset; .u-RTL & { box-shadow: inset @g_Nav-Accent-BG -4px 0 0, 0 0 0 1px @g_Nav-Accent-BG inset; } } } .a-TreeView-badge { background-color: @g_Nav-Badge-BG; color: @g_Nav-Badge-FG; } } .js-navCollapsed .t-TreeNav--styleA .a-TreeView-node--topLevel > .a-TreeView-content .a-TreeView-label .a-TreeView-badge { background-color: @g_Nav-Badge-BG; color: @g_Nav-Badge-FG; box-shadow: none; } /* Style B ========================================================================== */ .t-TreeNav--styleB { .a-TreeView-node--topLevel { ul { background-color: transparent; } .a-TreeView-row.is-current--top, .a-TreeView-row.is-current--top.is-selected { background-color: @g_Nav-Accent-BG; } .a-TreeView-row.is-current--top.is-selected + .a-TreeView-toggle, .a-TreeView-content.is-current--top { color: @g_Nav-Accent-FG; } .a-TreeView-content.is-current--top.is-hover { color: @g_Nav-Accent-FG !important; } .a-TreeView-row.is-current--top.is-hover { background-color: lighten(@g_Nav-Accent-BG, 1%) !important; } } .a-TreeView-badge { background-color: @g_Nav-Badge-BG; color: @g_Nav-Badge-FG; box-shadow: none; } } /* ========================================================================== 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, 85%), 100%), desaturate(lighten(@l_Wizard-BG, 85%), 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; } .t-WizardSteps-label { color: fade(contrast(@l_Wizard-BG, desaturate(darken(@l_Wizard-BG, 85%), 100%), desaturate(lighten(@l_Wizard-BG, 85%), 50%)), 100%); } a.t-WizardSteps-wrap[href]:hover, a.t-WizardSteps-wrap[href]:focus { .t-WizardSteps-label { color: @g_Link-Base; text-decoration: underline; } } a.t-WizardSteps-wrap[href]:focus .t-WizardSteps-marker { box-shadow: 0 0 0 1px @g_Region-BG, 0 0 0 2px @g_Focus, 0 0 1px 2px fade(@g_Focus,25%); } /** * 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, 85%), 100%), desaturate(lighten(@g_Accent-FG, 85%), 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, 85%), 100%), desaturate(lighten(@g_Accent-FG, 85%), 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; } 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%); } /* ========================================================================== 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); // } /* ========================================================================== 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); } /* Color Parents (used in Lists and other places as template options) ========================================================================== */ // .color-parents(@n, @i: 1) when (@i =< @n) { // .u-colors-accent-@{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-parents(@n, (@i + 1)); // } // .color-parents(15); /* ========================================================================== 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; }