Results 1 to 4 of 4

Thread: Css coding in cp3.2 - Should this be like this?

  1. #1
    Thread Starter
    Veteran bleem's Avatar
    Join Date
    Feb 2012
    Posts
    1,572
    Thanks
    104
    Thanked 205 Times in 180 Posts

    Css coding in cp3.2 - Should this be like this?

    Hi,

    Just doing some searching in style.css in cp 3.2.

    The parts I have not seen before are the initial initial bits like so:


    Code:
    #app-attachment-upload-pickfiles { background-color:#F2F2F2;  background-position:initial initial; background-repeat:initial initial;  border:1px solid #CCCCCC; -moz-border-radius: 5px;  -webkit-border-radius: 5px; border-radius:5px; color:#333333;  clear:both; display:inline-block;}
    I have found this and am unsure if it is a copy paste job from chrome - (not by me) or coded like this on purpose by cp devs.

    Code:
    /* app-plupload styles */
    .form_edit #app-attachment-upload-container { margin-left:0px; }
    #app-attachment-upload-container { margin-left:170px; width:465px; }
    #app-attachment-upload-filelist { clear:both; display:inline-block; width:100%; }
    #app-attachment-upload-filelist ul.app-attachment-list { display:block; }
    #app-attachment-upload-filelist li.app-attachment, #app-attachment-upload-filelist .app-attachment-upload-progress { clear:both; width:100%; }
    #app-attachment-upload-filelist .attachment-title input.text { float:none; }
    #app-attachment-upload-filelist .app-attachment .button { background-color:#F2F2F2; background-position:initial initial; background-repeat:initial initial; border:1px solid #CCCCCC; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius:5px; color:#333333; display:inline-block; font-size:12px; margin:0 0 0 15px; padding:3px 8px; }
    #app-attachment-upload-filelist .app-attachment .attachment-image { clear:both; display:inline-block; float:left; }
    #app-attachment-upload-filelist .app-attachment .attachment-image img { display:inline-block; margin:0 10px 0 0; }
    #app-attachment-upload-pickfiles { background-color:#F2F2F2; background-position:initial initial; background-repeat:initial initial; border:1px solid #CCCCCC; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius:5px; color:#333333; clear:both; display:inline-block; float:none; font-weight:bold; margin:5px 0 5px; padding:3px 8px; }
    Could someone please explain if possible, why this is coded like this and is it detrimental to the code?
    Kind regards

  2. #2
    dimitris's Avatar
    Join Date
    Oct 2011
    Location
    Earth
    Posts
    20,618
    Thanks
    222
    Thanked 1,873 Times in 1,770 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  3. #3
    Thread Starter
    Veteran bleem's Avatar
    Join Date
    Feb 2012
    Posts
    1,572
    Thanks
    104
    Thanked 205 Times in 180 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    dimitris's Avatar
    Join Date
    Oct 2011
    Location
    Earth
    Posts
    20,618
    Thanks
    222
    Thanked 1,873 Times in 1,770 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Need some coding help, please.
    By dmyers in forum ClassiPress General Discussion
    Replies: 3
    Last Post: October 17th, 2010, 01:31 AM
  2. CAn anyone help with PHP coding?
    By dollarpermile.com in forum ClassiPress General Discussion
    Replies: 1
    Last Post: June 14th, 2010, 05:50 PM
  3. CAn anyone help with PHP coding?
    By dollarpermile.com in forum Help Using ClassiPress
    Replies: 0
    Last Post: December 31st, 1969, 06:00 PM