Skip to content

Commit

Permalink
modified plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexeyMatveev686 committed Feb 1, 2018
1 parent dad2db7 commit 5700bc0
Show file tree
Hide file tree
Showing 4 changed files with 183 additions and 206 deletions.
4 changes: 2 additions & 2 deletions code/scrollable_div.js
Expand Up @@ -92,10 +92,10 @@ You can apply your classes to this divs
$('.ps__scrollbar-y').css('border-width', '1px');
}
if($('.ps__scrollbar-x').width() === 0){
$('.ps__scrollbar-x').css('border-height', '0px');
$('.ps__scrollbar-x').css('border-width', '0px');
}
else{
$('.ps__scrollbar-x').css('border-height', '1px');
$('.ps__scrollbar-x').css('border-width', '1px');
}
},

Expand Down
101 changes: 1 addition & 100 deletions synonim/index.html
Expand Up @@ -8,106 +8,7 @@
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.2/jquery.min.js"></script>
<script src="../pluginBase.js"></script>
<script src="synonim.js"></script>
<style>
html, body {
display: flex;
flex-flow: column;
justify-content: space-between;
width: 98%;
height: 98%;
};
.noselect {
-khtml-user-select: none;
user-select: none;
-moz-user-select: none;
-webkit-user-select: none;
}
.combo {
background: #fff;
border: 1px solid #cfcfcf;
border-radius: 2px;
color: #444444;
font-size: 11px;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
height: 22px;
cursor: pointer;
margin: 0px 0px 10px 0px;
box-sizing: border-box;
}
div::selection {
background: #a8d1ff;
}
.button {
color: #fff;
background-color: #7d858c;
border: 1px solid #cfcfcf;
border-radius: 2px;
outline: none;
font-size: 11px;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
height: 22px;
cursor: pointer;
flex: 0.2;
}
.input-synonim {
outline-color: #7d858c;
flex: 0.9;
height: 18px;
border: 1px solid #cfcfcf;
}
.input-synonim::selection {
background: #D8DADC; /* WebKit/Blink Browsers */

}
.input-synonim::-moz-selection {
background: #D8DADC; /* Gecko Browsers */
}
.input-field {
display: flex;
justify-content: space-between;
align-content: center;
}
.not-found {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
padding-left: 5px;
}
.div-words {
width: 100%;
display: flex;
flex-wrap: wrap;
}
.label-selected {
background: rgba(200, 200, 200, 0.5);
}
.label-words {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px;
margin-left: 10px;
margin-top: 10px;
cursor: pointer;
}
.global {
height: 100%;
display: flex;
width: 96%;
flex-flow: column;
line-height: 90%;
-moz-user-select: none;
}
.label-syn {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 11px;
}
.content-items {
position: relative;
overflow: hidden;
flex: 1;
user-select: none;
}
div::-moz-selection {
background: #a8d1ff;
}
</style>
<link rel="stylesheet" href="plugin_style.css">
<link rel="stylesheet" href="../plugins.css">
</head>
<body class='body'>
Expand Down
95 changes: 95 additions & 0 deletions synonim/plugin_style.css
@@ -0,0 +1,95 @@
html, body {
width: 98%;
height: 98%;
};
.noselect {
-khtml-user-select: none;
user-select: none;
-moz-user-select: none;
-webkit-user-select: none;
}
.combo {
background: #fff;
border: 1px solid #cfcfcf;
border-radius: 2px;
color: #444444;
font-size: 11px;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
height: 22px;
cursor: pointer;
margin: 0px 0px 10px 0px;
box-sizing: border-box;
}
div::selection {
background: #a8d1ff;
}
.button {
color: #fff;
background-color: #7d858c;
border: 1px solid #cfcfcf;
border-radius: 2px;
outline: none;
font-size: 11px;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
height: 22px;
cursor: pointer;
}
.input-synonim {
outline-color: #7d858c;
flex: 1;
height: 18px;
border: 1px solid #cfcfcf;
}
.input-synonim::selection {
background: #D8DADC; /* WebKit/Blink Browsers */

}
.input-synonim::-moz-selection {
background: #D8DADC; /* Gecko Browsers */
}
.input-field {
display: flex;
align-content: center;
}
.not-found {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
padding-left: 5px;
}
.div-words {
width: 100%;
display: flex;
flex-wrap: wrap;
}
.label-selected {
background: rgba(200, 200, 200, 0.5);
}
.label-words {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px;
margin-left: 10px;
margin-top: 10px;
cursor: pointer;
}
.global {
height: 100%;
display: flex;
width: 96%;
flex-flow: column;
line-height: 90%;
-moz-user-select: none;
}
.label-syn {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 11px;
}
.content-items {
width: 98%;
height: 95%;
position: relative;
overflow: hidden;
flex: 1;
user-select: none;
}
div::-moz-selection {
background: #a8d1ff;
}

0 comments on commit 5700bc0

Please sign in to comment.