Files
PrestaShop/admin-dev/themes/default/css/admin-theme.sass
T
Kevin Granger 84c0ccbae6 // products TPL
2013-07-11 18:58:44 +02:00

361 lines
6.7 KiB
Sass
Executable File

@import "_bootstrap.scss"
@import "_font-awesome.scss"
@import "_toggle-switch.scss"
html, body
height: 100%
background: #EEEEEE
body.fixed-top
position: relative
top: 56px
margin-bottom: 50px
font-family: 'Open Sans', sans-serif
#main
position: relative
min-height: 100%
height: 100%
#content
float: left
width: 1280px
min-height: 100%
padding: 20px 20px 90px 20px
margin: 0 0 0 240px
border-left: 2px solid black
background-color: white
.page-sidebar
top: 65px
position: fixed
width: 240px
> ul
margin: 0
padding: 0
li
background-color: white
list-style: none
&:hover
background-color: #eee
> li
&.active
> a
color: white
background-color: #1A1A1A
> a
text-transform: uppercase
font-size: 12px
color: #777
display: block
padding: 8px 0 8px 15px
border-bottom: 1px solid #CECECE
&:hover
text-decoration: none
img
margin-right: 10px
ul
margin: 0
padding: 0
border-bottom: 1px solid #CECECE
background-color: white
li
a
font-size: 12px
display: block
padding: 3px 15px 3px 20px
border: none
border-bottom: 1px solid #F5F5F5
i
margin-top: 4px
color: #CECECE
&:hover
background-color: #F5F5F5
text-decoration: none
i
color: #004D7B
&.active
a
color: #1A1A1A
background-color: #ADB0B8
i
color: black
li:not(.active) ul
display: none
li.expanded
ul
display: block
background-color: white
> ul > li > ul.sub-menu
display: none
list-style: none
clear: both
margin: 8px 0px 8px 0px
#footer
width: 100%
position: fixed
bottom: 0
padding: 0
font-size: 12px
color: #999
background-color: #272822
.go-top
display: block
text-decoration: none
color: #fff
cursor: pointer
margin-top: -2px
margin-right: 0px
margin-bottom: 0px
font-size: 16px
background-color: #111
padding: 0px 6px 0px 6px
.go-top i
color: #666
font-size: 22px
margin-bottom: 5px
#menu .maintab > a [class^="icon-"], #menu .maintab > a [class*=" icon-"]
font-size: 18px
border-radius: 35px
height: 30px
width: 30px
color: white
display: inline-block
text-align: center
line-height: 30px
label span.label-tooltip
color: #0086CE
text-decoration: none
border-bottom: dashed 1px #647858
label.required:before
content: '*'
color: red
font-size: 14px
//variables
$icon-color: #7A0928
.icon-AdminCatalog
@extend .icon-book
background-color: adjust-hue($icon-color, 20)
.icon-AdminParentOrders
@extend .icon-credit-card
background-color: adjust-hue($icon-color, 40)
.icon-AdminParentCustomer
@extend .icon-group
background-color: adjust-hue($icon-color, 60)
.icon-AdminPriceRule
@extend .icon-tags
background-color: adjust-hue($icon-color, 80)
.icon-AdminParentShipping
@extend .icon-truck
background-color: adjust-hue($icon-color, 100)
.icon-AdminParentLocalization
@extend .icon-globe
background-color: adjust-hue($icon-color, 120)
.icon-AdminParentModules
@extend .icon-puzzle-piece
background-color: adjust-hue($icon-color, 140)
.icon-AdminParentPreferences
@extend .icon-wrench
background-color: adjust-hue($icon-color, 160)
.icon-AdminTools
@extend .icon-cogs
background-color: adjust-hue($icon-color, 180)
.icon-AdminAdmin
@extend .icon-cog
background-color: adjust-hue($icon-color, 200)
.icon-AdminParentStats
@extend .icon-bar-chart
background-color: adjust-hue($icon-color, 220)
.navbar-inner
box-shadow: none!important
.input-append
margin-bottom: 0
// Tool bar
.toolbar_btn
@extend .btn
@extend .btn-primary
padding: 2px 5px !important
font-size: 11px
margin-right: 3px
&:hover
color: #3D89CC
border-color: #3D89CC
background-color: white !important
[class^="process-icon-"], [class*=" process-icon-"]
height: 32px
min-width: 32px
background-position: center
background-repeat: no-repeat
display: block
font-family: FontAwesome
font-weight: normal
font-style: normal
font-size: 30px
line-height: 32px
text-decoration: inherit
-webkit-font-smoothing: antialiased
*margin-right: .3em
.process-icon-new
@extend .icon-plus-sign-alt
.process-icon-save
@extend .icon-save
.process-icon-back
@extend .icon-arrow-left
.process-icon-save-and-stay
@extend .icon-save
.process-icon-help
@extend .icon-question-sign
.process-icon-export
@extend .icon-cloud-download
.process-icon-import
@extend .icon-cloud-upload
.process-icon-help-new
@extend .icon-question-sign
.process-icon-edit
@extend .icon-edit
.process-icon-newAttributes
@extend .icon-plus-sign-alt
.process-icon-modules-list
@extend .icon-puzzle-piece
.process-icon-save-date
@extend .icon-download
.process-icon-save-status
@extend .icon-download
.process-icon-new-module
@extend .icon-plus
.process-icon-delete
@extend .icon-trash
.process-icon-update
@extend icon-refresh
.process-icon-preview
@extend .icon-eye-open
.process-icon-previewURL
@extend .icon-eye-open
.process-icon-stats
@extend .icon-bar-chart
.process-icon-duplicate
@extend .icon-copy
.process-icon-newCombination
@extend .icon-plus-sign
.page-head
position: relative
padding: 5px 5px 0 20px
min-height: 63px
margin-bottom: 20px
background: #EEEEEE
.page-title
margin: 0
float: left
padding: 0
font-size: 20px
line-height: 55px
color: #272822
font-weight: 300
text-transform: uppercase
font-family: 'Ubuntu', sans-serif
.page-bar
float: right
padding: 0
height: 68px
.btn-toolbar
margin: 0
.nav-tabs
margin: 0
.nav-tabs > li > a
color: #333
> .active > a, > .active > a:hover
color: #3399ff
background: #f5f5f5
/////////////////////// WIP DRAFT
//form
select.input-tiny,
input[type="text"].input-tiny,
input[type="password"].input-tiny
width: 80px
float: left
//fieldset title
form legend
font-family: 'Ubuntu', sans-serif
padding: 0 0 0 10px
margin: 20px 0
float: left
color: #ccc
font-weight: 300
//some helpers to get fixed width
.fixed-width-XS
width: 40px
.fixed-width-S
width: 80px
.fixed-width-M
width: 120px
.fixed-width-L
width: 160px
.fixed-width-XL
width: 200px
//filter table
tr.filter
background-color: #EEEEEE
input[type="text"].filter, input[type="password"].filter, select.filter
font-size: 12px
.btn
text-transform: uppercase
.btn-group-action
white-space: nowrap
a
color: white
text-decoration: none
.table
//word-wrap: break-word
thead > tr > th
font-weight: normal
vertical-align: top
span.title_box
display: block
word-wrap: nowrap
white-space: nowrap
&.active
font-weight: bold
a
text-decoration: none
a.active
color: black
input, select
margin: 0
td.center, th.center
text-align: center
tbody > tr > td
vertical-align: middle
word-wrap: nowrap
font-size: 12px
padding: 3px 7px 3px 7px
tbody > tr:hover > td
cursor: pointer
//fix ?
form .alert
clear: both