diff --git a/app/assets/stylesheets/admin/store.scss b/app/assets/stylesheets/admin/store.scss new file mode 100644 index 0000000..4a53956 --- /dev/null +++ b/app/assets/stylesheets/admin/store.scss @@ -0,0 +1,258 @@ +.panel{ + position: relative; + border-radius: 5px; + overflow: hidden; + border: 1px solid #DFDFDF; + background: #FFF; + box-shadow: 0px 0px 10px #CCC; + .installed-templates-search, + .templates-store-search { + position: absolute; + top: 5px; + right: 5px; + @media screen and (max-width: 479px) { + .search { + width: 130px; + } + } + } +} + +.break{ + border-left: 1px solid #FCFCFC; + border-right: 1px solid #DDD; + padding: 10px 0; + margin: 0 15px; +} +.panel-heading{ + font-size: 16px; + color: #666; + padding: 10px 20px; + height: 20px; + + background-color: #fafafa; + background-image: -moz-linear-gradient(top, #ffffff, #f2f2f2); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f2f2f2)); + background-image: -webkit-linear-gradient(top, #ffffff, #f2f2f2); + background-image: -o-linear-gradient(top, #ffffff, #f2f2f2); + background-image: linear-gradient(to bottom, #ffffff, #f2f2f2); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff2f2f2', GradientType=0); + *zoom: 1; + border-bottom: 1px solid #DDD; + & > ul { + list-style: none; + margin: 0; + padding: 0; + } + li { + display: inline-block; + border-right: 1px solid #FCFCFC; + margin-top: -10px; + padding-top: 10px; + padding-right: 15px; + padding-bottom: 10px; + & + li { + border-left: 1px solid #DDD; + margin-left: -3px; + padding-left: 15px; + } + &:last-child { + border-right: none; + } + &.active { + a { + color: #0088cc; + } + } + @media screen and (max-width: 767px) { + .translation_missing { + display: none; + } + } + } + a { + color: #666; + &:hover { + text-decoration: none; + } + } +} + +.table{ + margin: 0; + -webkit-border-radius: 5px; + border-radius: 5px; + .toggle-control { + margin-bottom: 0; + } +} + +.table td{ + vertical-align: middle; +} + +.table td img{ + background: #666; + border: 3px solid #AAA; + padding: 2px; + border-radius: 5px; + box-shadow: 0px 0px 10px #000 inset; +} + +.pannel-body { + padding: 15px 0; + .pannel-body-inner { + min-height: 400px; + max-height: 600px; + padding: 0 15px; + overflow: auto; + } +} +.store-item-list { + &:after { + content: ''; + clear: both; + display: table; + } + .store-item { + float: left; + padding: 5px; + box-sizing: border-box; + border-style: solid; + border-color: #ededed; + border-width: 0; + border-top-width: 1px; + border-bottom-width: 1px; + border-right-width: 1px; + @media screen and (min-width: 996px) { + width: 25%; + &:nth-child(n+5) { + border-top-width: 0; + } + &:nth-child(4n+1) { + border-left-width: 1px; + } + } + @media screen and (min-width: 768px) and (max-width: 995px) { + width: 33%; + &:nth-child(n+4) { + border-top-width: 0; + } + &:nth-child(3n+1) { + border-left-width: 1px; + } + } + @media screen and (min-width: 480px) and (max-width: 767px) { + width: 50%; + &:nth-child(n+3) { + border-top-width: 0; + } + &:nth-child(2n+1) { + border-left-width: 1px; + } + } + @media screen and (max-width: 479px) { + width: 100%; + border-left-width: 1px; + & + .store-item { + border-top-width: 0; + } + } + &:after { + content: ''; + clear: both; + display: table; + } + } + .app-pic { + float: left; + width: 80px; + height: 80px; + margin-right: 10px; + overflow: hidden; + border-radius: 3px; + } + .app-name, + .app-author, + .app-category { + width: calc(100% - 90px); + margin-top: 0; + margin-bottom: 3px; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + } + .app-name { + a { + color: #333; + &:hover { + text-decoration: none; + } + } + } + .app-category { + color: #C3C3C3; + } +} + +.pannel-footer{ + background: #f2f2f2; /* Old browsers */ + background: -moz-linear-gradient(top, #f2f2f2 0%, #ffffff 76%, #ededed 100%); /* FF3.6+ */ + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f2f2f2), color-stop(76%,#ffffff), color-stop(100%,#ededed)); /* Chrome,Safari4+ */ + background: -webkit-linear-gradient(top, #f2f2f2 0%,#ffffff 76%,#ededed 100%); /* Chrome10+,Safari5.1+ */ + background: -o-linear-gradient(top, #f2f2f2 0%,#ffffff 76%,#ededed 100%); /* Opera 11.10+ */ + background: -ms-linear-gradient(top, #f2f2f2 0%,#ffffff 76%,#ededed 100%); /* IE10+ */ + background: linear-gradient(to bottom, #f2f2f2 0%,#ffffff 76%,#ededed 100%); /* W3C */ + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f2f2f2', endColorstr='#ededed',GradientType=0 ); /* IE6-9 */ + + border: 1px solid #EEE; + border-top: 1px solid #CCC; + padding: 10px; + + height: 30px; +} + +#apply_change_btn{ + display: none; +} + +#alert_wrap{ + display: none; + position: absolute; + width: 93%; + top: 30%; + z-index: 1045; +} + +.alert{ + width: 400px; + text-align: center; + z-index: 1050; + margin: 0 auto; + padding: 20px 0; +} + +#delete_confirm_wrap{ + display: none; + position: absolute; + width: 93%; + top: 30%; + z-index: 1045; +} + +#delete_confirm_wrap .alert{ + width: 260px; + text-align: left; + padding: 20px; + font-size: 14px; + line-height: 32px; +} + +.modal-backdrop{ + display: none; +} + +.icons-faq:before{ content: "\e086"; } +.icons-ask:before { content: "\e062"; } +.icons-survey:before { content: "\e070"; } \ No newline at end of file