Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 2E4E4200B14 for ; Sat, 18 Jun 2016 08:33:07 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 2CF09160A63; Sat, 18 Jun 2016 06:33:07 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 74B85160A4E for ; Sat, 18 Jun 2016 08:33:06 +0200 (CEST) Received: (qmail 8015 invoked by uid 500); 18 Jun 2016 06:33:05 -0000 Mailing-List: contact dev-help@ofbiz.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ofbiz.apache.org Delivered-To: mailing list dev@ofbiz.apache.org Received: (qmail 7977 invoked by uid 99); 18 Jun 2016 06:33:05 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Jun 2016 06:33:05 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 469B32C14F9 for ; Sat, 18 Jun 2016 06:33:05 +0000 (UTC) Date: Sat, 18 Jun 2016 06:33:05 +0000 (UTC) From: "Pranay Pandey (JIRA)" To: dev@ofbiz.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (OFBIZ-7311) Formatting and renaming of the CSS files as per best practices MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 18 Jun 2016 06:33:07 -0000 [ https://issues.apache.org/jira/browse/OFBIZ-7311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pranay Pandey closed OFBIZ-7311. -------------------------------- > Formatting and renaming of the CSS files as per best practices > -------------------------------------------------------------- > > Key: OFBIZ-7311 > URL: https://issues.apache.org/jira/browse/OFBIZ-7311 > Project: OFBiz > Issue Type: Improvement > Components: themes > Affects Versions: Trunk > Reporter: Swapnil M Mane > Assignee: Pranay Pandey > Priority: Minor > Fix For: Upcoming Branch > > Attachments: OFBIZ-7311-bizznesstime.patch, OFBIZ-7311-bluelight.patch, OFBIZ-7311-droppingcrumbs.patch, OFBIZ-7311-flatgrey.patch, OFBIZ-7311-multiflex.patch, OFBIZ-7311-rainbowstone.patch, OFBIZ-7311-renamed-maincss-to-style.patch, OFBIZ-7311-tomahawk.patch > > > In CSS files, we are having various inconsistency in the formatting of the code for e.g. we have following types of code formatting > // No space > {code} > ul#preferences-menu a:hover { > text-decoration: none; > } > {code} > // Space of 2 > {code} > div.autocomplete ul { > list-style-type:none; > margin:0; > padding:0; > } > {code} > // Space of 4 > {code} > .control-area a { > font-size: 1.1em; > color: #5CA3D7; > } > {code} > For better readability we should format the existing files with space of 4. > Also for some theme, we named CSS files as *maincss.css* and for some, we named it as *style.css*. We can rename these file as per best practices for consistency. -- This message was sent by Atlassian JIRA (v6.3.4#6332)