[CLOSED] ComboBox style

  1. #1

    [CLOSED] ComboBox style

    Attached Thumbnails Click image for larger version. 

Name:	DesignComboBox.png 
Views:	72 
Size:	9.8 KB 
ID:	6050  
    Last edited by Daniil; Apr 23, 2013 at 3:56 AM. Reason: [CLOSED]
  2. #2
    Hi @osef,

    Could you please point on the screenshot what exactly "blue border" you need to remove? Of a ComboBox field's itself? Of a ComboBox's dropdown list? Of a selected item?
  3. #3
    Attached Thumbnails Click image for larger version. 

Name:	After01.png 
Views:	45 
Size:	30.3 KB 
ID:	6051   Click image for larger version. 

Name:	before01.png 
Views:	41 
Size:	31.6 KB 
ID:	6052  
    Last edited by RCN; Apr 17, 2013 at 5:11 PM.
  4. #4
    Please let me know if that was what you were needing.
  5. #5
    If you need to remove the border of the item, please try the following:
    <style type="text/css">
        .x-boundlist-item
        {
            padding-left: 0px !important;
            padding-top: 0px !important;
            padding-right: 0px !important;
            padding-bottom: 0px !important;
        }
    </style>
    or simply
    <style type="text/css">
        .x-boundlist-item
        {
            padding:0px !important;
        }
    </style>
    Before
    Click image for larger version. 

Name:	before02.png 
Views:	39 
Size:	49.9 KB 
ID:	6054

    After
    Click image for larger version. 

Name:	after02.png 
Views:	39 
Size:	34.6 KB 
ID:	6053
    Last edited by RCN; Apr 17, 2013 at 5:29 PM.
  6. #6
    Hi RCN and Daniil

    The item when the mouse is hover in this image is a example

    Click image for larger version. 

Name:	ComboBoxItemdotted.png 
Views:	25 
Size:	4.4 KB 
ID:	6066

    But I want to remove the border dotted, I try to do the code of RCN but It don't resolve, this to remove some border but not all

    <style type="text/css">
        .x-boundlist-item
        {
            padding:0px !important;
        }
    </style>
    Even I can to see some border dotted as in the picture.
  7. #7
    Hello!

    Please, try to add the following CSS rule:

    .x-boundlist-item-over {
    	border: none !important;
    }
  8. #8
    Quote Originally Posted by Baidaly View Post
    Hello!

    Please, try to add the following CSS rule:

    .x-boundlist-item-over {
    	border: none !important;
    }
    Hi Baidaly, my problem is resolve with this:

        <style type="text/css">
            .list-item:hover
            {   
                background-color:#0174C0;
                color:White;
                padding: 5px 10px 5px 10px;
                margin-top:2px;
                margin-bottom:2px;
            }
            
            .list-item
            {
                font: normal 11px tahoma, arial, helvetica, sans-serif;
                padding: 5px 10px 5px 10px;
                color: #000;
                background-color:#F2F2F2;
                margin-top:2px;
                margin-bottom:2px;
            }
            
            .x-boundlist
            {
                background-color: #F2F2F2;
            }
            
            .x-boundlist-item
            {
                padding:0px !important;
                border-bottom: 1px solid #D9D9D9;
                border-top: none;
                border-left: none;
                border-right: none;
                margin-left:2px;
                margin-right:2px;
                background-color: #F2F2F2;
            }
            
            x-boundlist-item-over
            {
                padding:0px !important;
                border: none !important;
                background-color: #F2F2F2;
            }
        </style>
    I have a style as the picture:

    Click image for larger version. 

Name:	ComboBoxItemSelectedEnd.png 
Views:	28 
Size:	3.2 KB 
ID:	6070


    But, now, I don't have style to selected item, in the next picture I have selected the year 2013, How Can I do to selected style for the item?, Because the style in the previous problem is with mouse "hover"

    Click image for larger version. 

Name:	ComboBoxItemNotSelectedEnd.png 
Views:	24 
Size:	3.2 KB 
ID:	6071

    Thank you.
  9. #9
    The ".x-boundlist-selected" CSS class is added for a selected item.

Similar Threads

  1. [CLOSED] Combobox icon style
    By bayoglu in forum 2.x Legacy Premium Help
    Replies: 4
    Last Post: Apr 03, 2013, 2:09 PM
  2. [CLOSED] FontFamily style in ComboBox
    By softmachine2011 in forum 2.x Legacy Premium Help
    Replies: 4
    Last Post: Jun 01, 2012, 10:19 AM
  3. Custom style for selected ComboBox item
    By nextSTEP in forum 1.x Help
    Replies: 1
    Last Post: Sep 20, 2010, 12:18 PM
  4. [CLOSED] ComboBox style help
    By Jurke in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Feb 12, 2009, 7:52 AM

Tags for this Thread

Posting Permissions