Skip to content

Commit

Permalink
Run npm for style
Browse files Browse the repository at this point in the history
  • Loading branch information
raftaar1191 committed Oct 23, 2023
1 parent a64ea07 commit 5e8c01d
Show file tree
Hide file tree
Showing 10 changed files with 4,688 additions and 8,775 deletions.
170 changes: 86 additions & 84 deletions assets/dist/css/frontend-style.css
Original file line number Diff line number Diff line change
@@ -1,89 +1,91 @@
/******/ (() => { // webpackBootstrap
/******/ var __webpack_modules__ = ([
/* 0 */,
/* 1 */
/***/ (() => {
#buddypress #whats-new-submit {
align-items: center;
}

.anonymously-post-knobs,
.anonymously-post-layer {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
}

.anonymously-post-main {
display: flex;
align-items: center;
margin-right: 10px;
background: #e8e7e7;
padding: 5px 12px 5px 10px;
border-radius: 50px;
}

/***/ })
/******/ ]);
/************************************************************************/
/******/ // The module cache
/******/ var __webpack_module_cache__ = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/ var cachedModule = __webpack_module_cache__[moduleId];
/******/ if (cachedModule !== undefined) {
/******/ return cachedModule.exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = __webpack_module_cache__[moduleId] = {
/******/ // no module.id needed
/******/ // no module.loaded needed
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/************************************************************************/
/******/ /* webpack/runtime/compat get default export */
/******/ (() => {
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = (module) => {
/******/ var getter = module && module.__esModule ?
/******/ () => (module['default']) :
/******/ () => (module);
/******/ __webpack_require__.d(getter, { a: getter });
/******/ return getter;
/******/ };
/******/ })();
/******/
/******/ /* webpack/runtime/define property getters */
/******/ (() => {
/******/ // define getter functions for harmony exports
/******/ __webpack_require__.d = (exports, definition) => {
/******/ for(var key in definition) {
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
/******/ }
/******/ }
/******/ };
/******/ })();
/******/
/******/ /* webpack/runtime/hasOwnProperty shorthand */
/******/ (() => {
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
/******/ })();
/******/
/******/ /* webpack/runtime/make namespace object */
/******/ (() => {
/******/ // define __esModule on exports
/******/ __webpack_require__.r = (exports) => {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/ })();
/******/
/************************************************************************/
var __webpack_exports__ = {};
// This entry need to be wrapped in an IIFE because it need to be in strict mode.
(() => {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_style_scss__WEBPACK_IMPORTED_MODULE_0__);
.anonymously-post-main label {
order: 2;
font-size: 16px;
margin: 0px;
}

})();
.anonymously-post-wrap {
position: relative;
top: 50%;
width: 50px;
height: 24px;
margin: 0 10px 0 0;
overflow: hidden;
}

/******/ })()
;
.anonymously-post-wrap,
.anonymously-post-wrap .anonymously-post-layer {
border-radius: 100px;
}

.anonymously-post {
position: relative;
width: 100% !important;
height: 100% !important;
padding: 0 !important;
margin: 0;
opacity: 0;
cursor: pointer;
z-index: 3;
}

.anonymously-post-knobs {
z-index: 2;
}

.anonymously-post-layer {
width: 100%;
background-color: #ffffff;
transition: 0.3s ease all;
z-index: 1;
}

.anonymously-post-wrap .anonymously-post-knobs:before {
content: "";
position: absolute;
top: 4px;
left: 4px;
width: 16px;
height: 16px;
background-color: #636e7a;
border-radius: 50%;
transition: 0.3s cubic-bezier(0.18, 0.89, 0.35, 1.15) all;
}

.anonymously-post-wrap .anonymously-post:checked + .anonymously-post-knobs:before {
content: "";
left: 30px;
background-color: var(--bb-primary-button-background-hover);
}

.anonymously-post-wrap .anonymously-post:checked ~ .anonymously-post-layer {
background-color: #d4deff;
}

.anonymously-post-wrap .anonymously-post-knobs,
.anonymously-post-wrap .anonymously-post-knobs:before,
.anonymously-post-wrap .anonymously-post-layer {
transition: 0.3s ease all;
}
61 changes: 61 additions & 0 deletions assets/dist/css/frontend-style.f0c43e278f20d945dc6d.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
/******/ (() => { // webpackBootstrap
/******/ "use strict";
/******/ var __webpack_modules__ = ([
/* 0 */,
/* 1 */
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

__webpack_require__.r(__webpack_exports__);
// extracted by mini-css-extract-plugin


/***/ })
/******/ ]);
/************************************************************************/
/******/ // The module cache
/******/ var __webpack_module_cache__ = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/ var cachedModule = __webpack_module_cache__[moduleId];
/******/ if (cachedModule !== undefined) {
/******/ return cachedModule.exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = __webpack_module_cache__[moduleId] = {
/******/ // no module.id needed
/******/ // no module.loaded needed
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/************************************************************************/
/******/ /* webpack/runtime/make namespace object */
/******/ (() => {
/******/ // define __esModule on exports
/******/ __webpack_require__.r = (exports) => {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/ })();
/******/
/************************************************************************/
var __webpack_exports__ = {};
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
(() => {
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);

})();

/******/ })()
;
6 changes: 6 additions & 0 deletions assets/dist/js/backend-script.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/******/ (() => { // webpackBootstrap
/******/ "use strict";
/******/
/******/
/******/ })()
;
1 change: 0 additions & 1 deletion assets/src/frontend/css/style.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

#buddypress #whats-new-submit{
align-items:center;
}
Expand Down
1 change: 1 addition & 0 deletions includes/class-post-anonymously.php
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@ private function define_public_hooks() {
$plugin_public = new Post_Anonymously_Public( $this->get_plugin_name(), $this->get_version() );

$this->loader->add_action( 'wp_enqueue_scripts', $plugin_public, 'enqueue_scripts', -1 );
$this->loader->add_action( 'wp_enqueue_scripts', $plugin_public, 'enqueue_styles', -1 );

$this->loader->add_action( 'bp_init', $plugin_public, 'bp_init', 100 );

Expand Down
2 changes: 1 addition & 1 deletion languages/post-anonymously.pot
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2023-10-20 12:19+0000\n"
"POT-Creation-Date: 2023-10-23 09:31+0000\n"
"Report-Msgid-Bugs-To: https://github.com/acrosswp/post-anonymously/issues\n"
"X-Poedit-Basepath: ..\n"
"X-Poedit-KeywordsList: __;_e;_ex:1,2c;_n:1,2;_n_noop:1,2;_nx:1,2,4c;_nx_noop:1,2,3c;_x:1,2c;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n"
Expand Down
Loading

0 comments on commit 5e8c01d

Please sign in to comment.