Kuali Rice Development
  1. Kuali Rice Development
  2. KULRICE-11551

text areas have a grey box around them when they are read only

    Details

    • Type: Bug Fix Bug Fix
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3, 2.4
    • Fix Version/s: 2.4
    • Component/s: Development
    • Security Level: Public (Public: Anyone can view)
    • Labels:
      None
    • Similar issues:
      KULRICE-12984The styling of the read-only text area is broken
      KULRICE-12615Text Area still editable even when disabled
      KULRICE-12809In KRAD, the Note Text after adding a note is shown in a light grey box
      KULRICE-9948Pre tag around read only values for multi-line display causes extra padding
      KULRICE-11693Column calculations not working with read only content
      KULRICE-10872Improve Read-Only Disclosure Behavior
      KULRICE-3452Extra white area appears in Firefox when tabs display error messages
      KULRICE-9332Spaces are replaced by ? in the content of a repeated text area component
      KULRICE-3229Do not encrypt values on lookups and inquiries if they only have the read-only restriction
      KULRICE-7716Update Lightboxes to allow for Maintenance Documents within them
    • Rice Module:
      KRAD
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required
    • Code Review Status:
      Not Required
    • Include in Release Notes?:
      Yes

      Description

      This can be seen if you edit a context. After submit is selected, both the Explanation and Description text areas have a light grey box around them. The Description text area actually has it before you submit on the "old" side since that is read only as well.

        Activity

        Hide
        Shannon Hess added a comment -

        This jira was created out of JIRA KULRICE-11405

        Show
        Shannon Hess added a comment - This jira was created out of JIRA KULRICE-11405
        Hide
        Shannon Hess added a comment - - edited

        The text areas are surrounded by the pre tag (HTML Preformatted Text) which have the background color and border specified. I need to follow up with Peter/Jerry to determine if removing the background color and border is a desired change.

        pre {
        ...
        ...
        background-color: #f5f5f5;
        border: 1px solid #cccccc;
        ...
        }
        

        From variables.less

        @pre-bg:                      #f5f5f5;
        @pre-color:                  @gray-dark;
        @pre-border-color:      #ccc;
        

        From code.less

        pre {
        ...
        ...
          word-wrap: break-word;
          color: @pre-color;
          background-color: @pre-bg;
          border: 1px solid @pre-border-color;
        ...
          }
        
        Show
        Shannon Hess added a comment - - edited The text areas are surrounded by the pre tag (HTML Preformatted Text) which have the background color and border specified. I need to follow up with Peter/Jerry to determine if removing the background color and border is a desired change. pre { ... ... background-color: #f5f5f5; border: 1px solid #cccccc; ... } From variables.less @pre-bg: #f5f5f5; @pre-color: @gray-dark; @pre-border-color: #ccc; From code.less pre { ... ... word-wrap: break -word; color: @pre-color; background-color: @pre-bg; border: 1px solid @pre-border-color; ... }
        Hide
        Shannon Hess added a comment -

        Attaching screen shot of what a read only text area looks like with the grey box around it.

        Show
        Shannon Hess added a comment - Attaching screen shot of what a read only text area looks like with the grey box around it.
        Hide
        Shannon Hess added a comment -

        Attaching what the context desc would look like without the background color and border around the text area. (old side is read only, new side is editable)

        Show
        Shannon Hess added a comment - Attaching what the context desc would look like without the background color and border around the text area. (old side is read only, new side is editable)
        Hide
        Shannon Hess added a comment -

        This has been fixed. When I talked to Jerry about making the change, he indicated it would be fine and to give the pre tag a style class that could be used to remove the background, which is how I implemented the change.

        Show
        Shannon Hess added a comment - This has been fixed. When I talked to Jerry about making the change, he indicated it would be fine and to give the pre tag a style class that could be used to remove the background, which is how I implemented the change.
        Show
        Adam Campbell (Inactive) added a comment - Confirmed on http://env12.rice.kuali.org/portal.do?channelTitle=Context%20Lookup&channelUrl=http://env12.rice.kuali.org/kr-krad/lookup?methodToCall=start&dataObjectClassName=org.kuali.rice.krms.impl.repository.ContextBo&showMaintenanceLinks=true&returnLocation=http://env12.rice.kuali.org/portal.do&hideReturnLink=true closing as fixed

          People

          • Assignee:
            Shannon Hess
            Reporter:
            Shannon Hess
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Structure Helper Panel