diff --git a/app/assets/stylesheets/common/admin/admin_base.scss b/app/assets/stylesheets/common/admin/admin_base.scss index d4fd7e823c0..4fb3d28771f 100644 --- a/app/assets/stylesheets/common/admin/admin_base.scss +++ b/app/assets/stylesheets/common/admin/admin_base.scss @@ -194,7 +194,7 @@ $mobile-breakpoint: 700px; .location-box { position: absolute; width: 460px; - right: 0px; + right: 0; z-index: z("dropdown"); box-shadow: 0 2px 6px rgba(0,0,0, .8); margin-top: -2px; @@ -518,7 +518,7 @@ $mobile-breakpoint: 700px; li.sortable-placeholder { padding: 3px 5px 3px 18px; - margin: 3px 0px 3px 5px; + margin: 3px 0 3px 5px; position: relative; line-height: $line-height-small; cursor: default; diff --git a/app/assets/stylesheets/common/base/_topic-list.scss b/app/assets/stylesheets/common/base/_topic-list.scss index 1dda299da24..b35977b652a 100644 --- a/app/assets/stylesheets/common/base/_topic-list.scss +++ b/app/assets/stylesheets/common/base/_topic-list.scss @@ -68,14 +68,14 @@ td { border-bottom: 1px solid $danger-low; line-height: 0.1em; - padding: 0px; + padding: 0; text-align: center; } td span { background-color: $secondary; color: $danger-low; - padding: 0px 8px; + padding: 0 8px; font-size: $font-down-1; } } diff --git a/app/assets/stylesheets/common/base/crawler_layout.scss b/app/assets/stylesheets/common/base/crawler_layout.scss index 88d94164627..615d5b080ff 100644 --- a/app/assets/stylesheets/common/base/crawler_layout.scss +++ b/app/assets/stylesheets/common/base/crawler_layout.scss @@ -9,10 +9,10 @@ body.crawler { box-shadow: 0 2px 4px -1px rgba(0,0,0,0.25); } div.topic-list div[itemprop='itemListElement'] { - padding: 10px 0px; + padding: 10px 0; border-bottom: 1px solid #e9e9e9; .page-links a { - padding: 0px 4px; + padding: 0 4px; } } div#main-outlet { @@ -23,7 +23,7 @@ body.crawler { } } footer nav { - margin: 50px 0px; + margin: 50px 0; a { padding: 15px; } diff --git a/app/assets/stylesheets/common/base/discourse.scss b/app/assets/stylesheets/common/base/discourse.scss index 6e9d7c29b05..c40557d8555 100644 --- a/app/assets/stylesheets/common/base/discourse.scss +++ b/app/assets/stylesheets/common/base/discourse.scss @@ -197,7 +197,7 @@ input { border-radius: 0; &:focus { border-color: $tertiary; - box-shadow: $tertiary 0px 0px 6px 0px; + box-shadow: $tertiary 0 0 6px 0px; outline: 0; } } @@ -209,7 +209,7 @@ textarea { border: 1px solid $primary-medium; &:focus { border-color: $tertiary; - box-shadow: $tertiary 0px 0px 6px 0px; + box-shadow: $tertiary 0 0 6px 0px; outline: 0; } } diff --git a/app/assets/stylesheets/common/base/emoji.scss b/app/assets/stylesheets/common/base/emoji.scss index 9c14fdc753e..f1a18dd5564 100644 --- a/app/assets/stylesheets/common/base/emoji.scss +++ b/app/assets/stylesheets/common/base/emoji.scss @@ -54,7 +54,7 @@ img.emoji { .emoji-picker .list { overflow-y: scroll; -webkit-overflow-scrolling: touch; - padding: 0px; + padding: 0; flex: 1; flex-direction: column; } @@ -100,7 +100,6 @@ img.emoji { .emoji-picker .info { text-overflow: ellipsis; - max-width: 232px; padding-left: 8px; white-space: nowrap; overflow: hidden; @@ -155,8 +154,6 @@ img.emoji { -moz-box-sizing: content-box; box-sizing: content-box; height: 20px; - margin: 0; - padding: 0; border: 0; vertical-align: top; width: 20px; diff --git a/app/assets/stylesheets/common/base/group.scss b/app/assets/stylesheets/common/base/group.scss index 3ea836ccead..6b4586ad7de 100644 --- a/app/assets/stylesheets/common/base/group.scss +++ b/app/assets/stylesheets/common/base/group.scss @@ -95,11 +95,11 @@ table.group-logs { th { text-align: left; - padding: 5px 0px; + padding: 5px 0; } td { - padding: 10px 0px; + padding: 10px 0; } .group-logs-expand-details { @@ -131,7 +131,7 @@ table.group-members { th { border-bottom: 3px solid $primary-low; text-align: center; - padding: 5px 0px 5px 5px; + padding: 5px 0 5px 5px; color: dark-light-choose($primary-medium, $secondary-medium); font-weight: normal; } diff --git a/app/assets/stylesheets/common/base/groups.scss b/app/assets/stylesheets/common/base/groups.scss index 48f872ab7c2..138510f28b4 100644 --- a/app/assets/stylesheets/common/base/groups.scss +++ b/app/assets/stylesheets/common/base/groups.scss @@ -1,6 +1,6 @@ .groups-page { h1 { - margin: 20px 0px; + margin: 20px 0; } } @@ -9,7 +9,7 @@ th { border-bottom: 1px solid $primary-low; - padding: 5px 0px; + padding: 5px 0; text-align: left; } diff --git a/app/assets/stylesheets/common/base/modal.scss b/app/assets/stylesheets/common/base/modal.scss index 62743539eba..5961334900f 100644 --- a/app/assets/stylesheets/common/base/modal.scss +++ b/app/assets/stylesheets/common/base/modal.scss @@ -379,7 +379,7 @@ textarea { font-family: monospace; resize: none; - border-radius: 0px; + border-radius: 0; box-shadow: none; } .incoming-email-html-part { diff --git a/app/assets/stylesheets/common/base/onebox.scss b/app/assets/stylesheets/common/base/onebox.scss index f306c81d384..c7b630b943d 100644 --- a/app/assets/stylesheets/common/base/onebox.scss +++ b/app/assets/stylesheets/common/base/onebox.scss @@ -278,7 +278,7 @@ pre.onebox code ol.lines li:before { pre.onebox code ol{ - margin-left:0px; + margin-left:0; line-height: $line-height-large; } pre.onebox code { @@ -296,7 +296,7 @@ pre.onebox code ol.lines{ pre.onebox code ol.lines li { list-style-type: none; padding-left: 5px; - margin-left: 0px; + margin-left: 0; border-left: 1px solid #CFCFCF; min-height: 1.5em; //show empty li lines white-space: pre; @@ -314,7 +314,7 @@ pre.onebox code { .onebox-body .github-commit-status { background: #F5F5F5; border-radius: 5px; - margin:0px 0px 5px 100px; + margin:0 0 5px 100px; padding: 10px; } diff --git a/app/assets/stylesheets/common/base/tagging.scss b/app/assets/stylesheets/common/base/tagging.scss index 451acc60ce8..d87997dc277 100644 --- a/app/assets/stylesheets/common/base/tagging.scss +++ b/app/assets/stylesheets/common/base/tagging.scss @@ -119,7 +119,7 @@ $tag-color: $primary-medium; } &.simple, &.simple:visited, &.simple:hover { - margin-right: 0px; + margin-right: 0; color: $primary-high; } } diff --git a/app/assets/stylesheets/common/base/topic-post.scss b/app/assets/stylesheets/common/base/topic-post.scss index 71ff99499d2..bcf774d15a1 100644 --- a/app/assets/stylesheets/common/base/topic-post.scss +++ b/app/assets/stylesheets/common/base/topic-post.scss @@ -448,7 +448,7 @@ blockquote > *:last-child { .custom-message { text-transform: none; - margin: 15px 0px 5px; + margin: 15px 0 5px; font-weight: normal; font-size: $font-up-1; p { diff --git a/app/assets/stylesheets/common/base/topic.scss b/app/assets/stylesheets/common/base/topic.scss index 85e6072e610..f23249d1227 100644 --- a/app/assets/stylesheets/common/base/topic.scss +++ b/app/assets/stylesheets/common/base/topic.scss @@ -10,7 +10,7 @@ position: fixed; bottom: 40px; z-index: z("dropdown"); - margin-right: 0px; + margin-right: 0; animation-duration: 0.5s; animation-name: button-jump-up; width: 145px; diff --git a/app/assets/stylesheets/common/base/user.scss b/app/assets/stylesheets/common/base/user.scss index 48f671c2a4c..5efd7ed9ca2 100644 --- a/app/assets/stylesheets/common/base/user.scss +++ b/app/assets/stylesheets/common/base/user.scss @@ -348,7 +348,7 @@ } .user-nav { - margin: 5px 0px; + margin: 5px 0; padding-top: 10px; li a { diff --git a/app/assets/stylesheets/common/base/username_tagsinput.scss b/app/assets/stylesheets/common/base/username_tagsinput.scss index 4671d6a8b15..41fd3fa5d0d 100644 --- a/app/assets/stylesheets/common/base/username_tagsinput.scss +++ b/app/assets/stylesheets/common/base/username_tagsinput.scss @@ -32,8 +32,8 @@ div.tagsinput input { padding:2px 5px; background: transparent; color: #000; - outline:0px; - margin: 0px 5px 5px 0px; + outline:0; + margin: 0 5px 5px 0; } div.tagsinput div { display:block; float: left; } .tags_clear { clear: both; width: 100%; height: 0; } diff --git a/app/assets/stylesheets/common/select-kit/combo-box.scss b/app/assets/stylesheets/common/select-kit/combo-box.scss index 0d7e686eb04..9123b11c4ea 100644 --- a/app/assets/stylesheets/common/select-kit/combo-box.scss +++ b/app/assets/stylesheets/common/select-kit/combo-box.scss @@ -32,8 +32,8 @@ &.is-focused { border: 1px solid $tertiary; - -webkit-box-shadow: $tertiary 0px 0px 6px 0px; - box-shadow: $tertiary 0px 0px 6px 0px; + -webkit-box-shadow: $tertiary 0 0 6px 0px; + box-shadow: $tertiary 0 0 6px 0px; } } @@ -47,8 +47,8 @@ &.is-highlighted { .select-kit-header { border: 1px solid $tertiary; - -webkit-box-shadow: $tertiary 0px 0px 6px 0px; - box-shadow: $tertiary 0px 0px 6px 0px; + -webkit-box-shadow: $tertiary 0 0 6px 0px; + box-shadow: $tertiary 0 0 6px 0px; } } @@ -56,8 +56,8 @@ .select-kit-wrapper { display: block; border: 1px solid $tertiary; - -webkit-box-shadow: $tertiary 0px 0px 6px 0px; - box-shadow: $tertiary 0px 0px 6px 0px; + -webkit-box-shadow: $tertiary 0 0 6px 0px; + box-shadow: $tertiary 0 0 6px 0px; } .select-kit-header { diff --git a/app/assets/stylesheets/common/select-kit/legacy-combo-box.scss b/app/assets/stylesheets/common/select-kit/legacy-combo-box.scss index e19e7e9cfaf..3ba9f7ad942 100644 --- a/app/assets/stylesheets/common/select-kit/legacy-combo-box.scss +++ b/app/assets/stylesheets/common/select-kit/legacy-combo-box.scss @@ -79,10 +79,10 @@ } .select2-container-active { - box-shadow: $tertiary 0px 0px 6px 0px; + box-shadow: $tertiary 0 0 6px 0px; } .select2-results .select2-no-results, .select2-results .select2-searching, .select2-results .select2-selection-limit { background: $secondary; color: $primary; -} \ No newline at end of file +} diff --git a/app/assets/stylesheets/common/select-kit/multi-select.scss b/app/assets/stylesheets/common/select-kit/multi-select.scss index 1c1105bd268..61ca932379e 100644 --- a/app/assets/stylesheets/common/select-kit/multi-select.scss +++ b/app/assets/stylesheets/common/select-kit/multi-select.scss @@ -24,7 +24,7 @@ border: 1px solid $primary-medium; &.is-focused { - box-shadow: $tertiary 0px 0px 6px 0px; + box-shadow: $tertiary 0 0 6px 0px; border-radius: 0; } } @@ -40,7 +40,7 @@ .multi-select-header { border-radius: 0; border-bottom: 1px solid transparent; - box-shadow: $tertiary 0px 0px 6px 0px; + box-shadow: $tertiary 0 0 6px 0px; } } @@ -48,7 +48,7 @@ .select-box-kit-wrapper, .select-kit-wrapper { display: block; border: 1px solid $tertiary; - box-shadow: $tertiary 0px 0px 6px 0px; + box-shadow: $tertiary 0 0 6px 0px; border-radius: 0; } @@ -126,7 +126,6 @@ .selected-name { color: $primary; - cursor: default; border: 1px solid $primary-medium; border-radius: 3px; box-shadow: 0 0 2px $secondary inset, 0 1px 0 rgba(0,0,0,0.05); diff --git a/app/assets/stylesheets/common/select-kit/select-kit.scss b/app/assets/stylesheets/common/select-kit/select-kit.scss index b3a79d672e3..ccd908b9681 100644 --- a/app/assets/stylesheets/common/select-kit/select-kit.scss +++ b/app/assets/stylesheets/common/select-kit/select-kit.scss @@ -45,7 +45,7 @@ top: 0; } - .select-kit-collection, { + .select-kit-collection { border-radius: inherit; } } @@ -91,7 +91,6 @@ flex-direction: row; -webkit-box-pack: justify; -ms-flex-pack: justify; - justify-content: space-between; .selected-name { text-align: left; @@ -106,7 +105,7 @@ } .btn-clear { - padding: 0px 10px; + padding: 0 10px; border: 0; background: none; } @@ -261,8 +260,8 @@ overflow: hidden; position: fixed; outline: 0; - left: 0px; - top: 0px; + left: 0; + top: 0; } } diff --git a/app/assets/stylesheets/common/select-kit/toolbar-popup-menu-options.scss b/app/assets/stylesheets/common/select-kit/toolbar-popup-menu-options.scss index 4cd205f18a1..d36e04e1188 100644 --- a/app/assets/stylesheets/common/select-kit/toolbar-popup-menu-options.scss +++ b/app/assets/stylesheets/common/select-kit/toolbar-popup-menu-options.scss @@ -34,7 +34,6 @@ .name, .d-icon { color: $secondary; - color: $secondary; } } diff --git a/app/assets/stylesheets/common/topic-entrance.scss b/app/assets/stylesheets/common/topic-entrance.scss index f615b3a2b3e..03caf20de59 100644 --- a/app/assets/stylesheets/common/topic-entrance.scss +++ b/app/assets/stylesheets/common/topic-entrance.scss @@ -3,7 +3,7 @@ border: 1px solid $primary-low; padding: 5px; background: $secondary; - box-shadow: 0 0px 2px rgba(0,0,0, .2); + box-shadow: 0 0 2px rgba(0,0,0, .2); z-index: z("dropdown"); position: absolute; diff --git a/app/assets/stylesheets/common/topic-timeline.scss b/app/assets/stylesheets/common/topic-timeline.scss index a81771d585d..b3d84c056ea 100644 --- a/app/assets/stylesheets/common/topic-timeline.scss +++ b/app/assets/stylesheets/common/topic-timeline.scss @@ -108,7 +108,7 @@ } } .timeline-last-read { - right: 0px; + right: 0; margin-left: 0; i.progress { display: none diff --git a/app/assets/stylesheets/desktop/compose.scss b/app/assets/stylesheets/desktop/compose.scss index 02ab6cbd2f2..5ecc5d7feae 100644 --- a/app/assets/stylesheets/desktop/compose.scss +++ b/app/assets/stylesheets/desktop/compose.scss @@ -47,7 +47,7 @@ .open { .grippie { cursor: row-resize; - padding: 4px 0px; + padding: 4px 0; background: $tertiary; &:before { content: ''; diff --git a/app/assets/stylesheets/desktop/discourse.scss b/app/assets/stylesheets/desktop/discourse.scss index bf9fa9b2fe7..de85046e7a6 100644 --- a/app/assets/stylesheets/desktop/discourse.scss +++ b/app/assets/stylesheets/desktop/discourse.scss @@ -60,7 +60,7 @@ h4, h5, h6 { + p { - margin-top:0px; + margin-top:0; } } diff --git a/app/assets/stylesheets/desktop/topic-post.scss b/app/assets/stylesheets/desktop/topic-post.scss index 9df9a80fbe6..4d1e95f0db4 100644 --- a/app/assets/stylesheets/desktop/topic-post.scss +++ b/app/assets/stylesheets/desktop/topic-post.scss @@ -908,7 +908,7 @@ a.attachment:before { .who-liked { margin-top: 20px; - margin-bottom: 0px; + margin-bottom: 0; width: 100%; text-align: right; } @@ -924,7 +924,7 @@ span.highlighted { .read-state { color: $tertiary-medium; position: absolute; - right: 0px; + right: 0; top: 2em; font-size: 0.571em; } diff --git a/app/assets/stylesheets/desktop/topic.scss b/app/assets/stylesheets/desktop/topic.scss index c01f2f601d2..6f0e876dfb5 100644 --- a/app/assets/stylesheets/desktop/topic.scss +++ b/app/assets/stylesheets/desktop/topic.scss @@ -71,7 +71,7 @@ .topic-status-info { border-top: 1px solid $primary-low; - padding: 10px 0px; + padding: 10px 0; height: 20px; max-width: 757px; } @@ -96,7 +96,6 @@ position: relative; left: 340px; width: 135px; - padding: 5px; button.full { width: 100%; diff --git a/app/assets/stylesheets/desktop/user.scss b/app/assets/stylesheets/desktop/user.scss index c3fec738e98..52611d69bea 100644 --- a/app/assets/stylesheets/desktop/user.scss +++ b/app/assets/stylesheets/desktop/user.scss @@ -111,7 +111,7 @@ .user-invite-controls { background-color: $primary-low; - padding: 5px 10px 0px 0; + padding: 5px 10px 0 0; height: 35px; } @@ -134,7 +134,7 @@ &.group { .details { - padding: 15px 0px; + padding: 15px 0; margin: 0; color: dark-light-choose(lighten($primary, 10%), $secondary); } diff --git a/app/assets/stylesheets/mobile/discourse.scss b/app/assets/stylesheets/mobile/discourse.scss index 3f13dafb5c8..d978a127895 100644 --- a/app/assets/stylesheets/mobile/discourse.scss +++ b/app/assets/stylesheets/mobile/discourse.scss @@ -79,7 +79,7 @@ blockquote { &.activity-nav, &.preferences-nav { position: absolute; - right: 0px; + right: 0; top: -57px; } @@ -103,7 +103,7 @@ blockquote { .d-icon-caret-down { position: absolute; - right: 0px; + right: 0; } .drop { diff --git a/app/assets/stylesheets/mobile/group.scss b/app/assets/stylesheets/mobile/group.scss index ded66e71845..626f33b8894 100644 --- a/app/assets/stylesheets/mobile/group.scss +++ b/app/assets/stylesheets/mobile/group.scss @@ -3,11 +3,11 @@ } .group-header { - margin: 0px; + margin: 0; } .group-name { - margin: 5px 0px 0px 0px; + margin: 5px 0 0 0; } .group-nav { @@ -29,7 +29,7 @@ .group-activity-nav.mobile-nav { position: absolute; - right: 0px; + right: 0; top: -55px; } @@ -44,7 +44,7 @@ .group-flair-inputs { .group-flair-right { - margin: 0px + margin: 0 } } } diff --git a/app/assets/stylesheets/mobile/modal.scss b/app/assets/stylesheets/mobile/modal.scss index ee7453ecfb2..9ee48891934 100644 --- a/app/assets/stylesheets/mobile/modal.scss +++ b/app/assets/stylesheets/mobile/modal.scss @@ -55,12 +55,12 @@ } .modal-header { - padding: 10px 0px 10px 10px; + padding: 10px 0 10px 10px; h3 { display: inline; font-size: $font-up-2; - margin: 0px; + margin: 0; } } .close { diff --git a/app/assets/stylesheets/mobile/topic.scss b/app/assets/stylesheets/mobile/topic.scss index 7b14a58c3f6..c87355ccfd1 100644 --- a/app/assets/stylesheets/mobile/topic.scss +++ b/app/assets/stylesheets/mobile/topic.scss @@ -38,7 +38,7 @@ /* both blocks that appear under the standard post control buttons */ .notification-options, .pinned-options { float: left; - margin-top: 0px; + margin-top: 0; padding-top: 1px; clear: both; } @@ -223,4 +223,4 @@ sup sup, sub sup, sup sub, sub sub { top: 0; } .btn.pull-right { margin-right: 0; } -} \ No newline at end of file +} diff --git a/app/assets/stylesheets/vendor/bootstrap.scss b/app/assets/stylesheets/vendor/bootstrap.scss index 5cd46cdd04d..6ca0caca0cc 100644 --- a/app/assets/stylesheets/vendor/bootstrap.scss +++ b/app/assets/stylesheets/vendor/bootstrap.scss @@ -129,7 +129,6 @@ input[type="submit"].btn::-moz-focus-inner { margin: 1px 0 0; list-style: none; background-color: #ffffff; - border: 1px solid #ccc; border: 1px solid rgba(0, 0, 0, 0.2); border-radius: 5px; box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); @@ -213,7 +212,7 @@ body { // this removes the unwanted top margin on a paragraph under a heading h1+p, h2+p, h3+p, h4+p, h5+p, h6+p { - margin-top:0px; + margin-top:0; } blockquote { diff --git a/app/assets/stylesheets/vendor/select2.scss b/app/assets/stylesheets/vendor/select2.scss index f129c0baf96..c2b1e492213 100644 --- a/app/assets/stylesheets/vendor/select2.scss +++ b/app/assets/stylesheets/vendor/select2.scss @@ -402,7 +402,6 @@ disabled look for disabled choices in the results dropdown .select2-container-multi .select2-choices { height: auto !important; - height: 1%; margin: 0; padding: 0 5px 0 0; position: relative; @@ -558,8 +557,8 @@ html[dir="rtl"] .select2-search-choice-close { overflow: hidden !important; position: absolute !important; outline: 0 !important; - left: 0px !important; - top: 0px !important; + left: 0 !important; + top: 0 !important; } .select2-display-none { diff --git a/app/assets/stylesheets/vendor/sweetalert.scss b/app/assets/stylesheets/vendor/sweetalert.scss index 76f159d7f06..b384cf53a38 100644 --- a/app/assets/stylesheets/vendor/sweetalert.scss +++ b/app/assets/stylesheets/vendor/sweetalert.scss @@ -52,7 +52,6 @@ body.stop-scrolling { .sweet-alert p { color: #797979; font-size: 16px; - text-align: center; font-weight: 300; position: relative; text-align: inherit; @@ -132,14 +131,14 @@ body.stop-scrolling { margin-top: 10px; margin-bottom: 17px; font-size: 18px; - box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.06); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.06); padding: 0 12px; display: none; -webkit-transition: all 0.3s; transition: all 0.3s; } .sweet-alert input:focus { outline: none; - box-shadow: 0px 0px 3px #c4e6f5; + box-shadow: 0 0 3px #c4e6f5; border: 1px solid #b4dbed; } .sweet-alert input:focus::-moz-placeholder { transition: opacity 0.3s 0.03s ease; @@ -195,7 +194,7 @@ body.stop-scrolling { .sweet-alert button.cancel:active { background-color: #a8a8a8; } .sweet-alert button.cancel:focus { - box-shadow: rgba(197, 205, 211, 0.8) 0px 0px 2px, rgba(0, 0, 0, 0.0470588) 0px 0px 0px 1px inset !important; } + box-shadow: rgba(197, 205, 211, 0.8) 0 0 2px, rgba(0, 0, 0, 0.0470588) 0 0 0 1px inset !important; } .sweet-alert button[disabled] { opacity: .6; cursor: default; } @@ -216,7 +215,6 @@ body.stop-scrolling { height: 80px; border: 4px solid gray; -webkit-border-radius: 40px; - border-radius: 40px; border-radius: 50%; margin: 20px auto; padding: 0; @@ -291,7 +289,6 @@ body.stop-scrolling { .sweet-alert .sa-icon.sa-success::before, .sweet-alert .sa-icon.sa-success::after { content: ''; -webkit-border-radius: 40px; - border-radius: 40px; border-radius: 50%; position: absolute; width: 60px; @@ -315,14 +312,13 @@ body.stop-scrolling { left: 30px; -webkit-transform: rotate(-45deg); transform: rotate(-45deg); - -webkit-transform-origin: 0px 60px; - transform-origin: 0px 60px; } + -webkit-transform-origin: 0 60px; + transform-origin: 0 60px; } .sweet-alert .sa-icon.sa-success .sa-placeholder { width: 80px; height: 80px; border: 4px solid rgba(165, 220, 134, 0.2); -webkit-border-radius: 40px; - border-radius: 40px; border-radius: 50%; box-sizing: content-box; position: absolute; @@ -414,13 +410,13 @@ body.stop-scrolling { @-webkit-keyframes slideFromTop { 0% { - top: 0%; } + top: 0; } 100% { top: 50%; } } @keyframes slideFromTop { 0% { - top: 0%; } + top: 0; } 100% { top: 50%; } } @@ -428,13 +424,13 @@ body.stop-scrolling { 0% { top: 50%; } 100% { - top: 0%; } } + top: 0; } } @keyframes slideToTop { 0% { top: 50%; } 100% { - top: 0%; } } + top: 0; } } @-webkit-keyframes slideFromBottom { 0% { @@ -547,7 +543,7 @@ body.stop-scrolling { top: 54px; } 84% { width: 55px; - right: 0px; + right: 0; top: 35px; } 100% { width: 47px; @@ -565,7 +561,7 @@ body.stop-scrolling { top: 54px; } 84% { width: 55px; - right: 0px; + right: 0; top: 35px; } 100% { width: 47px; diff --git a/app/assets/stylesheets/wizard.scss b/app/assets/stylesheets/wizard.scss index 26dfd5550e3..821c8e86895 100644 --- a/app/assets/stylesheets/wizard.scss +++ b/app/assets/stylesheets/wizard.scss @@ -195,7 +195,7 @@ body.wizard { .wizard-btn { border-radius: 2px; font-size: $font-0; - border: 0px; + border: 0; padding: 0.5em; transition: background-color .3s; margin-right: 0.5em; diff --git a/plugins/poll/assets/stylesheets/common/poll-ui-builder.scss b/plugins/poll/assets/stylesheets/common/poll-ui-builder.scss index 184cd20573d..df121a8af6f 100644 --- a/plugins/poll/assets/stylesheets/common/poll-ui-builder.scss +++ b/plugins/poll/assets/stylesheets/common/poll-ui-builder.scss @@ -1,5 +1,5 @@ .poll-ui-builder-form { - margin: 0px; + margin: 0; .input-group { padding: 10px; diff --git a/plugins/poll/assets/stylesheets/common/poll.scss b/plugins/poll/assets/stylesheets/common/poll.scss index d52c6e1429a..845a2a391ab 100644 --- a/plugins/poll/assets/stylesheets/common/poll.scss +++ b/plugins/poll/assets/stylesheets/common/poll.scss @@ -4,7 +4,7 @@ $text-color: #9E9E9E; $option-background: dark-light-diff($primary, $secondary, 90%, -65%); div.poll { - margin: 10px 0px; + margin: 10px 0; border: 1px solid $border-color; @include unselectable; diff --git a/public/javascripts/spectrum.css b/public/javascripts/spectrum.css index a8ad9e4f82f..03ffeda90c8 100644 --- a/public/javascripts/spectrum.css +++ b/public/javascripts/spectrum.css @@ -113,7 +113,7 @@ License: MIT .sp-clear-enabled .sp-clear { display: block; position:absolute; - top:0px; + top:0; right:0; bottom:0; left:84%;