Skip to content

Commit

Permalink
Preparing for new update
Browse files Browse the repository at this point in the history
  • Loading branch information
WillemSleegers committed Sep 30, 2020
1 parent bb55bc8 commit e396fbf
Show file tree
Hide file tree
Showing 30 changed files with 638 additions and 942 deletions.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
Binary file added assets/icons/icon-160.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Binary file removed assets/screens/screen_aov.png
Binary file not shown.
Binary file removed assets/screens/screen_aov_x2.png
Binary file not shown.
Binary file removed assets/screens/screen_insert_x2.png
Binary file not shown.
Binary file removed assets/screens/screen_insert_x2_w_help.png
Binary file not shown.
Binary file removed assets/screens/screen_list.png
Binary file not shown.
Binary file removed assets/screens/screen_list_x2.png
Binary file not shown.
Binary file removed assets/screens/screen_lm.png
Binary file not shown.
Binary file removed assets/screens/screen_lm_x2.png
Binary file not shown.
Binary file removed assets/screens/screen_start.png
Binary file not shown.
Binary file removed assets/screens/screen_start_x2.png
Binary file not shown.
Binary file removed assets/screens/screen_t_test.png
Binary file not shown.
Binary file removed assets/screens/screen_t_test_x2.png
Binary file not shown.
Binary file removed assets/screens/screen_t_test_x2_w_help.png
Binary file not shown.
92 changes: 0 additions & 92 deletions manifest.xml

This file was deleted.

118 changes: 83 additions & 35 deletions taskpane.css
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ p {

/* File input section */

#app-input {
display: none;
}

#input-instructions {
margin-top: 10px;
margin-bottom: 10px;
Expand All @@ -93,7 +97,7 @@ p {
padding-right: 10px;
padding-left: 10px;
padding-top: 8px;
padding-bottom: 7px;
padding-bottom: 8px;

min-width: 120px;
line-height: 32px;
Expand Down Expand Up @@ -206,25 +210,13 @@ p {
font-weight: 300;
}

.container {

}

.row {
display: flex;
flex-direction: row;

border-bottom: 1px solid rgb(243, 242, 241);
}

.active {

}

.row:hover {
background-color: rgb(243, 242, 241);
}

.level1 {
display: block;
margin-bottom: 5px;
Expand Down Expand Up @@ -316,7 +308,7 @@ p {

.identifier-label {
padding-top: 8px;
padding-bottom: 9px;
padding-bottom: 8px;
}

.chevron {
Expand Down Expand Up @@ -354,13 +346,24 @@ p {
}

.child-name {
flex: 0 0 82px;
flex: 0 0 90px;

padding-top: 5px;
padding-bottom: 5px;
padding-right: 5px;
font-weight: bold;
}

.statistics:hover {
background-color: rgb(243, 242, 241);
cursor: pointer;
}

.statistic:hover {
background-color: rgb(243, 242, 241);
cursor: pointer;
}

.statistics-name {
flex-grow: 1;

Expand All @@ -375,40 +378,85 @@ p {
padding-right: 5px;
}

/* Insert button */

.insert-button {

.gear-container {
display: none;
}

height: 14px;
width: 14px;
.statistics:hover .gear-container {
display: flex;
}

margin-right: 10px;
.gear {
font-size: 16px;
fill: rgb(200, 200, 200);

border-radius: 50%;
margin-right: 8px;
}

.gear:hover {
fill: rgb(100, 100, 100);
}

.gear-active {
display: flex;
}



/* Statistics checkbox */

.checkbox-container {
width: 30px;
height: 30px;

text-align: center;
line-height: 12px;
display: none;
justify-content: center;
align-items: center;
}

.row:hover .insert-button {
display: block;
.checkbox {
display: flex;
justify-content: center;
align-items: center;

background-color: white;
color: white;
border: 1px solid rgb(96, 94, 92);
width: 16px;
height: 16px;

border-width: 1px;
border-style: solid;
border: 1px solid rgb(50, 49, 48);
border-radius: 2px;

box-sizing: border-box;

transition-property: background, border, border-color;
transition-duration: 200ms;
transition-timing-function: cubic-bezier(0.4, 0, 0.23, 1);

overflow: hidden;

fill: white;
}

.checkbox:hover {
fill: rgb(50, 49, 48);
}

.insert-button:hover {
cursor: pointer !important;
.checkbox-selected {
background-color: rgb(0, 120, 212);
fill: white;
border: none;
}

color: rgb(96, 94, 92) !important;
.checkbox-selected:hover {
background-color: rgb(0, 90, 158);
fill: white;
}

.insert-button:active {
color: rgb(0, 120, 212) !important;
background-color: rgb(0, 120, 212) !important;
border-color: white !important;
.checkmark {
font-size: 12px;
}

/* Actions */
Expand Down
7 changes: 4 additions & 3 deletions taskpane.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ <h2>tidystats failed to load.</h2>
</div>

<div id="app-input">

<p id="input-instructions">Click the button below to upload your statistics created with the <a href="https://tidystats.io">tidystats</a> R package.</p>

<div>
Expand All @@ -48,18 +49,18 @@ <h2>tidystats failed to load.</h2>
<div id="app-main">
<h4>Analyses</h4>

<p>Expand your analyses below to view the statistics. Hover over statistics to reveal the add button to insert them into your document.</p>
<p>Expand your analyses below to view the statistics. Click on a statistic to insert it into your document. For more on how to use tidystats, click here.</p>

<div class="search-container">
<img class="search-icon" src="assets/search.svg" />
<img class="search-icon" src="assets/icons/search.svg" />
<input id="search" class="search-box" type="search" name="search" placeholder="Search...">
</div>

<div id="analyses-container"></div>

<h4>Actions</h4>

<p>Automatically update all statistics after uploading a new statistics file.</p>
<p>Automatically update all statistics in your document after uploading a new statistics file.</p>

<button type="button" class="action-button" id="update-button" title="Update statistics"><span>Update statistics</span></button>

Expand Down
Loading

0 comments on commit e396fbf

Please sign in to comment.