Opened 11 years ago

Closed 11 years ago

#9203 closed task (fixed)

BorderContainer: rendering of dijit splitter in tundra is better to be restyled to don't use background image

Reported by: Aleksey Rechinskiy Owned by: bill
Priority: high Milestone: 1.4
Component: Dijit Version: 1.3.0
Keywords: Cc:
Blocked By: Blocking:

Description

Hi!

dijit splitter component, that is used with dijit.BorderContainer? for example, uses simple background image that looks like a simple gray line. It can be restyled without an image to look the same.

For example, I would like to suggest to restyle vertical splitter

.tundra .dijitSplitterV .dijitSplitterThumb {   BorderContainer.css (line 53)
background:transparent url(../images/splitContainerSizerV-thumb.png) no-repeat scroll 0 0;
height:19px;
left:1px;
width:5px;
}

to

.tundra .dijitSplitterV .dijitSplitterThumb {
background:#B0B0B0 none;
height:19px;
left:2px;
width:1px;
}

New splitter has the same same look as the original, but doesn't produce unnecessary HTTP image request.

It is common to use horizontal and vertical spliiters, so such restyling can save 2 HTTP requests.

Change History (3)

comment:1 Changed 11 years ago by Adam Peller

Owner: set to nonken

comment:2 Changed 11 years ago by bill

Milestone: tbd1.4
Owner: changed from nonken to bill
Status: newassigned
Summary: Rendering of dijit splitter in tundra is better to be restyled to don't use background imageBorderContainer: rendering of dijit splitter in tundra is better to be restyled to don't use background image
Type: enhancementtask

Agreed, I don't see a reason to use a background-image there.

comment:3 Changed 11 years ago by bill

Resolution: fixed
Status: assignedclosed

(In [17435]) Remove background-image reference that can be implemented as a plain background-color. Fixes #9203.

Note: See TracTickets for help on using tickets.