Dotclear

Changeset 2179:d7e1ae54c66b


Ignore:
Timestamp:
10/01/13 08:02:59 (10 years ago)
Author:
Anne Kozlika <kozlika@…>
Branch:
dcRepo
Message:

Styles pour la gestation des thèmes, first step (wip)

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • admin/style/default.css

    r2171 r2179  
    158158     -moz-box-sizing: border-box;  
    159159     -webkit-box-sizing: border-box;  
    160      box-sizing: border-box;   
     160     box-sizing: border-box; 
     161     text-align: left; 
    161162     } 
    162163.two-boxes { 
     
    15321533                    } 
    15331534/* ------------------------------------------------------------------- blog_theme.php */ 
    1534 /* 
    1535 #themes { 
    1536      margin: 0; 
    1537      width: 100%; 
    1538      padding: 0; 
    1539      } 
    1540      .theme-details { 
    1541           border-top: 1px solid #ccc; 
    1542           padding: 12px; 
    1543           display: inline-block; 
    1544           vertical-align: top; 
    1545           width: 284px; 
    1546           } 
    1547           .theme-details.current-theme { 
    1548                background: #eef; 
    1549                } 
    1550           .theme-details:hover { 
    1551                background: #f3f3f3; 
    1552                } 
    1553           .theme-shot img { 
    1554                display: block; 
    1555                border: 1px solid #ccc; 
    1556                margin-bottom: 1.5em; 
    1557                } 
    1558           span.theme-desc { 
    1559                display: block; 
    1560                } 
    1561           span.theme-version { 
    1562                color: #676e78; 
    1563                } 
    1564           .theme-css { 
    1565                display: block; 
    1566                } 
    1567      #themes-actions { 
    1568           border-bottom: 1px solid #999; 
    1569           margin-bottom: 3em; 
    1570           } 
    1571 */ 
    1572 /* Themes list, JS version */ 
    1573 /* 
    1574 #themes-wrapper { 
    1575      display: table; 
    1576      } 
    1577      #themes-wrapper #themes { 
    1578           display: table-cell; 
    1579           vertical-align: top; 
    1580           padding-left: 1em; 
    1581           } 
    1582      #theme-box { 
    1583           display: table-cell; 
    1584           vertical-align: top; 
    1585           padding: 0; 
    1586           width: 312px; 
    1587           border: 1px solid #ccc; 
    1588           border-radius: 3px; 
    1589           } 
    1590           #theme-box .theme-shot, 
    1591           #theme-box .theme-info, 
    1592           #theme-box .theme-actions { 
    1593                background: #eef; 
    1594                padding: 1em 16px; 
    1595                margin: 0; 
    1596                } 
    1597           #theme-box .theme-shot img { 
    1598                display: block; 
    1599                width: 280px; 
    1600                height: 245px; 
    1601                border: 1px solid #ccc; 
    1602                } 
    1603           #theme-box h4 { 
    1604                color: #000; 
    1605                background: #eef; 
    1606                } 
    1607           #theme-box span.theme-version { 
    1608                color: #676e78; 
    1609                } 
    1610           #theme-box span.theme-parent-ok { 
    1611                color: #676e78; 
    1612                } 
    1613           #theme-box span.theme-parent-missing { 
    1614                color: #c00; 
    1615                font-weight:bold; 
    1616                } 
    1617           #theme-box .theme-actions { 
    1618                border-bottom: 1px solid #ccc; 
    1619                } 
    1620 #themes .theme-details-js { 
    1621      float: left; 
    1622      width: 120px; 
    1623      height: 150px; 
    1624      margin: 0 12px 24px; 
    1625      padding: 12px 12px 0; 
    1626      text-align: center; 
    1627      background: #f3f3f3; 
     1535.box.theme { 
     1536     margin: 1em; 
     1537     padding: 1em; 
    16281538     border: 1px solid #ddd; 
    1629      cursor: pointer; 
    1630      border-radius: 4px; 
    1631      } 
    1632      #themes .theme-details-js label { 
    1633           cursor: pointer; 
    1634           } 
    1635      #themes .theme-details-js.theme-selected { 
    1636           background: #e7e7e7; 
    1637           border: 1px solid #999; 
    1638           } 
    1639      #themes .theme-details-js .theme-shot img { 
    1640           width: 120px; 
    1641           height: 105px; 
    1642           border: 1px solid #fff; 
    1643           } 
    1644      #themes a:focus div, #themes a:hover div, 
    1645      #themes a:focus div.current-theme, #themes a:hover div.current-theme { 
    1646           background: #bee74b; 
    1647           } 
    1648 */ 
     1539     } 
     1540#theme-new .box.theme { 
     1541     width: 280px; 
     1542     } 
     1543.module-sshot img { 
     1544     border: 1px solid #ddd; 
     1545     padding: .5em; 
     1546     background: #fff; 
     1547     } 
    16491548/* ------------------------------------------------------------------ categories.php */ 
    16501549#categories { 
  • inc/admin/lib.moduleslist.php

    r2174 r2179  
    756756 
    757757               $line =  
    758                '<div class="box '.($current ? 'current-theme' : 'theme').'">'; 
     758               '<div class="box small '.($current ? 'current-theme' : 'theme').'">'; 
    759759 
    760760               if (in_array('sshot', $cols)) { 
Note: See TracChangeset for help on using the changeset viewer.

Sites map